Matthew Fisher
4d1c11f05b
fix(ci): pin golangci-lint to v1.21.0
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Taylor Thomas
9ecbc4d001
Revert "[Makefile] Support reproducible builds"
...
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
5 years ago
Morten Linderud
065dfb0e5b
[Makefile] Support reproducible builds
...
Circleci is used to build the release artifacts and embeds build paths
into the binary release. To reproduce the release binaries we then need
to also build in the same path as a result.
$ strings linux-amd64/helm | grep "home/circleci" | wc -l
174
Go 1.13 introduces `-trimpath` which strips the build path from all
compiled binaries. This should enable people to reproduce the
distributed helm binaries.
https://reproducible-builds.org/docs/source-date-epoch/
https://golang.org/doc/go1.13#go-command
Signed-off-by: Morten Linderud <morten@linderud.pw>
5 years ago
Mateusz Szostok
e14db65ad2
fix(Makefile): remove orphaned targets for documentation
...
Signed-off-by: Mateusz Szostok <szostok.mateusz@gmail.com>
5 years ago
Cagatay Gurturk
5fa57aa905
Add v3 to missing line
...
Signed-off-by: Cagatay Gurturk <info@cagataygurturk.com>
5 years ago
Cagatay Gurturk
7066ac2f58
Fixed Makefile with the new package name
...
Signed-off-by: Cagatay Gurturk <info@cagataygurturk.com>
5 years ago
Matt Farina
ea0f59d69f
Merge pull request #6576 from mattfarina/fix-go-modules
...
Fixing the ability to build v3
5 years ago
Matt Farina
cc51efda47
Fixing the ability to build v3
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
5 years ago
Matt Farina
a1a8825cdc
Removing some duplicate go module stuff not needed
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
5 years ago
Matt Farina
e3137d106a
Migrating dependency management to go modules
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
5 years ago
Marc Khouzam
6cc1bd2ef4
Poposal: Hook to run acceptance tests ( #6256 )
...
* Allow to run acceptance tests from main Helm repo
To run the acceptance tests, one can now do:
make test-acceptance
Signed-off-by: Marc Khouzam <marc.khouzam@ville.montreal.qc.ca>
* Allow to run completion tests from main Helm repo
To run the completion tests, one can now do:
make test-completion
Signed-off-by: Marc Khouzam <marc.khouzam@ville.montreal.qc.ca>
* Use the word 'clone' instead
Signed-off-by: Marc Khouzam <marc.khouzam@ville.montreal.qc.ca>
* Use test-acceptance-completion naming
Signed-off-by: Marc Khouzam <marc.khouzam@ville.montreal.qc.ca>
5 years ago
Matthew Fisher
c728611e5a
feat(cli): support XDG base directory specification
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Taylor Thomas
29c343278e
feat(action): Refactors unit tests with better fakes
...
This also adds unit tests for the Atomic and Wait functionality
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
6 years ago
Adam Reese
e061bc1855
ref(circleci): refactor ci setup
...
* fix go dep cache
* zip binary comes bundled already with image
* remove branch name from cache key
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Adam Reese
895e9192d4
feat(*): use vanity import helm.sh/helm
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Adam Reese
21d3a40f3b
feat(tests): replace gometalinter with golangci-lint
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Adam Reese
f791421fab
feat(Makefile): add formatting target
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Adam Reese
d94707db86
ref(*): remove helmVersion chart constraint
...
* Remove helmVersion constraint from charts
* Guard compile time set variables behind `internal/`
* Allow configuration of UserAgent for HTTPGetter
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Adam Reese
f79521be7d
feat(Makefile): automate go vendoring and building
...
The `build` target will compile helm only when source code is modified
and run `dep ensure` if needed.
Only ensure golang tools are installed when needed for a specific target.
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Matt Butcher
7061716406
ref: require name by default on 'helm install' ( #4858 )
...
This is described in the official Helm 3 proposal: https://github.com/helm/community/blob/master/helm-v3/000-helm-v3.md
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
6 years ago
Adam Reese
a02a598c33
ref(tests): simplify cmd test setup/teardown
...
Ensure proper cleanup of `HELM_HOME` and `HELM_DEBUG`
7 years ago
Adam Reese
36e034551f
ref(*): rebuild build version object
7 years ago
Adam Reese
840c489c6b
feat(dep): replace glide with dep
7 years ago
Adam Reese
68c0b6a24a
ref(proto): remove unused protobufs
7 years ago
Adam Reese
12a8baef64
ref(Makefile): cleanup and consolidate
7 years ago
Adam Reese
082a7bbb05
remove proto make targets
7 years ago
Adam Reese
b62dfb9898
remove tiller build infra
7 years ago
Adam Reese
e909258fe8
remove rudder build infra
7 years ago
Manuel Rüger
87cd8ce79a
Remove Mercurial build-time dependency
...
Since the only dep (bitbucket.org/ww/goautoneg) that required it is gone in
845e990143 (diff-f16a80eae23d5b298c2652448ec420cfL4)
7 years ago
Matthew Fisher
fbe04e73d3
Merge pull request #3413 from oilbeater/master
...
Reduce binary size
7 years ago
Adam Reese
31e6446b8e
ref(glide): remove need for scripts/setup-apimachinery.sh ( #3446 )
7 years ago
Oilbeater
d1b3523b2b
Update Makefile
...
Remove symbol table and debug info from go binary to reduce image size
7 years ago
Helgi Þormar Þorbjörnsson
06cc1ea389
Make build-cross TARGETS configurable ( #3185 )
...
Lets us build a subset of the targets while still using build-cross
To build for multiple linux archs:
TARGETS="linux/amd64 linux/386" make clean build-cross dist APP=helm VERSION=v25.12.2
7 years ago
Adam Reese
46598952ea
fix(ci): lower number of parallel builds
...
circleci chokes with too many processes
7 years ago
Sushil Kumar
61c3a44dc3
Fixed issues reported by test-style
8 years ago
Maciej Kwiek
d9f72deb0d
Add comments to exported Rudder methods
...
Added make target
Lowered docker image sizes
Updated ruder.pb.go
8 years ago
Maciej Kwiek
cce50f8052
Add experimental dockerfiles
...
Added dockerfiles for rudder service and tiller run with
--experimental-release flag
8 years ago
Reinhard Nägele
8c437e518b
Update Makefile to require Mercurial
8 years ago
Adam Reese
986d21b8ac
Merge pull request #2245 from cblecker/verify-docs
...
docs(*): Add ci script to confirm docs are up to date with commits
8 years ago
Christoph Blecker
797800a289
Add docs-verify script
8 years ago
Adam Reese
85c41ef11a
ref(*): kubernetes v1.6
...
Rebase on kubernetes v1.6
8 years ago
Christoph Blecker
7b1a383950
Add script to clean homedir out of docs
8 years ago
Manjunath A Kumatagi
f59121f5c7
Add linux/ppc64le to build-cross target
8 years ago
rmehra
0378b4a1af
Add linux/arm64 to cross-compile targets.
8 years ago
Adam Reese
385ba906eb
fix(Makefile): fix glob overriding packaged tar
8 years ago
Nicolas Lamirault
77b105af91
Add default binary
8 years ago
Nicolas Lamirault
b71a93e391
Split packages
...
Split helm and tiller packages.
8 years ago
Nicolas Lamirault
f80f468d9a
Update Makefile
8 years ago
Nicolas Lamirault
a6f82d884c
Add ARM target for binaries
...
```
$ make build-cross dist VERSION=v2.2.0
CGO_ENABLED=0 gox -output="_dist/{{.OS}}-{{.Arch}}/{{.Dir}}" -osarch='darwin/amd64 linux/amd64 linux/386 windows/amd64 linux/arm' -tags '' -ldflags ' -X k8s.io/helm/pkg/version
.Version=v2.1.0 -X k8s.io/helm/pkg/version.GitCommit=b3d812b3462e5ac8192f656c7098b1b54f29ffa3 -X k8s.io/helm/pkg/version.GitTreeState=dirty -extldflags "-static"' k8s.io/helm/cm
d/helm
Number of parallel builds: 3
--> darwin/amd64: k8s.io/helm/cmd/helm
--> linux/amd64: k8s.io/helm/cmd/helm
--> windows/amd64: k8s.io/helm/cmd/helm
--> linux/386: k8s.io/helm/cmd/helm
--> linux/arm: k8s.io/helm/cmd/helm
```
```
$ ls -a _dist/
. darwin-amd64 helm-v2.2.0-linux-386.tar.gz helm-v2.2.0-linux-arm.tar.gz linux-386 linux-arm
.. helm-v2.2.0-darwin-amd64.tar.gz helm-v2.2.0-linux-amd64.tar.gz helm-v2.2.0-windows-amd64.tar.gz linux-amd64 windows-amd64
```
8 years ago
Miyurz
f630d0e954
Had a word with @technosophos and it seems we no longer need hg check as all other repos can be cloned via git
8 years ago