Skip to content

Commit

Permalink
Merge pull request #58 from mamezou-tech/prepare-release-v2
Browse files Browse the repository at this point in the history
Update versions
  • Loading branch information
kondoumh authored Jan 28, 2024
2 parents f128426 + cbb3d10 commit 6d8275c
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 27 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
- name: Test
run: |
ls -l ~/bin | wc -l | grep 4
helmfile --version | grep 0.157.0
kubectl version --client | grep 1.28.1
helm version | grep v3.13.1
helmfile --version | grep 0.161.0
kubectl version --client | grep 1.29.0
helm version | grep v3.14.0
helm plugin list | grep diff
helm plugin list | grep s3
Expand All @@ -30,8 +30,8 @@ jobs:
run: |
ls -l ~/bin | wc -l | grep 4
helmfile --version | grep 0.135.0
kubectl version --client | grep 1.28.1
helm version | grep v3.13.1
kubectl version --client | grep 1.29.0
helm version | grep v3.14.0
helm plugin list | grep diff
helm plugin list | grep s3
Expand All @@ -47,7 +47,7 @@ jobs:
- name: Test
run: |
ls -l ~/bin | wc -l | grep 2
helmfile --version | grep 0.157.0
helmfile --version | grep 0.161.0
kubectl version --client
helm plugin list | grep diff
helm plugin list | grep s3
Expand All @@ -65,7 +65,7 @@ jobs:
- name: Test
run: |
ls -l ~/bin | wc -l | grep 2
helmfile --version | grep 0.157.0
helmfile --version | grep 0.161.0
kubectl version --client
helm version
helm plugin list | wc -l | grep 1
Expand All @@ -81,9 +81,9 @@ jobs:
- name: Test
run: |
ls -l ~/bin | wc -l | grep 4
helmfile --version | grep 0.157.0
kubectl version --client | grep 1.28.1
helm version | grep v3.13.1
helmfile --version | grep 0.161.0
kubectl version --client | grep 1.29.0
helm version | grep v3.14.0
helm plugin list | grep diff
helm plugin list | grep helm-git
helm plugin list | grep s3
Expand Down
29 changes: 16 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@

Setup [helmfile](https://github.com/helmfile/helmfile) with Helm and kubectl in GitHub Actions workflow.

> - This action works on Linux.
> - The AWS version of kubectl will be installed.
> - Following Helm plugins will be installed
> - helm-diff
> - helm-s3
- This action works on Linux runner.
- The AWS version of kubectl will be installed.
- Following Helm plugins will be installed
- helm-diff
- helm-s3

```yaml
name: CI
Expand All @@ -28,11 +28,14 @@ jobs:
kubectl version --client
```
> [!Important]
> This action requires Node 20 or later on the runner. If you are using GitHub-managed runners, no action is needed. If you are using self-hosted runners, make sure the system version of Node is version 20 or higher.
## Optional Inputs
- `helmfile-version` : helmfile version. Default `"v0.157.0"`.
- `helm-version` : Helm version. Default `"v3.13.1"`
- `kubectl-version` : kubectl version. Default `1.28.1`
- `kubectl-release-date` : kubectl release date. Default `2023-09-14`
- `helmfile-version` : helmfile version. Default `"v0.161.0"`.
- `helm-version` : Helm version. Default `"v3.14.0"`
- `kubectl-version` : kubectl version. Default `1.29.0`
- `kubectl-release-date` : kubectl release date. Default `2024-01-04`
- `install-kubectl` : Install kubectl. Default `yes`
- `install-helm` : Install Helm. Default `yes`
- `install-helm-plugins` : Install Helm plugins. Default `yes`
Expand All @@ -52,7 +55,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup helmfile
uses: mamezou-tech/setup-helmfile@v1.3.0
uses: mamezou-tech/setup-helmfile@v2.0.0
with:
helmfile-version: "v0.135.0"
```
Expand All @@ -67,7 +70,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup helmfile
uses: mamezou-tech/setup-helmfile@v1.3.0
uses: mamezou-tech/setup-helmfile@v2.0.0
with:
install-kubectl: no
install-helm: no
Expand All @@ -81,7 +84,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup helmfile
uses: mamezou-tech/setup-helmfile@v1.3.0
uses: mamezou-tech/setup-helmfile@v2.0.0
with:
additional-helm-plugins: https://github.com/aslafy-z/helm-git --version 0.10.0
```
Expand All @@ -94,7 +97,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup helmfile
uses: mamezou-tech/setup-helmfile@v1.3.0
uses: mamezou-tech/setup-helmfile@v2.0.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.28.1"
default: "1.29.0"
required: false
kubectl-release-date:
description: "kubectl (AWS edition) release date"
default: "2023-09-14"
default: "2024-01-04"
required: false
helm-version:
description: "Helm version"
default: "v3.13.1"
default: "v3.14.0"
required: false
helmfile-version:
description: "helmfile version"
default: "v0.157.0"
default: "v0.161.0"
required: false
install-kubectl:
description: "Install kubectl"
Expand Down

0 comments on commit 6d8275c

Please sign in to comment.