From fe39623ded2f71ccd36f8f195062184590008efe Mon Sep 17 00:00:00 2001 From: Basavaraju Girriamma Date: Mon, 10 Jun 2024 09:36:12 +0530 Subject: [PATCH] patch stepactions and disable-affinity-assistant in test-s390x.sh fix catalog test failures on s390x --- test/linux-s390x.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/linux-s390x.sh b/test/linux-s390x.sh index 14084bf5..8b1d86a3 100644 --- a/test/linux-s390x.sh +++ b/test/linux-s390x.sh @@ -39,3 +39,9 @@ find task/gradle/*/tests/run.yaml | xargs -I{} yq eval '(..|select(.kind?=="Pipe echo "Add extra BUILDER_IMAGE parameter" find task/jib-gradle/*/tests/run.yaml | xargs -I{} yq eval '(..|select(.kind?=="Pipeline")|.spec.tasks[1].params) |= . +{"name": "BUILDER_IMAGE","value": env(BUILDER_IMAGE)}' -i {} + +echo "Add extra MAVEN_IMAGE parameter for maven-0-3 test" +yq eval '(..|select(.kind?=="Pipeline")|select(.metadata.name?=="jib-maven-test-pipeline"|"maven-test-pipeline")|.spec.tasks[2].params) |= . +{"name": "MAVEN_IMAGE","value": env(MAVEN_IMAGE)}' -i task/maven/0.3/tests/run.yaml + +echo "Patch to Enable Step Actions,Disable Affinity Assistant on the cluster" +kubectl patch cm feature-flags -n tekton-pipelines -p '{"data":{"enable-step-actions":"true","disable-affinity-assistant":"true"}}'