Skip to content

Commit

Permalink
update used GitHub actions versions; k8s version matrix for Helm
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Jäckle <thomas.jaeckle@beyonnex.io>
  • Loading branch information
thjaeckle committed Sep 11, 2023
1 parent b7315c6 commit d0205f7
Show file tree
Hide file tree
Showing 9 changed files with 54 additions and 54 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/docker-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
echo $IMAGE_TAG
-
name: Build and push ditto-policies
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
context: .
file: dockerfile-release
Expand All @@ -70,7 +70,7 @@ jobs:
eclipse/ditto-policies:${{ env.IMAGE_TAG }}
-
name: Build and push ditto-things
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
context: .
file: dockerfile-release
Expand All @@ -85,7 +85,7 @@ jobs:
eclipse/ditto-things:${{ env.IMAGE_TAG }}
-
name: Build and push ditto-gateway
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
context: .
file: dockerfile-release
Expand All @@ -100,7 +100,7 @@ jobs:
eclipse/ditto-gateway:${{ env.IMAGE_TAG }}
-
name: Build and push ditto-thingsearch
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
context: .
file: dockerfile-release
Expand All @@ -115,7 +115,7 @@ jobs:
eclipse/ditto-things-search:${{ env.IMAGE_TAG }}
-
name: Build and push ditto-connectivity
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
context: .
file: dockerfile-release
Expand Down Expand Up @@ -144,7 +144,7 @@ jobs:
working-directory: ./ui
-
name: Build and push ditto-ui image
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
context: ./ui
file: ui/Dockerfile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/helm-chart-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
name: Release and publish Helm chart

env:
VERSION_HELM: "v3.11.2"
VERSION_HELM: "v3.12.1"
on:
workflow_dispatch:
inputs:
Expand All @@ -25,12 +25,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Helm
uses: azure/setup-helm@v3
uses: azure/setup-helm@v3.5
with:
version: ${{ env.VERSION_HELM }}

Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/helm-chart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ name: Lint and test Helm chart

env:
CONFIG_OPTION_CHART_TESTING: "--config .github/ct.yml"
VERSION_CHART_TESTING: "v3.8.0"
VERSION_HELM: "v3.11.2"
VERSION_CHART_TESTING: "v3.8.0" # 3.9.0 has an issue with comparing against "master" branch
VERSION_HELM: "v3.12.1"
VERSION_PYTHON: "3.9"
on:
pull_request:
Expand All @@ -28,11 +28,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Helm
uses: azure/setup-helm@v3
uses: azure/setup-helm@v3.5
with:
version: ${{ env.VERSION_HELM }}
- uses: actions/setup-python@v4
Expand Down Expand Up @@ -63,16 +63,16 @@ jobs:
# which a folder exists at
# https://github.com/yannh/kubernetes-json-schema/
k8s:
- v1.25.2
- v1.26.4
- v1.27.1
- v1.26.6
- v1.27.3
- v1.28.0
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Fetch history for chart testing
run: git fetch --prune --unshallow
- name: Set up Helm
uses: azure/setup-helm@v3
uses: azure/setup-helm@v3.5
with:
version: ${{ env.VERSION_HELM }}
- name: Run kubeval
Expand All @@ -92,16 +92,16 @@ jobs:
# available for the docker.io/kindest/node image
# https://hub.docker.com/r/kindest/node/tags
k8s:
- v1.25.2
- v1.26.4
- v1.27.1
- v1.26.6
- v1.27.3
- v1.28.0
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Fetch history for chart testing
run: git fetch --prune --unshallow
- name: Set up Helm
uses: azure/setup-helm@v3
uses: azure/setup-helm@v3.5
with:
version: ${{ env.VERSION_HELM }}
- uses: actions/setup-python@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/license-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
check-license-header-year:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: jitterbit/get-changed-files@v1
id: the-files
continue-on-error: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v3
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/push-dockerhub-on-demand.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
-
name: Build and push ditto-policies
if: env.MILESTONE_OR_RC_SUFFIX == env.IMAGE_TAG && inputs.dittoImage == 'ditto-policies'
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
context: .
file: dockerfile-release
Expand All @@ -96,7 +96,7 @@ jobs:
-
name: Build and push ditto-things
if: env.MILESTONE_OR_RC_SUFFIX == env.IMAGE_TAG && inputs.dittoImage == 'ditto-things'
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
context: .
file: dockerfile-release
Expand All @@ -115,7 +115,7 @@ jobs:
-
name: Build and push ditto-gateway
if: env.MILESTONE_OR_RC_SUFFIX == env.IMAGE_TAG && inputs.dittoImage == 'ditto-gateway'
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
context: .
file: dockerfile-release
Expand All @@ -134,7 +134,7 @@ jobs:
-
name: Build and push ditto-thingsearch
if: env.MILESTONE_OR_RC_SUFFIX == env.IMAGE_TAG && inputs.dittoImage == 'ditto-things-search'
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
context: .
file: dockerfile-release
Expand All @@ -153,7 +153,7 @@ jobs:
-
name: Build and push ditto-connectivity
if: env.MILESTONE_OR_RC_SUFFIX == env.IMAGE_TAG && inputs.dittoImage == 'ditto-connectivity'
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
context: .
file: dockerfile-release
Expand Down Expand Up @@ -186,7 +186,7 @@ jobs:
-
name: Build and push ditto-ui
if: env.MILESTONE_OR_RC_SUFFIX == env.IMAGE_TAG && inputs.dittoImage == 'ditto-ui'
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
context: ./ui
file: ui/Dockerfile
Expand All @@ -201,7 +201,7 @@ jobs:
-
name: Build and push ditto-policies milestone/RC
if: env.MILESTONE_OR_RC_SUFFIX != env.IMAGE_TAG && inputs.dittoImage == 'ditto-policies'
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
context: .
file: dockerfile-release
Expand All @@ -217,7 +217,7 @@ jobs:
-
name: Build and push ditto-things milestone/RC
if: env.MILESTONE_OR_RC_SUFFIX != env.IMAGE_TAG && inputs.dittoImage == 'ditto-things'
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
context: .
file: dockerfile-release
Expand All @@ -233,7 +233,7 @@ jobs:
-
name: Build and push ditto-gateway milestone/RC
if: env.MILESTONE_OR_RC_SUFFIX != env.IMAGE_TAG && inputs.dittoImage == 'ditto-gateway'
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
context: .
file: dockerfile-release
Expand All @@ -249,7 +249,7 @@ jobs:
-
name: Build and push ditto-thingsearch milestone/RC
if: env.MILESTONE_OR_RC_SUFFIX != env.IMAGE_TAG && inputs.dittoImage == 'ditto-things-search'
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
context: .
file: dockerfile-release
Expand All @@ -265,7 +265,7 @@ jobs:
-
name: Build and push ditto-connectivity milestone/RC
if: env.MILESTONE_OR_RC_SUFFIX != env.IMAGE_TAG && inputs.dittoImage == 'ditto-connectivity'
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
context: .
file: dockerfile-release
Expand All @@ -282,7 +282,7 @@ jobs:
-
name: Build and push ditto-ui milestone/RC
if: env.MILESTONE_OR_RC_SUFFIX != env.IMAGE_TAG && inputs.dittoImage == 'ditto-ui'
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
context: ./ui
file: ui/Dockerfile
Expand Down

0 comments on commit d0205f7

Please sign in to comment.