Skip to content

Commit

Permalink
Migrate to Go modules
Browse files Browse the repository at this point in the history
Signed-off-by: Reinhard Naegele <[email protected]>
  • Loading branch information
unguiculus committed Nov 2, 2019
1 parent a357c22 commit fda737f
Show file tree
Hide file tree
Showing 24 changed files with 143 additions and 364 deletions.
5 changes: 2 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,18 @@ jobs:
- run:
name: Test
command: |
dep ensure -v
./e2e-kind.sh
build:
docker:
- image: golang:1.12.4-alpine3.9
- image: golang:1.13-alpine3.10
working_directory: /go/src/github.com/helm/chart-testing
steps:
- setup_remote_docker
- run:
name: Install tools
command: |
apk add bash build-base ca-certificates curl docker git openssh
curl -SLO https://github.com/goreleaser/goreleaser/releases/download/v0.102.0/goreleaser_Linux_x86_64.tar.gz
curl -SLO https://github.com/goreleaser/goreleaser/releases/download/v0.120.5/goreleaser_Linux_x86_64.tar.gz
mkdir -p /usr/local/goreleaser
tar -xzf goreleaser_Linux_x86_64.tar.gz -C /usr/local/goreleaser
ln -s /usr/local/goreleaser/goreleaser /usr/local/bin/goreleaser
Expand Down
21 changes: 12 additions & 9 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
project_name: chart-testing
before:
hooks:
- go mod tidy
builds:
- main: ct/main.go
binary: ct
Expand All @@ -16,15 +19,15 @@ builds:
-X github.com/helm/chart-testing/ct/cmd.Version={{ .Tag }}
-X github.com/helm/chart-testing/ct/cmd.GitCommit={{ .Commit }}
-X github.com/helm/chart-testing/ct/cmd.BuildDate={{ .Date }}
archive:
format_overrides:
- goos: windows
format: zip
files:
- LICENSE
- README.md
- etc/chart_schema.yaml
- etc/lintconf.yaml
archives:
- format_overrides:
- goos: windows
format: zip
files:
- LICENSE
- README.md
- etc/chart_schema.yaml
- etc/lintconf.yaml
checksum:
name_template: 'checksums.txt'
snapshot:
Expand Down
284 changes: 0 additions & 284 deletions Gopkg.lock

This file was deleted.

36 changes: 0 additions & 36 deletions Gopkg.toml

This file was deleted.

Loading

0 comments on commit fda737f

Please sign in to comment.