From ed8d1dcf5ee3e2b90ce87a306707f8602c5702c2 Mon Sep 17 00:00:00 2001 From: Lucas Lopes Date: Thu, 31 Aug 2023 13:04:53 -0300 Subject: [PATCH] Adding check RC step to pull request wworkflow running on release branches --- .github/workflows/pull-request.yaml | 6 +++++- Makefile | 2 +- scripts/version | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pull-request.yaml b/.github/workflows/pull-request.yaml index 2f9d161c3fa..2e58ca6b868 100755 --- a/.github/workflows/pull-request.yaml +++ b/.github/workflows/pull-request.yaml @@ -32,4 +32,8 @@ jobs: run: make check-images env: DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} - DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} \ No newline at end of file + DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} + + - name: Check RC images and charts + run: make check-rc + if: startsWith(github.ref, 'refs/heads/upstream/release-v') \ No newline at end of file diff --git a/Makefile b/Makefile index 30123f67f5d..7df342a9432 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ remove: forward-port: ./scripts/forward-port -TARGETS := prepare patch clean clean-cache charts list index unzip zip standardize validate template regsync check-images +TARGETS := prepare patch clean clean-cache charts list index unzip zip standardize validate template regsync check-images check-rc $(TARGETS): @./scripts/pull-scripts diff --git a/scripts/version b/scripts/version index 2fbc8f5eb18..d0cddefbd4c 100755 --- a/scripts/version +++ b/scripts/version @@ -2,4 +2,4 @@ set -e CHARTS_BUILD_SCRIPTS_REPO=https://github.com/rancher/charts-build-scripts.git -CHARTS_BUILD_SCRIPT_VERSION="${CHARTS_BUILD_SCRIPT_VERSION:-v0.4.8}" +CHARTS_BUILD_SCRIPT_VERSION="${CHARTS_BUILD_SCRIPT_VERSION:-v0.4.9}"