Skip to content

Commit

Permalink
Update tooling
Browse files Browse the repository at this point in the history
- kubectl v1.24.6
- helm v3.10.1
- terraform v1.3.2
  • Loading branch information
bcessa committed Oct 14, 2022
1 parent 3c2bc03 commit eef10f1
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/maintenance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
name: "close stale issues and pull requests"
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v5
- uses: actions/stale@v6
with:
# On the 'debug' mode the action will not perform any operation.
# Add the secret ACTIONS_STEP_DEBUG with a value of 'true' in the repository.
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ changelog:
dockers:
-
dockerfile: Dockerfile
skip_push: false
skip_push: "false"
extra_files:
- chart-deploy.sh
image_templates:
Expand Down
14 changes: 7 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@ FROM alpine:latest

RUN \
# kubectl
wget https://dl.k8s.io/release/v1.21.1/bin/linux/amd64/kubectl -O /usr/bin/kubectl && \
wget https://dl.k8s.io/release/v1.24.6/bin/linux/amd64/kubectl -O /usr/bin/kubectl && \
chmod 755 /usr/bin/kubectl && \
# helm
wget https://get.helm.sh/helm-v3.6.0-linux-amd64.tar.gz && \
tar -xvzf helm-v3.6.0-linux-amd64.tar.gz && \
wget https://get.helm.sh/helm-v3.10.1-linux-amd64.tar.gz && \
tar -xvzf helm-v3.10.1-linux-amd64.tar.gz && \
mv linux-amd64/helm /usr/bin/. && \
chmod 755 /usr/bin/helm && \
rm -rf linux-amd64/ helm-v3.6.0-linux-amd64.tar.gz && \
rm -rf linux-amd64/ helm-v3.10.1-linux-amd64.tar.gz && \
# terraform
wget https://releases.hashicorp.com/terraform/1.0.0/terraform_1.0.0_linux_amd64.zip && \
unzip terraform_1.0.0_linux_amd64.zip && \
wget https://releases.hashicorp.com/terraform/1.3.2/terraform_1.3.2_linux_amd64.zip && \
unzip terraform_1.3.2_linux_amd64.zip && \
mv terraform /usr/bin/. && \
rm terraform_1.0.0_linux_amd64.zip
rm terraform_1.3.2_linux_amd64.zip

COPY chart-deploy.sh /bin/chart-deploy
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Sample step configuration.
```yaml
steps:
- name: Helm chart deployment
uses: bryk-io/chart-deploy-action@v1.0.0
uses: bryk-io/chart-deploy-action@v1.1.0
# example with all parameters
with:
name: my-deployment # required
Expand Down Expand Up @@ -89,11 +89,11 @@ jobs:
steps:
# Checkout code
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
# Deploy chart
- name: Helm chart deployment
uses: bryk-io/chart-deploy-action@v1.0.0
uses: bryk-io/chart-deploy-action@v1.1.0
with:
name: my-deployment
namespace: dev
Expand Down Expand Up @@ -161,11 +161,11 @@ jobs:
steps:
# Checkout code
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
# Deploy chart
- name: Helm chart deployment
uses: bryk-io/chart-deploy-action@master
uses: bryk-io/chart-deploy-action@v1.1.0
with:
name: ${{ github.event.inputs.deployment }}
namespace: ${{ github.event.inputs.namespace }}
Expand Down
4 changes: 2 additions & 2 deletions sample-deploy-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ jobs:
steps:
# Checkout code
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

# Deploy chart
- name: Helm chart deployment
uses: bryk-io/chart-deploy-action@master
uses: bryk-io/chart-deploy-action@v1.1.0
with:
name: ${{ github.event.inputs.deployment }}
namespace: ${{ github.event.inputs.namespace }}
Expand Down
4 changes: 2 additions & 2 deletions sample-deploy-with-env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:
steps:
# Checkout code
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

# Deploy chart
- name: Helm chart deployment
uses: bryk-io/chart-deploy-action@master
uses: bryk-io/chart-deploy-action@v1.1.0
with:
name: ${{ github.event.inputs.deployment }}
namespace: dev
Expand Down

0 comments on commit eef10f1

Please sign in to comment.