Skip to content

Commit

Permalink
Add a Patch command to upgrade Jib Gradle Plugin for P and Z
Browse files Browse the repository at this point in the history
  • Loading branch information
Sachin-Itagi committed Dec 5, 2024
1 parent ead4761 commit 7f9764c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/linux-ppc64le.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,5 @@ kubectl patch cm feature-flags -n tekton-pipelines -p '{"data":{"enable-step-act
echo "Patch to Disable Affinity Assistant (Needed to allow binding of two PVCs for Maven-0-3 test)"
kubectl patch cm feature-flags -n tekton-pipelines -p '{"data":{"disable-affinity-assistant":"true"}}'


echo "Upgrade Jib-Gradle plugin to fix the test"
sed -i 's/gradle.plugin.com.google.cloud.tools:jib-gradle-plugin/com.google.cloud.tools:jib-gradle-plugin/g' ./task/jib-gradle/*/jib-gradle.yaml
3 changes: 3 additions & 0 deletions test/linux-s390x.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,6 @@ yq eval '(..|select(.kind?=="Pipeline")|select(.metadata.name?=="jib-maven-test-

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

echo "Upgrade Jib-Gradle plugin to fix the test"
sed -i 's/gradle.plugin.com.google.cloud.tools:jib-gradle-plugin/com.google.cloud.tools:jib-gradle-plugin/g' ./task/jib-gradle/*/jib-gradle.yaml

0 comments on commit 7f9764c

Please sign in to comment.