From 83c67e9bc5a07bf45ea5df5d342fbc4489363807 Mon Sep 17 00:00:00 2001 From: Nikola Jokic Date: Thu, 19 Mar 2026 16:16:35 +0100 Subject: [PATCH] Prepare 0.14.0 release --- .github/workflows/gha-publish-chart.yaml | 105 ++++++++++++++++++ .../Chart.yaml | 4 +- .../Chart.yaml | 4 +- .../Chart.yaml | 4 +- charts/gha-runner-scale-set/Chart.yaml | 4 +- .../gha-runner-scale-set-controller/README.md | 18 +++ 6 files changed, 131 insertions(+), 8 deletions(-) diff --git a/.github/workflows/gha-publish-chart.yaml b/.github/workflows/gha-publish-chart.yaml index d7b4f511..a4f104e6 100644 --- a/.github/workflows/gha-publish-chart.yaml +++ b/.github/workflows/gha-publish-chart.yaml @@ -23,11 +23,21 @@ on: required: true type: boolean default: false + publish_gha_runner_scale_set_controller_experimental_chart: + description: "Publish new helm chart for gha-runner-scale-set-controller" + required: true + type: boolean + default: false publish_gha_runner_scale_set_chart: description: "Publish new helm chart for gha-runner-scale-set" required: true type: boolean default: false + publish_gha_runner_scale_set_experimental_chart: + description: "Publish new helm chart for gha-runner-scale-set" + required: true + type: boolean + default: false env: HELM_VERSION: v3.8.0 @@ -159,6 +169,53 @@ jobs: echo "- Short SHA: ${{ steps.resolve_parameters.outputs.short_sha }}" >> $GITHUB_STEP_SUMMARY echo "- gha-runner-scale-set-controller Chart version: ${{ env.GHA_RUNNER_SCALE_SET_CONTROLLER_CHART_VERSION_TAG }}" >> $GITHUB_STEP_SUMMARY + publish-helm-chart-gha-runner-scale-set-controller-experimental: + if: ${{ inputs.publish_gha_runner_scale_set_controller_experimental_chart == true }} + needs: build-push-image + name: Publish Helm chart for gha-runner-scale-set-controller-experimental + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v6 + with: + # If inputs.ref is empty, it'll resolve to the default branch + ref: ${{ inputs.ref }} + + - name: Resolve parameters + id: resolve_parameters + run: | + resolvedRef="${{ inputs.ref }}" + if [ -z "$resolvedRef" ] + then + resolvedRef="${{ github.ref }}" + fi + echo "INFO: Resolving short SHA for $resolvedRef" + echo "short_sha=$(git rev-parse --short $resolvedRef)" >> $GITHUB_OUTPUT + echo "INFO: Normalizing repository name (lowercase)" + echo "repository_owner=$(echo ${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]')" >> $GITHUB_OUTPUT + + - name: Set up Helm + uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 + with: + version: ${{ env.HELM_VERSION }} + + - name: Publish new helm chart for gha-runner-scale-set-controller-experimental + run: | + echo ${{ secrets.GITHUB_TOKEN }} | helm registry login ghcr.io --username ${{ github.actor }} --password-stdin + GHA_RUNNER_SCALE_SET_CONTROLLER_CHART_VERSION_TAG=$(cat charts/gha-runner-scale-set-controller-experimental/Chart.yaml | grep version: | cut -d " " -f 2) + echo "GHA_RUNNER_SCALE_SET_CONTROLLER_CHART_VERSION_TAG=${GHA_RUNNER_SCALE_SET_CONTROLLER_CHART_VERSION_TAG}" >> $GITHUB_ENV + helm package charts/gha-runner-scale-set-controller-experimental/ --version="${GHA_RUNNER_SCALE_SET_CONTROLLER_CHART_VERSION_TAG}" + helm push gha-runner-scale-set-controller-experimental-"${GHA_RUNNER_SCALE_SET_CONTROLLER_CHART_VERSION_TAG}".tgz oci://ghcr.io/${{ steps.resolve_parameters.outputs.repository_owner }}/actions-runner-controller-charts + + - name: Job summary + run: | + echo "New helm chart for gha-runner-scale-set-controller-experimental published successfully!" >> $GITHUB_STEP_SUMMARY + echo "" >> $GITHUB_STEP_SUMMARY + echo "**Parameters:**" >> $GITHUB_STEP_SUMMARY + echo "- Ref: ${{ steps.resolve_parameters.outputs.resolvedRef }}" >> $GITHUB_STEP_SUMMARY + echo "- Short SHA: ${{ steps.resolve_parameters.outputs.short_sha }}" >> $GITHUB_STEP_SUMMARY + echo "- gha-runner-scale-set-controller-experimental Chart version: ${{ env.GHA_RUNNER_SCALE_SET_CONTROLLER_CHART_VERSION_TAG }}" >> $GITHUB_STEP_SUMMARY + publish-helm-chart-gha-runner-scale-set: if: ${{ inputs.publish_gha_runner_scale_set_chart == true }} needs: build-push-image @@ -206,3 +263,51 @@ jobs: echo "- Ref: ${{ steps.resolve_parameters.outputs.resolvedRef }}" >> $GITHUB_STEP_SUMMARY echo "- Short SHA: ${{ steps.resolve_parameters.outputs.short_sha }}" >> $GITHUB_STEP_SUMMARY echo "- gha-runner-scale-set Chart version: ${{ env.GHA_RUNNER_SCALE_SET_CHART_VERSION_TAG }}" >> $GITHUB_STEP_SUMMARY + + publish-helm-chart-gha-runner-scale-set-experimental: + if: ${{ inputs.publish_gha_runner_scale_set_experimental_chart == true }} + needs: build-push-image + name: Publish Helm chart for gha-runner-scale-set-experimental + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v6 + with: + # If inputs.ref is empty, it'll resolve to the default branch + ref: ${{ inputs.ref }} + + - name: Resolve parameters + id: resolve_parameters + run: | + resolvedRef="${{ inputs.ref }}" + if [ -z "$resolvedRef" ] + then + resolvedRef="${{ github.ref }}" + fi + echo "INFO: Resolving short SHA for $resolvedRef" + echo "short_sha=$(git rev-parse --short $resolvedRef)" >> $GITHUB_OUTPUT + echo "INFO: Normalizing repository name (lowercase)" + echo "repository_owner=$(echo ${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]')" >> $GITHUB_OUTPUT + + - name: Set up Helm + uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 + with: + version: ${{ env.HELM_VERSION }} + + - name: Publish new helm chart for gha-runner-scale-set-experimental + run: | + echo ${{ secrets.GITHUB_TOKEN }} | helm registry login ghcr.io --username ${{ github.actor }} --password-stdin + + GHA_RUNNER_SCALE_SET_CHART_VERSION_TAG=$(cat charts/gha-runner-scale-set-experimental/Chart.yaml | grep version: | cut -d " " -f 2) + echo "GHA_RUNNER_SCALE_SET_CHART_VERSION_TAG=${GHA_RUNNER_SCALE_SET_CHART_VERSION_TAG}" >> $GITHUB_ENV + helm package charts/gha-runner-scale-set-experimental/ --version="${GHA_RUNNER_SCALE_SET_CHART_VERSION_TAG}" + helm push gha-runner-scale-set-experimental-"${GHA_RUNNER_SCALE_SET_CHART_VERSION_TAG}".tgz oci://ghcr.io/${{ steps.resolve_parameters.outputs.repository_owner }}/actions-runner-controller-charts + + - name: Job summary + run: | + echo "New helm chart for gha-runner-scale-set-experimental published successfully!" >> $GITHUB_STEP_SUMMARY + echo "" >> $GITHUB_STEP_SUMMARY + echo "**Parameters:**" >> $GITHUB_STEP_SUMMARY + echo "- Ref: ${{ steps.resolve_parameters.outputs.resolvedRef }}" >> $GITHUB_STEP_SUMMARY + echo "- Short SHA: ${{ steps.resolve_parameters.outputs.short_sha }}" >> $GITHUB_STEP_SUMMARY + echo "- gha-runner-scale-set-experimental Chart version: ${{ env.GHA_RUNNER_SCALE_SET_CHART_VERSION_TAG }}" >> $GITHUB_STEP_SUMMARY diff --git a/charts/gha-runner-scale-set-controller-experimental/Chart.yaml b/charts/gha-runner-scale-set-controller-experimental/Chart.yaml index 4d6cd0be..9e52767f 100644 --- a/charts/gha-runner-scale-set-controller-experimental/Chart.yaml +++ b/charts/gha-runner-scale-set-controller-experimental/Chart.yaml @@ -15,13 +15,13 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.13.1 +version: 0.14.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "0.13.1" +appVersion: "0.14.0" home: https://github.com/actions/actions-runner-controller diff --git a/charts/gha-runner-scale-set-controller/Chart.yaml b/charts/gha-runner-scale-set-controller/Chart.yaml index c7f45c2b..2c113a68 100644 --- a/charts/gha-runner-scale-set-controller/Chart.yaml +++ b/charts/gha-runner-scale-set-controller/Chart.yaml @@ -15,13 +15,13 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.13.1 +version: 0.14.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "0.13.1" +appVersion: "0.14.0" home: https://github.com/actions/actions-runner-controller diff --git a/charts/gha-runner-scale-set-experimental/Chart.yaml b/charts/gha-runner-scale-set-experimental/Chart.yaml index 4dbae1de..c7defdb0 100644 --- a/charts/gha-runner-scale-set-experimental/Chart.yaml +++ b/charts/gha-runner-scale-set-experimental/Chart.yaml @@ -15,13 +15,13 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: "0.13.1" +version: "0.14.0" # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "0.13.1" +appVersion: "0.14.0" home: https://github.com/actions/actions-runner-controller diff --git a/charts/gha-runner-scale-set/Chart.yaml b/charts/gha-runner-scale-set/Chart.yaml index 487ce769..2d0457dc 100644 --- a/charts/gha-runner-scale-set/Chart.yaml +++ b/charts/gha-runner-scale-set/Chart.yaml @@ -15,13 +15,13 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.13.1 +version: 0.14.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "0.13.1" +appVersion: "0.14.0" home: https://github.com/actions/actions-runner-controller diff --git a/docs/gha-runner-scale-set-controller/README.md b/docs/gha-runner-scale-set-controller/README.md index fb43c087..5c611ef5 100644 --- a/docs/gha-runner-scale-set-controller/README.md +++ b/docs/gha-runner-scale-set-controller/README.md @@ -43,6 +43,24 @@ You can follow [this troubleshooting guide](https://docs.github.com/en/actions/h ## Changelog +### 0.14.0 + +1. Fix AcivityId typo in error strings [#4359](https://github.com/actions/actions-runner-controller/pull/4359) +1. Include the HTTP status code in jit error [#4361](https://github.com/actions/actions-runner-controller/pull/4361) +1. Fix tests and generate mocks [#4384](https://github.com/actions/actions-runner-controller/pull/4384) +1. Switch client to scaleset library for the listener and update mocks [#4383](https://github.com/actions/actions-runner-controller/pull/4383) +1. feat: add default linux nodeSelector to listener pod [#4377](https://github.com/actions/actions-runner-controller/pull/4377) +1. Bump Go version [#4398](https://github.com/actions/actions-runner-controller/pull/4398) +1. Allow users to apply labels and annotations to internal resources [#4400](https://github.com/actions/actions-runner-controller/pull/4400) +1. Moving to scaleset client for the controller [#4390](https://github.com/actions/actions-runner-controller/pull/4390) +1. Introduce experimental chart release [#4373](https://github.com/actions/actions-runner-controller/pull/4373) +1. Manually bump dependencies since it needs fixes related to the controller runtime API [#4406](https://github.com/actions/actions-runner-controller/pull/4406) +1. Regenerate manifests for experimental charts [#4407](https://github.com/actions/actions-runner-controller/pull/4407) +1. Remove actions client [#4405](https://github.com/actions/actions-runner-controller/pull/4405) +1. Add chart-level API to customize internal resources [#4410](https://github.com/actions/actions-runner-controller/pull/4410) +1. Shutdown the scaleset when runner is deprecated [#4404](https://github.com/actions/actions-runner-controller/pull/4404) +1. Add multi-label support to scalesets [#4408](https://github.com/actions/actions-runner-controller/pull/4408) + ### 0.13.1 1. Make restart pod more flexible to different failure scenarios [#4340](https://github.com/actions/actions-runner-controller/pull/4340)