Matthew Fisher
725cd915bc
fix(Makefile): disable go modules
...
required on more modern versions of Go where `go mod` is enabled by default.
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Jintao Zhang
30bccea707
Upgrade to golang 1.13.3
...
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
5 years ago
Matthew Fisher
caff38ffa1
fix(generator): fixup package comment linting error
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
ialidzhikov
e5edbbee2e
Upgrade golang to 1.13
...
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
5 years ago
Matt Farina
79235eef11
Add more capabilities to the detault set used by helm template
...
- These are the capabilities as of k8s 1.14
- They are generated because getting them at runtime uses so much
memory it causes CI errors
Signed-off-by: Matt Farina <matt@mattfarina.com>
5 years ago
Matthew Fisher
95775d0c60
feat(ci): push release assets to Azure and GCS
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago
Tariq Ibrahim
4bd361746c
use the latest patch release version of golang
...
Signed-off-by: Tariq Ibrahim <tariq181290@gmail.com>
6 years ago
ialidzhikov
ae48e53e29
Update golang version
...
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
6 years ago
ialidzhikov
470203a173
Update golang version
...
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
6 years ago
Matthew Fisher
ef7b54b0ed
Merge pull request #5426 from tariq1890/up_docker
...
update docker version and golang image version in helm
6 years ago
tariqibrahim
528dc95521
update docker version and golang image version in helm
...
Signed-off-by: tariqibrahim <tariq.ibrahim@microsoft.com>
6 years ago
Matthew Fisher
ead111dd4f
add `make sign` and `make fetch-dist` ( #5329 )
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago
Matt Farina
63d262e5ec
Display the checksums in CI
...
When Helm is packaging up the bundles it generates the checksums
but does not display them. Having them here will aide in the
generation of release notes and provide another source
listing them.
Signed-off-by: Matt Farina <matt@mattfarina.com>
6 years ago
Helgi Þormar Þorbjörnsson
0029708801
test and build with golang 1.11 ( #4637 )
...
linters were failing with: pkg/urlutil/urlutil_test.go:1:⚠️ file is not gofmted with -s (gofmt)
Signed-off-by: Helgi Þorbjörnsson <helgith@gmail.com>
6 years ago
Robert James Hernandez
2b33bf6ba7
Fix for checking helm version slice bounds out of range ( #4609 )
...
* fix(helm): Use env to locate bash
Leverage '/usr/bin/env bash` for find bash instead of hardcoding
'/bin/bash' since some *nix OSes have it installed elsewhere.
Signed-off-by: Robert James Hernandez <rob@sarcasticadmin.com>
* test(helm): Adding case for versions short flag
When git sha is empty if being built from tarball running 'helm version
--short' should just ignore '--short' since sha is empty. Adding test
to ensure this is the case.
Signed-off-by: Robert James Hernandez <rob@sarcasticadmin.com>
* fix(helm): ignore short flag when sha is empty
Signed-off-by: Robert James Hernandez <rob@sarcasticadmin.com>
6 years ago
mattjmcnaughton
17151b99ea
Add containerized options for tests in Makefile
...
Add an option to run the `test-unit`, `test-style`, and `test`
steps from the `Makefile` insides of a docker container. Doing so
isolates this component of helm development from any other aspect of
your global go environment.
These commands all have the name `docker-*`. Long term, there may
be reproducibility benefits to running all of the Make steps in a
container by default, in which case `containerized-test-unit` could
become `test-unit`.
6 years ago
Matthew Fisher
c98f3a1a05
distribute tiller binary with each release
6 years ago
Alice Frosi
c19dea18b0
Add s390 architecture in TARGETS
...
Signed-off-by: Alice Frosi <alice@linux.vnet.ibm.com>
7 years ago
Matthew Fisher
0a3580e8d9
build helm binary in tiller image
7 years ago
Julius Kammerl
6b2384f8b4
Avoid to call 'go' with empty -tags argument
...
go1.10.1 linux/amd64 complains: flag provided but not defined: -tags
when compiling with: "make build-cross dist". This seems to fix it.
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
Miyurz
2f9c3c2e5d
If not mercurial, clone with git. dont exit if no mercurial is there
8 years ago
Matt Butcher
6b25f85dee
fix(Makefile): build windows amd64 binaries
...
This adds back support for Windows now that it has been tested by the
community.
Closes #1596
8 years ago
Matt Butcher
aca9f86df6
feat(helm): add command to generate documentation
...
This adds a hidden 'helm doc' command that generates documentation out
of the Helm help text.
Currently it can create:
- man pages for HELM(1)
- Markdown documentation
- bash autocompletions
Those are the three built-ins for Cobra.
The command is hidden so that it doesn't show up to the regular user,
since this is really a specialized task. It has the advantage of making
it trivially easy to install man pages and bash completion at installation time.
8 years ago
Adam Reese
273e0d3995
fix(*): statically link cross builds
...
closes : #1362
8 years ago
Adam Reese
a0d3e43b53
fix(Makefile): allow overriding the version for canary builds
8 years ago
Adam Reese
9b91996c8a
fix(Makefile): explicitly set bash shell in Makefile
...
fixes #1302
8 years ago
Adam Reese
729f9b816f
chore(ci): limit cross build targets
...
Limit cross builds to linux/amd64 linux/386 darwin/amd64
8 years ago
Adam Reese
eda3910361
feat(ci): upload checksum with binary releases
...
closes #1214
8 years ago