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
Matt Butcher
4f09b05613
feat(helm): implement new index format
...
This implements a new index file format for repository indices. It also
implements a new format for requirements.yaml.
Breaking change: This will break all previous versions of Helm, and will
impact helm search, repo, serve, and fetch functions.
Closes #1197
8 years ago
Matt Butcher
e4c217768e
ref(*): update to Kubernetes 1.4
...
This starts with #1211 and does the other updates necessary for
bumping us to Kubernetes 1.4.
8 years ago
Adam Reese
5f1bd67ed0
feat(ci): build canary helm binaries using CI
8 years ago
Adam Reese
147df3b85a
fix(Makefile): cleanup _dist files
8 years ago
Adam Reese
8d44ed0d54
feat(release): remove tiller from cross compile
8 years ago
Adam Reese
868b82c8f7
Merge pull request #1049 from adamreese/feat/dist
...
feat(Makefile): add target for building releases
8 years ago
Naveen Srinivasan
5f015322e2
Fix the clean task when directory not present
...
The Makefile has clean task that was failing when the ./rootfs/tiller
was not present
8 years ago
Adam Reese
dd7cebc39f
feat(Makefile): add target for building releases
...
* Add README and License files to archive
* Compress archives for smaller download size
https://github.com/kubernetes/helm/issues/999
8 years ago
Adam Reese
e7738c5c56
feat(ci): add windows build
8 years ago
Adam Reese
fcaa426491
chore(*): add missing license blocks to source code
8 years ago
Adam Reese
f44f6780fc
feat(ci): validate license block in source files
8 years ago
Adam Reese
8429242084
feat(build): add make target for cross builds
8 years ago
Aaron Crickenberger
e5bc9ef176
Avoid use of -f for docker tag
...
As of docker 1.10, `-f` has been removed as an option for `docker tag`
https://docs.docker.com/engine/deprecated/
9 years ago