Skip to content

Commit

Permalink
Update CLI versions (#26)
Browse files Browse the repository at this point in the history
* Update README.md

* Update version

* update versions

* package

* Update README.md

* Add test for install additional helm plugin

* update ci.yml
  • Loading branch information
kondoumh committed Mar 25, 2021
1 parent 862ec64 commit f45a593
Show file tree
Hide file tree
Showing 5 changed files with 3,007 additions and 2,977 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,19 @@ jobs:
kubectl version --client
helm version
helm plugin list
install_addtional_plugins:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup helmfile
uses: ./
with:
additional-helm-plugins: https://github.com/aslafy-z/helm-git --version 0.10.0,https://github.com/zendesk/helm-secrets
- name: Test
run: |
ls -l ~/bin
helmfile --version
kubectl version --client
helm version
helm plugin list
30 changes: 22 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Setup helmfile
uses: mamezou-tech/setup-helmfile@v0.7.0
uses: mamezou-tech/setup-helmfile@v0.8.0
- name: Test
run: |
helmfile --version
Expand All @@ -29,13 +29,14 @@ jobs:
```
## Optional Inputs
- `helmfile-version` : helmfile version. Default `"v0.126.2"`.
- `helm-version` : Helm version. Default `"v3.3.1"`
- `kubectl-version` : kubectl version. Default `1.16.13`
- `kubectl-release-date` : kubectl release date. Default `2020-08-04`
- `helmfile-version` : helmfile version. Default `"v0.138.7"`.
- `helm-version` : Helm version. Default `"v3.5.3"`
- `kubectl-version` : kubectl version. Default `1.19.6`
- `kubectl-release-date` : kubectl release date. Default `2021-01-05`
- `install-kubectl` : Install kubectl. Default `yes`
- `install-helm` : Install Helm. Default `yes`
- `install-helm-plugins` : Install Helm plugins. Default `yes`
- `additional-helm-plugins` : A comma separated list of additional helm plugins to install. Should be a valid argument after `helm plugin install`.

> See "[Installing kubectl - Amazon EKS](https://docs.aws.amazon.com/eks/latest/userguide/install-kubectl.html)" for information how to specify the kubectl version.

Expand All @@ -49,7 +50,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup helmfile
uses: mamezou-tech/setup-helmfile@v0.7.0
uses: mamezou-tech/setup-helmfile@v0.8.0
with:
helmfile-version: "v0.135.0"
```
Expand All @@ -64,12 +65,25 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup helmfile
uses: mamezou-tech/setup-helmfile@v0.7.0
uses: mamezou-tech/setup-helmfile@v0.8.0
with:
install-kubectl: no
install-helm: no
```

If you want to install certain plugins other than the default plugins, use `additional-helm-plugins`, which accepts a comma separated list of additional plugins to install, accepting anything that can be passed to `helm plugin install`.

```yaml
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Setup helmfile
uses: mamezou-tech/setup-helmfile@0.8.0
with:
additional-helm-plugins: https://github.com/aslafy-z/helm-git --version 0.10.0
```

If you don't want helm plugins installed, specify `no` for `install-helm-plugins`.

```yaml
Expand All @@ -78,7 +92,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup helmfile
uses: mamezou-tech/setup-helmfile@v0.7.0
uses: mamezou-tech/setup-helmfile@v0.8.0
with:
install-helm-plugins: no
```
Expand Down
8 changes: 4 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ branding:
inputs:
kubectl-version:
description: "kubectl (AWS edition) version"
default: "1.16.13"
default: "1.19.6"
required: false
kubectl-release-date:
description: "kubectl (AWS edition) release date"
default: "2020-08-04"
default: "2021-01-05"
required: false
helm-version:
description: "Helm version"
default: "v3.3.1"
default: "v3.5.3"
required: false
helmfile-version:
description: "helmfile version"
default: "v0.126.2"
default: "v0.138.7"
required: false
install-kubectl:
description: "Install kubectl"
Expand Down
Loading

0 comments on commit f45a593

Please sign in to comment.