Commit graph

83 commits

Author SHA1 Message Date
Cagatay Gurturk
5fa57aa905 Add v3 to missing line
Signed-off-by: Cagatay Gurturk <info@cagataygurturk.com>
2019-10-04 00:28:24 +02:00
Cagatay Gurturk
7066ac2f58 Fixed Makefile with the new package name
Signed-off-by: Cagatay Gurturk <info@cagataygurturk.com>
2019-10-04 00:25:04 +02:00
Matt Farina
ea0f59d69f
Merge pull request #6576 from mattfarina/fix-go-modules
Fixing the ability to build v3
2019-10-03 15:25:50 -04:00
Matt Farina
cc51efda47
Fixing the ability to build v3
Signed-off-by: Matt Farina <matt@mattfarina.com>
2019-10-03 15:00:42 -04:00
Matt Farina
a1a8825cdc
Removing some duplicate go module stuff not needed
Signed-off-by: Matt Farina <matt@mattfarina.com>
2019-10-03 14:51:37 -04:00
Matt Farina
e3137d106a
Migrating dependency management to go modules
Signed-off-by: Matt Farina <matt@mattfarina.com>
2019-10-03 12:04:14 -04:00
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>
2019-09-03 10:34:55 +01:00
Matthew Fisher
c728611e5a
feat(cli): support XDG base directory specification
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
2019-08-02 13:15:03 -07:00
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>
2019-07-11 14:45:05 -06:00
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>
2019-03-18 13:27:08 -07:00
Adam Reese
895e9192d4
feat(*): use vanity import helm.sh/helm
Signed-off-by: Adam Reese <adam@reese.io>
2019-03-13 13:43:47 -07:00
Adam Reese
21d3a40f3b
feat(tests): replace gometalinter with golangci-lint
Signed-off-by: Adam Reese <adam@reese.io>
2019-03-08 11:45:42 -08:00
Adam Reese
f791421fab
feat(Makefile): add formatting target
Signed-off-by: Adam Reese <adam@reese.io>
2019-02-08 12:24:47 -08:00
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>
2019-01-08 13:37:55 -08:00
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>
2019-01-07 12:13:06 -08:00
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>
2018-10-31 16:15:08 -06:00
Adam Reese
a02a598c33
ref(tests): simplify cmd test setup/teardown
Ensure proper cleanup of `HELM_HOME` and `HELM_DEBUG`
2018-05-14 09:23:21 -07:00
Adam Reese
36e034551f
ref(*): rebuild build version object 2018-05-02 15:26:26 -07:00
Adam Reese
840c489c6b
feat(dep): replace glide with dep 2018-04-23 12:47:02 -07:00
Adam Reese
68c0b6a24a
ref(proto): remove unused protobufs 2018-04-17 10:17:42 -07:00
Adam Reese
12a8baef64
ref(Makefile): cleanup and consolidate 2018-04-13 08:26:54 -07:00
Adam Reese
082a7bbb05
remove proto make targets 2018-04-12 15:44:26 -07:00
Adam Reese
b62dfb9898
remove tiller build infra 2018-04-12 15:44:26 -07:00
Adam Reese
e909258fe8
remove rudder build infra 2018-04-12 15:44:26 -07:00
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)
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