Skip to content

Commit

Permalink
Update default versions (#55)
Browse files Browse the repository at this point in the history
* update dependencies

* fix: compile error

* package

* update ci.yml

* update default versions

* update ci.yml

* update ci.yml

* update README
  • Loading branch information
kondoumh committed Oct 21, 2023
1 parent 2bc5f13 commit 6bb03db
Show file tree
Hide file tree
Showing 8 changed files with 30,906 additions and 7,497 deletions.
53 changes: 29 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@ jobs:
uses: ./
- name: Test
run: |
ls -l ~/bin
helmfile --version
kubectl version --client
helm version
helm plugin list
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
helm plugin list | grep diff
helm plugin list | grep s3
install_helmfile_with_version:
runs-on: ubuntu-latest
Expand All @@ -27,13 +28,14 @@ jobs:
helmfile-version: "v0.135.0"
- name: Test
run: |
ls -l ~/bin
helmfile --version
kubectl version --client
helm version
helm plugin list
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
helm plugin list | grep diff
helm plugin list | grep s3
install_helm_plugins_without_helm:
install_only_helmfile:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -44,13 +46,13 @@ jobs:
install-helm: no
- name: Test
run: |
ls -l ~/bin
helmfile --version
ls -l ~/bin | wc -l | grep 2
helmfile --version | grep 0.157.0
kubectl version --client
helm version
helm plugin list
helm plugin list | grep diff
helm plugin list | grep s3
install_only_helmfile:
install_only_helmfile_without_plugins:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -62,11 +64,11 @@ jobs:
install-helm-plugins: no
- name: Test
run: |
ls -l ~/bin
helmfile --version
ls -l ~/bin | wc -l | grep 2
helmfile --version | grep 0.157.0
kubectl version --client
helm version
helm plugin list
helm plugin list | wc -l | grep 1
install_addtional_plugins:
runs-on: ubuntu-latest
Expand All @@ -78,8 +80,11 @@ jobs:
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
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
helm plugin list | grep diff
helm plugin list | grep helm-git
helm plugin list | grep s3
helm plugin list | grep secrets
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Setup helmfile
uses: mamezou-tech/setup-helmfile@v1.2.0
uses: mamezou-tech/setup-helmfile@v1.3.0
- name: Test
run: |
helmfile --version
Expand All @@ -29,10 +29,10 @@ jobs:
```
## Optional Inputs
- `helmfile-version` : helmfile version. Default `"v0.148.1"`.
- `helm-version` : Helm version. Default `"v3.10.2"`
- `kubectl-version` : kubectl version. Default `1.24.7`
- `kubectl-release-date` : kubectl release date. Default `2022-11-09`
- `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`
- `install-kubectl` : Install kubectl. Default `yes`
- `install-helm` : Install Helm. Default `yes`
- `install-helm-plugins` : Install Helm plugins. Default `yes`
Expand All @@ -52,7 +52,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup helmfile
uses: mamezou-tech/setup-helmfile@v1.2.0
uses: mamezou-tech/setup-helmfile@v1.3.0
with:
helmfile-version: "v0.135.0"
```
Expand All @@ -67,7 +67,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup helmfile
uses: mamezou-tech/setup-helmfile@v1.2.0
uses: mamezou-tech/setup-helmfile@v1.3.0
with:
install-kubectl: no
install-helm: no
Expand All @@ -81,7 +81,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup helmfile
uses: mamezou-tech/setup-helmfile@v1.2.0
uses: mamezou-tech/setup-helmfile@v1.3.0
with:
additional-helm-plugins: https://github.com/aslafy-z/helm-git --version 0.10.0
```
Expand All @@ -94,14 +94,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup helmfile
uses: mamezou-tech/setup-helmfile@v1.2.0
uses: mamezou-tech/setup-helmfile@v1.3.0
with:
install-helm-plugins: no
```

### Build action (for maintainer)
```
$ npm install
$ npm run package
npm install
npm run package
```
> `dist/index.js` shoud be included in commit.
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.24.7"
default: "1.28.1"
required: false
kubectl-release-date:
description: "kubectl (AWS edition) release date"
default: "2022-10-31"
default: "2023-09-14"
required: false
helm-version:
description: "Helm version"
default: "v3.10.2"
default: "v3.13.1"
required: false
helmfile-version:
description: "helmfile version"
default: "v0.148.1"
default: "v0.157.0"
required: false
install-kubectl:
description: "Install kubectl"
Expand Down
Loading

0 comments on commit 6bb03db

Please sign in to comment.