Skip to content

Commit

Permalink
Merge branch 'master' into issue/2
Browse files Browse the repository at this point in the history
  • Loading branch information
cuisongliu authored Dec 3, 2020
2 parents b6584db + 63a42a2 commit 3d76fd6
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 20 deletions.
3 changes: 3 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ steps:
image: golang:1.12
commands:
- make generator-docker
- make generator-containerd
- make
- ./container-install print -d
- ./container-install print

- name: publish
image: plugins/github-release
Expand Down
11 changes: 4 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
all: generator build test-docker test-containerd
all: generator build
generator-docker:
export GO111MODULE="on" && go get && go test -v -run TestDocker_fetch github.com/cuisongliu/container-install
generator-containerd:
export GO111MODULE="on" && go get && go test -v -run TestContainerd_fetch github.com/cuisongliu/container-install
generator:
go get -u github.com/a-urth/go-bindata/...
go-bindata -pkg command -o install/command/assert.go install/command/
export GO111MODULE="on" && go get && go run main.go print
build:
export GO111MODULE="on" && go get && go build -o container-install

test-docker:
./container-install print -d

test-containerd:
./container-install print
Loading

0 comments on commit 3d76fd6

Please sign in to comment.