Lines Matching +full:test +full:- +full:infra
5 # This source code is licensed under the BSD-style license found in the
14 # TEST_INFRA_BRANCH=release/2.3 ./scripts/release/apply-release-changes.sh
16 # TEST_INFRA_BRANCH: The release branch of test-infra that houses all reusable
19 set -eou pipefail
21 GIT_TOP_DIR=$(git rev-parse --show-toplevel)
22 RELEASE_VERSION=${RELEASE_VERSION:-$(cut -d'.' -f1-2 "${GIT_TOP_DIR}/version.txt")}
27 if git ls-remote --exit-code origin ${RELEASE_BRANCH} >/dev/null 2>&1; then
31 …echo "Error: Remote branch '${RELEASE_BRANCH}' not found. Please run 'cut-release-branch.sh' first…
35 # Change all GitHub Actions to reference the test-infra release branch
37 echo "Applying release-only changes to workflows"
40 sed -i '' -e s#@main#@"${TEST_INFRA_BRANCH}"# $i;
41 sed -i '' -e s#test-infra-ref:[[:space:]]main#"test-infra-ref: ${TEST_INFRA_BRANCH}"# $i;
43 sed -i -e s#@main#@"${TEST_INFRA_BRANCH}"# $i;
44 sed -i -e s#test-infra-ref:[[:space:]]main#"test-infra-ref: ${TEST_INFRA_BRANCH}"# $i;
52 echo " git commit -m \"[RELEASE-ONLY CHANGES] Branch Cut for Release ${RELEASE_VERSION}\""