diff --git a/.github/ct.yaml b/.github/ct.yaml index 87d72502..0a52c58f 100644 --- a/.github/ct.yaml +++ b/.github/ct.yaml @@ -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. @@ -25,3 +25,4 @@ chart-repos: excluded-charts: - telemetry-e2e - cloud2edge +target-branch: master diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5031a399..947cde38 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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. @@ -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: @@ -27,7 +27,7 @@ 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: @@ -35,21 +35,21 @@ jobs: 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) @@ -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 @@ -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 @@ -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: | @@ -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 \ @@ -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 diff --git a/charts/hono/Chart.yaml b/charts/hono/Chart.yaml index 67b9b4e0..1c6268d6 100755 --- a/charts/hono/Chart.yaml +++ b/charts/hono/Chart.yaml @@ -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: