Skip to content

Commit

Permalink
Patch the master CI build (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevdowney authored Apr 1, 2020
1 parent 01f42fc commit 2913e51
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
26 changes: 13 additions & 13 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
builds:
-
-
id: 'manager'
main: ./cmd/manager/main.go
main: ./main.go
binary: manager

ldflags:
- -X github.com/keikoproj/addon-manager/pkg/version.BuildDate={{.Timestamp}}
- -X github.com/keikoproj/addon-manager/pkg/version.GitCommit={{.ShortCommit}}
Expand All @@ -12,33 +12,33 @@ builds:
env:
- CGO_ENABLED=0
- GO111MODULE=on

goos:
- linux
- linux

goarch:
- amd64

-
-
id: 'addonctl'
binary: addonctl
main: ./cmd/addonctl/main.go

ldflags:
- -X github.com/keikoproj/addon-manager/pkg/version.BuildDate={{.Timestamp}}
- -X github.com/keikoproj/addon-manager/pkg/version.GitCommit={{.ShortCommit}}
- -X github.com/keikoproj/addon-manager/pkg/version.BuildDate={{.Timestamp}}
- -X github.com/keikoproj/addon-manager/pkg/version.GitCommit={{.ShortCommit}}
- -X github.com/keikoproj/addon-manager/pkg/version.Version={{.Tag}}

env:
- CGO_ENABLED=0
- GO111MODULE=on

goos:
- linux
- linux

goarch:
- amd64

changelog:
sort: asc
filters:
Expand All @@ -48,4 +48,4 @@ changelog:
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
name_template: "{{ .Tag }}-next"
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: go

go:
- 1.13.x
- 1.14.x

git:
depth: 1
Expand All @@ -19,9 +19,9 @@ cache:

install:
# install dependencies needed by jobs
- wget https://github.com/kubernetes-sigs/kubebuilder/releases/download/v2.2.0/kubebuilder_2.2.0_linux_amd64.tar.gz
- tar -zxvf kubebuilder_2.2.0_linux_amd64.tar.gz
- sudo mv kubebuilder_2.2.0_linux_amd64 /usr/local/kubebuilder
- wget https://github.com/kubernetes-sigs/kubebuilder/releases/download/v2.3.0/kubebuilder_2.3.0_linux_amd64.tar.gz
- tar -zxvf kubebuilder_2.3.0_linux_amd64.tar.gz
- sudo mv kubebuilder_2.3.0_linux_amd64 /usr/local/kubebuilder

stages:
- unit-test
Expand Down

0 comments on commit 2913e51

Please sign in to comment.