1
0
mirror of https://github.com/tektoncd/catalog.git synced 2024-11-26 06:23:37 +00:00

patch stepactions and disable-affinity-assistant in test-s390x.sh

fix catalog test failures on s390x
This commit is contained in:
Basavaraju Girriamma 2024-06-10 09:36:12 +05:30 committed by tekton-robot
parent dddda1e5db
commit fe39623ded

View File

@ -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"}}'