Skip to content

Commit 9b313e6

Browse files
committed
chore(ci): use tfvargen image directly from docker hub
1 parent e04c044 commit 9b313e6

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,5 @@ services:
33
- docker
44
notifications:
55
email: false
6-
before_install:
7-
- make dev
86
script:
97
- make test

Makefile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,13 @@ WORKSPACE = /go/src/github.com/hanks/terraform-variables-generator
44
DEV_IMAGE = hanks/tfvargen-dev:1.0.0
55
OS = $(shell uname -s | tr '[:upper:]' '[:lower:]')
66

7-
.PHONY: dev pull push build test debug install uninstall clean
7+
.PHONY: dev push build test debug install uninstall clean
88

9-
default: pull
9+
default: test
1010

1111
dev:
1212
docker build -t $(DEV_IMAGE) .
1313

14-
pull:
15-
docker pull $(DEV_IMAGE)
16-
1714
push:
1815
docker push $(DEV_IMAGE)
1916

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,7 @@ variable "tags" {
180180

181181
## Development
182182

183-
* `make pull`, pull `tfvargen-dev` docker image for development, should be run before other commands
184-
* `make dev`, build docker image used in dev
185183
* `make test`, run unit test, coverage test, static analytics
186184
* `make build`, cross compile binaries, and put into `dist/bin` directory
187185
* `make debug`, use `dlv` to do the `gdb-style` debug
186+
* `make dev`, build docker image used in dev

0 commit comments

Comments
 (0)