KUOKA Yusuke
1768e5dea7
Add tests for `helmfile test` ( #152 )
...
Follow up for #150
2018-05-22 17:19:10 +09:00
Mike Eves
37f6ae8557
Add helmfile test sub-command ( #150 )
...
**Feature**
An additional sub-command to the helmfile binary; helmfile test
**Why**
Helm provides helm test (https://github.com/kubernetes/helm/blob/master/docs/chart_tests.md ) as a method to run automated tests post chart install to ensure things are working as they should be.
It would be nice to be able to run something like helmfile test against a particular helmfile in order to run helm tests against all charts/releases defined in the file. Either as part of the sync (i.e. helmfile sync --test) to be ran immediately after the corresponding chart is installed, or as a separate command ran after a sync (i.e. helmfile test).
A chart without tests will exit with a 0 status, so it can be safely ran against any charts.
**Notes**
`--cleanup` (bool) & `--timeout` (default: 300) are available as first class arguments. Additional arguments can be passed to the helm binary as with other sub commands using `--args=`
Resolves #144
2018-05-22 17:12:48 +09:00
KUOKA Yusuke
5735efa8c0
Merge pull request #147 from mumoshu/fix-static-linking-for-linux-binary-on-circle
...
Fix static linking for linux binaries built on CircleCI
2018-05-17 16:22:49 +09:00
Yusuke KUOKA
f08b981814
Fix static linking for linux binaries built on CircleCI
...
Fixes #146
2018-05-16 22:46:35 +09:00
KUOKA Yusuke
a7e35b7316
Merge pull request #142 from mumoshu/make-purge-optional
...
Make purge optional when running "helmfile delete"
2018-05-16 08:59:35 +09:00
KUOKA Yusuke
f288032d60
Merge pull request #145 from ConnectedHomes/absolute-value-path
...
Don't prefix base path to absolute path
2018-05-15 22:36:40 +09:00
David Bliss
4fe8d988d5
Don't prefix base path to absolute path
...
If an entry in the `values` section of a helmfile is an absolute
path, then it would be erroneously prefixed with the base path.
This would cause `helmfile sync` to fail because the value.yaml file
would not exist at the incorrectly prefixed path.
2018-05-15 11:22:38 +01:00
KUOKA Yusuke
09f19047bd
Merge pull request #143 from mumoshu/fix-helm-diff-deprecation-warning
...
Fix the helm-diff deprecation warning
2018-05-11 21:56:15 +09:00
Yusuke KUOKA
52507de39b
Mention about the minimum ver. of helm-diff
2018-05-11 21:52:08 +09:00
Yusuke KUOKA
ac70e45bff
Fix the helm-diff deprecation warning
...
Resolves #130
2018-05-11 16:51:44 +09:00
Yusuke KUOKA
3979c18ad3
Make purge optional when running "helmfile delete"
...
`helmfile delete` has been implying `--purge` but it is not the case since this change.
The new behavior is `helmfile delete --purge` to actually purge releases.
Run just `helmfile delete` to delete releases but not purge them.
Resolves #71
2018-05-11 16:41:02 +09:00
KUOKA Yusuke
fb781be560
Merge pull request #139 from int128/inline-values
...
Inline values support
2018-05-11 14:34:25 +09:00
Hidetake Iwata
5db3ba2112
Add inline values support
...
This allows `values` accepts the following types:
- string type for values file path
- map type for inline values
2018-05-11 11:55:01 +09:00
KUOKA Yusuke
568d750f75
Merge pull request #141 from mumoshu/always-reset-values
...
Force `--reset-values` on sync
2018-05-11 03:05:45 +09:00
Yusuke KUOKA
c41dbc4c9f
Force `--reset-values` on sync
...
Resolves #63
2018-05-11 03:04:36 +09:00
KUOKA Yusuke
26ffdc2f24
Merge pull request #136 from AXOOM/feat/arg_escaping
...
Escape names and values before passing to Helm
2018-05-10 09:27:45 +09:00
Bastian Eicher
eea4746ae2
Escape names and values before passing to Helm
...
This is required to handle values with commas and/or curly braces.
2018-05-08 14:43:58 +02:00
KUOKA Yusuke
c5d530632b
Merge pull request #135 from AXOOM/feat/required_envs
...
Introduce template function `required_env`
2018-05-06 19:35:04 +09:00
Andreas Bieber
77204d9a8c
Introduce template function `requiredEnv`
...
The new template function `requiredEnv` ensures that the given env var is set and not empty.
2018-05-05 21:36:59 +02:00
KUOKA Yusuke
67ddd7f1ae
Merge pull request #128 from cmeury/retry-curl
...
retry curl to reduce risk of race condition
2018-05-01 12:08:42 +09:00
Cedric Meury
10255aecc7
retry curl to reduce risk of race condition
2018-04-29 22:13:16 +02:00
KUOKA Yusuke
89ca84fb21
Merge pull request #129 from cmeury/install-ghr
...
install ghr for releasing
2018-04-28 23:33:15 +09:00
KUOKA Yusuke
bdf7209434
Merge pull request #126 from cmeury/chart-missing-error
...
fail fast on syntax error by strictly unmarshalling
2018-04-28 23:31:34 +09:00
Cedric Meury
763c5424b6
install ghr for releasing
2018-04-28 11:40:23 +02:00
Cedric Meury
e4c016142d
add unit tests and upgrade minikube, helm and k8s; set automountServiceAccountToken for 2.9.0 compatibility
2018-04-28 00:19:01 +02:00
Cedric Meury
2a1cdb0253
upgrade gopkg.in/yaml from v1 to v2 to strictly unmarshal
2018-04-28 00:17:56 +02:00
Cedric Meury
8c6137ee62
adding simple unit test for sync releases
2018-04-28 00:17:56 +02:00
KUOKA Yusuke
e4b3ba444c
Merge pull request #125 from cmeury/users
...
add users file to track production use
2018-04-27 22:16:41 +09:00
KUOKA Yusuke
ad34be579d
Merge pull request #124 from cmeury/build-container
...
build consistent statically linked binary for docker image
2018-04-27 22:14:45 +09:00
KUOKA Yusuke
44241f675f
Merge pull request #70 from cmeury/status-command
...
status command retrieves release status
2018-04-27 22:09:12 +09:00
Cedric Meury
10cdae5dab
table format
2018-04-27 13:39:33 +02:00
Cedric Meury
930ea98245
add users file to track production use
2018-04-27 13:38:17 +02:00
Cedric Meury
151fe0716e
keep it simple
2018-04-27 11:21:43 +02:00
Cedric Meury
2af039dcfc
don't use gox for single build
2018-04-27 11:20:18 +02:00
Cedric Meury
5f9d3f818c
build consistent statically linked binary for docker image
...
* use golang 1.10.1 images everywhere
* introduce a `static-linux` target to build a statically linked 64-bit binary only
* use that binary for the official image and the circle build and tests
* use a multi-stage dockerfile for a consistent build environment
2018-04-27 11:11:35 +02:00
Cedric Meury
579fa4c765
status command retrieves release status
2018-04-27 10:31:29 +02:00
KUOKA Yusuke
efe5a2e56b
Merge pull request #121 from roboll/up-to-date-release-note
...
Ensure the release note to be up-to-date
2018-04-26 20:01:10 +09:00
KUOKA Yusuke
b564c4ad4c
Ensure the release note to be up-to-date
2018-04-26 20:00:59 +09:00
KUOKA Yusuke
ae2777f6ad
Merge pull request #120 from roboll/fix-release
...
Fix failing automated release
2018-04-26 19:51:14 +09:00
KUOKA Yusuke
652e001d45
Fix failing automated release
...
Follow up for 71fa693 and #98
2018-04-26 19:51:01 +09:00
KUOKA Yusuke
9b0d0d4cba
Merge pull request #115 from sstarcher/chart_detection
...
support relative path for is local check
2018-04-26 06:13:22 +09:00
KUOKA Yusuke
d8465c4ca5
Merge pull request #116 from AXOOM/master
...
Fix resolving relative paths on windows
2018-04-25 22:31:57 +09:00
Andreas Bieber
46f119b224
Fix resolving relative paths on windows
...
path.Dir() does not support Windows-style directory separators (backslashes). This caused invocations such as "helmfile -f subdir\helmfile.yml" to fail. Fixed by using filepath.Dir() instead.
2018-04-25 14:40:45 +02:00
Shane Starcher
df5d2e01d5
updating tests to use local files
2018-04-24 14:10:46 -04:00
Shane Starcher
cf01221f3a
support relative path for is local check
2018-04-24 09:01:42 -04:00
KUOKA Yusuke
ca26d757f7
Merge pull request #113 from gavvvr/patch-1
...
Add root CAs to docker image
2018-04-23 10:46:14 +09:00
Kirill Gavrilov
a28279233e
Add root CAs to docker image
2018-04-22 01:09:54 +03:00
KUOKA Yusuke
e85b87828a
Merge pull request #110 from sstarcher/empty_filter
...
support selector that is empty
2018-04-18 15:49:25 +09:00
Shane Starcher
789362dfd4
support the same selector repeated
2018-04-17 11:10:46 -04:00
KUOKA Yusuke
79c7d1501a
Merge pull request #106 from roboll/update-readme-for-breaking-change
...
Update README not to confuse new-comers due to breaking change in master
2018-04-12 10:46:03 +09:00