83 Commits
Author SHA1 Message Date
Matt Butcher 62d6e4076b Change default repositories for Helm v2 (#8901)
* switch to new repository URLs

Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>

* added warning each time old repository is noticed

Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
2020-10-19 14:44:16 -06:00
Matt Farina 01dc62ecfd Moving Tiller to new location
The tiller primary location is now GitHub Container Registry.
It is also replicatated to GCR, Docker Hub, and Quay.

Signed-off-by: Matt Farina <matt@mattfarina.com>
2020-10-14 09:35:55 -04:00
Adam Reese 7606f0879c fix(ci): use go 1.14 (#8288)
Signed-off-by: Adam Reese <adam@reese.io>
2020-06-10 13:44:12 -05:00
Matthew Fisher b6771ab6c4 fix(Makefile): disable go modules
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
2020-05-05 10:42:27 -07:00
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>
2020-02-13 15:15:26 -08:00
Jintao Zhang 30bccea707 Upgrade to golang 1.13.3
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
2019-10-18 11:52:41 +08:00
Matthew Fisher caff38ffa1 fix(generator): fixup package comment linting error
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
2019-10-03 14:51:49 -07:00
ialidzhikov e5edbbee2e Upgrade golang to 1.13
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-10-03 14:51:49 -07:00
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>
2019-06-17 17:49:32 -04:00
Matthew Fisher 95775d0c60 feat(ci): push release assets to Azure and GCS
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
2019-06-04 10:41:25 -07:00
Tariq Ibrahim 4bd361746c use the latest patch release version of golang
Signed-off-by: Tariq Ibrahim <tariq181290@gmail.com>
2019-05-08 10:19:50 -07:00
ialidzhikov ae48e53e29 Update golang version
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-04-08 18:34:54 +03:00
ialidzhikov 470203a173 Update golang version
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-03-24 23:17:46 +02:00
Matthew Fisher ef7b54b0ed Merge pull request #5426 from tariq1890/up_docker
update docker version and golang image version in helm
2019-03-12 07:22:12 -07:00
tariqibrahim 528dc95521 update docker version and golang image version in helm
Signed-off-by: tariqibrahim <tariq.ibrahim@microsoft.com>
2019-03-10 03:19:31 -07:00
Matthew Fisher ead111dd4f add make sign and make fetch-dist (#5329)
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
2019-02-20 10:30:31 -08:00
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>
2019-02-15 12:58:23 -05:00
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>
2018-09-12 21:09:32 -07:00
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>
2018-09-10 08:39:55 -07:00
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`.
2018-08-25 22:07:13 -04:00
Matthew Fisher c98f3a1a05 distribute tiller binary with each release 2018-08-07 12:48:54 -07:00
Alice Frosi c19dea18b0 Add s390 architecture in TARGETS
Signed-off-by: Alice Frosi <alice@linux.vnet.ibm.com>
2018-06-07 07:24:45 -05:00
Matthew Fisher 0a3580e8d9 build helm binary in tiller image 2018-04-25 15:59:53 -07:00
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.
2018-04-23 16:12:00 +02:00
Manuel Rüger 87cd8ce79a Remove Mercurial build-time dependency
Since the only dep (bitbucket.org/ww/goautoneg) that required it is gone in
https://github.com/kubernetes/helm/commit/845e99014362983d01179a411ae664b104e6c1f7#diff-f16a80eae23d5b298c2652448ec420cfL4
2018-04-11 18:38:47 +02:00
Matthew Fisher fbe04e73d3 Merge pull request #3413 from oilbeater/master
Reduce binary size
2018-02-27 20:36:24 +00:00
Adam Reese 31e6446b8e ref(glide): remove need for scripts/setup-apimachinery.sh (#3446) 2018-02-02 14:59:59 -08:00
Oilbeater d1b3523b2b Update Makefile
Remove symbol table and debug info from go binary to reduce image size
2018-01-29 16:51:16 +08:00
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
2017-11-21 21:06:55 -07:00
Adam Reese 46598952ea fix(ci): lower number of parallel builds
circleci chokes with too many processes
2017-09-08 13:57:56 -07:00
Sushil Kumar 61c3a44dc3 Fixed issues reported by test-style 2017-05-05 18:44:58 -07:00
Maciej Kwiek d9f72deb0d Add comments to exported Rudder methods
Added make target
Lowered docker image sizes
Updated ruder.pb.go
2017-05-05 14:05:03 +02:00
Maciej Kwiek cce50f8052 Add experimental dockerfiles
Added dockerfiles for rudder service and tiller run with
--experimental-release flag
2017-05-05 13:04:02 +02:00
Reinhard Nägele 8c437e518b Update Makefile to require Mercurial 2017-04-28 13:30:38 +02:00
Adam Reese 986d21b8ac Merge pull request #2245 from cblecker/verify-docs
docs(*): Add ci script to confirm docs are up to date with commits
2017-04-12 12:31:17 -07:00
Christoph Blecker 797800a289 Add docs-verify script 2017-04-12 12:22:17 -07:00
Adam Reese 85c41ef11a ref(*): kubernetes v1.6
Rebase on kubernetes v1.6
2017-04-11 15:42:23 -07:00
Christoph Blecker 7b1a383950 Add script to clean homedir out of docs 2017-03-11 13:09:27 -08:00
Manjunath A Kumatagi f59121f5c7 Add linux/ppc64le to build-cross target 2017-01-26 05:23:37 -08:00
rmehra 0378b4a1af Add linux/arm64 to cross-compile targets. 2017-01-19 12:41:47 -08:00
Adam Reese 385ba906eb fix(Makefile): fix glob overriding packaged tar 2017-01-18 13:05:40 -07:00
Nicolas Lamirault 77b105af91 Add default binary 2016-12-21 09:31:40 +01:00
Nicolas Lamirault b71a93e391 Split packages
Split helm and tiller packages.
2016-12-20 08:45:35 +01:00
Nicolas Lamirault f80f468d9a Update Makefile 2016-12-19 14:46:25 +01:00
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
```
2016-12-19 14:31:03 +01:00
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 2016-12-14 23:35:31 +05:30
Miyurz 2f9c3c2e5d If not mercurial, clone with git. dont exit if no mercurial is there 2016-12-14 20:50:05 +05:30
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
2016-11-29 17:28:59 -07:00
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.
2016-11-29 15:08:24 -07:00
Adam Reese 273e0d3995 fix(*): statically link cross builds
closes: #1362
2016-10-17 12:42:45 -07:00