Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/ct.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019, 2022 Contributors to the Eclipse Foundation
# Copyright (c) 2019 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
Expand All @@ -25,3 +25,4 @@ chart-repos:
excluded-charts:
- telemetry-e2e
- cloud2edge
target-branch: master
61 changes: 30 additions & 31 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019, 2023 Contributors to the Eclipse Foundation
# Copyright (c) 2019 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
Expand All @@ -13,8 +13,8 @@ name: ci

env:
CONFIG_OPTION_CHART_TESTING: "--config .github/ct.yaml"
VERSION_CHART_TESTING: "v3.5.1"
VERSION_HELM: "v3.9.2"
VERSION_CHART_TESTING: "3.14.0"
VERSION_HELM: "3.19.0"
VERSION_PYTHON: "3.8"
on:
pull_request:
Expand All @@ -27,29 +27,29 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Lint Bash scripts
uses: docker://koalaman/shellcheck-alpine:v0.9.0
with:
args: .github/lint-scripts.sh

lint-chart:
runs-on: ubuntu-latest
needs: lint-bash-scripts
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Fetch history for chart testing
if: ${{ !env.ACT }}
run: git fetch --prune --unshallow
- name: Set up Helm
uses: azure/setup-helm@v3.5
uses: azure/setup-helm@v4
with:
version: ${{ env.VERSION_HELM }}
- uses: actions/setup-python@v4
- uses: actions/setup-python@v6
with:
python-version: ${{ env.VERSION_PYTHON }}
- name: Set up chart-testing
uses: helm/chart-testing-action@v2.2.1
uses: helm/chart-testing-action@v2
with:
version: ${{ env.VERSION_CHART_TESTING }}
- name: Run chart-testing (lint)
Expand All @@ -64,17 +64,18 @@ jobs:
# which a folder exists at
# https://github.com/yannh/kubernetes-json-schema/
k8s:
- v1.25.13
- v1.26.8
- v1.27.5
- v1.28.1
- v1.32.9
- v1.33.8
- v1.34.4
- v1.35.1
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Fetch history for chart testing
if: ${{ !env.ACT }}
run: git fetch --prune --unshallow
- name: Set up Helm
uses: azure/setup-helm@v3.5
uses: azure/setup-helm@v4
with:
version: ${{ env.VERSION_HELM }}
- name: Run kubeval
Expand All @@ -85,33 +86,32 @@ jobs:
install-chart:
name: install-chart
runs-on: ubuntu-latest
needs:
- lint-chart
- kubeval-chart
needs: kubeval-chart
strategy:
matrix:
k8s:
# the versions supported by chart-testing are the tags
# available for the docker.io/kindest/node image
# https://hub.docker.com/r/kindest/node/tags
- v1.25.11
- v1.26.6
- v1.27.3
- v1.28.0
- v1.32.11
- v1.33.7
- v1.34.3
- v1.35.1
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Fetch history for chart testing
if: ${{ !env.ACT }}
run: git fetch --prune --unshallow
- name: Set up Helm
uses: azure/setup-helm@v3.5
uses: azure/setup-helm@v4
with:
version: ${{ env.VERSION_HELM }}
- uses: actions/setup-python@v4
- uses: actions/setup-python@v6
with:
python-version: ${{ env.VERSION_PYTHON }}
- name: Set up chart-testing
uses: helm/chart-testing-action@v2.2.1
uses: helm/chart-testing-action@v2
with:
version: ${{ env.VERSION_CHART_TESTING }}
- name: Check for changed charts
Expand All @@ -122,17 +122,16 @@ jobs:
echo "changed=true" >> $GITHUB_OUTPUT
fi
- name: Create kind ${{ matrix.k8s }} cluster
uses: helm/kind-action@v1.8.0
uses: helm/kind-action@v1.14.0
with:
version: v0.20.0
version: v0.31.0
config: .github/kind-config.yaml
node_image: kindest/node:${{ matrix.k8s }}
if: ${{ steps.list-changed.outputs.changed == 'true' }}
- name: Deploy ingress controller
if: ${{ steps.list-changed.outputs.changed == 'true' }}
run: |
# upgrade after: https://github.com/kubernetes/ingress-nginx/issues/6245
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.0.3/deploy/static/provider/kind/deploy.yaml
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.14.3/deploy/static/provider/kind/deploy.yaml
- name: Wait for the ingress controller to become ready
if: ${{ steps.list-changed.outputs.changed == 'true' }}
run: |
Expand All @@ -141,7 +140,6 @@ jobs:
--selector=app.kubernetes.io/component=controller \
--timeout=180s
kubectl -n ingress-nginx set resources deployment ingress-nginx-controller --requests=cpu=0
sleep 120
kubectl wait --namespace ingress-nginx \
--for=condition=ready pod \
--selector=app.kubernetes.io/component=controller \
Expand All @@ -157,6 +155,7 @@ jobs:
if: ${{ steps.list-changed.outputs.changed == 'true' }}
run: .github/chart-ci-init.sh
- name: Run chart-testing (install)
if: ${{ steps.list-changed.outputs.changed == 'true' }}
run: ct install ${{ env.CONFIG_OPTION_CHART_TESTING }}

- name: Record logs
Expand Down
2 changes: 1 addition & 1 deletion charts/hono/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ name: hono
description: |
Eclipse Hono™ provides remote service interfaces for connecting large numbers of IoT devices to a back end and
interacting with them in a uniform way regardless of the device communication protocol.
version: 2.7.0
version: 2.7.1
# Version of Hono being deployed by the chart
appVersion: 2.7.0
keywords:
Expand Down
Loading