mirror of
https://github.com/tektoncd/catalog.git
synced 2024-11-24 06:15:46 +00:00
Use Multi-arch gradle image for ppc64le, s390x gradle tasks
This commit is contained in:
parent
1151ae52cf
commit
8c5bb21350
@ -34,5 +34,8 @@ find task -name *registry*.yaml | xargs -I{} yq eval '(..|select(.kind?=="Deploy
|
||||
echo "Change GOARCH parameter value"
|
||||
find task/golang*/*/tests/run.yaml | xargs -I{} yq eval '(..|select(.kind?=="Pipeline")|.spec.tasks[1].params) |= . +{"name": "GOARCH","value": env(GOARCH)}' -i {}
|
||||
|
||||
echo "Add extra GRADLE_IMAGE value"
|
||||
find task/gradle/*/tests/run.yaml | xargs -I{} yq eval '(..|select(.kind?=="Pipeline")|.spec.tasks[1].params) |= . +{"name": "GRADLE_IMAGE","value": env(BUILDER_IMAGE)}' -i {}
|
||||
|
||||
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 {}
|
||||
|
@ -34,5 +34,8 @@ find task -name *registry*.yaml | xargs -I{} yq eval '(..|select(.kind?=="Deploy
|
||||
echo "Change GOARCH parameter value"
|
||||
find task/golang*/*/tests/run.yaml | xargs -I{} yq eval '(..|select(.kind?=="Pipeline")|.spec.tasks[1].params) |= . +{"name": "GOARCH","value": env(GOARCH)}' -i {}
|
||||
|
||||
echo "Add extra GRADLE_IMAGE value"
|
||||
find task/gradle/*/tests/run.yaml | xargs -I{} yq eval '(..|select(.kind?=="Pipeline")|.spec.tasks[1].params) |= . +{"name": "GRADLE_IMAGE","value": env(BUILDER_IMAGE)}' -i {}
|
||||
|
||||
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 {}
|
||||
|
Loading…
Reference in New Issue
Block a user