Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Commit

Permalink
Merge pull request #408 from kabanero-io/aadeshpa_lowercase_stop_ship…
Browse files Browse the repository at this point in the history
…_issue_400

updated the script for solving app-deploy file existing case where im…
  • Loading branch information
kvijai82 authored Jun 10, 2020
2 parents 8182388 + 4604f3a commit fc4de68
Show file tree
Hide file tree
Showing 22 changed files with 48 additions and 48 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,20 +76,20 @@ if [[ -z "$docker_registry_url" ]]; then
exit 1
else
if [[ ( -z "$docker_imagename") || ("$docker_imagename" == "null") ]]; then
#Trim the trailing forward slash('/') and then count no of forward slash.
if [[ $docker_registry_url == */ ]];then
docker_registry_url=${docker_registry_url%/}
fi
NUM_SLASHES=$(awk -F"/" '{print NF-1}' <<< "${docker_registry_url}")

# This case is to handle jenkins pipeline scenario, where the user would specify the image name in the app-deploy.yaml
if [[ -f /workspace/$gitsource/$app_deploy_filename ]];then
if [[ (-f /workspace/$gitsource/$app_deploy_filename) && ("$NUM_SLASHES" = 1) ]];then
cd /workspace/$gitsource
APPNAME=$(awk '/^ name:/ {print $2; exit}' $app_deploy_filename)
docker_imagename_lowercase=$(echo $APPNAME | tr '[:upper:]' '[:lower:]')
else
#Checking the migration case where imagename can be empty and if registry url has imagename.
#ex: image-registry.openshift-image-registry.svc:5000/kabanero/kab60-java-spring-boot2:e7a1448806240f0294035097c0203caa3f
#Trim the trailing forward slash('/') and then count no of forward slash.
if [[ $docker_registry_url == */ ]];then
docker_registry_url=${docker_registry_url%/}
fi

NUM_SLASHES=$(awk -F"/" '{print NF-1}' <<< "${docker_registry_url}")
if [ "$NUM_SLASHES" = 1 ]; then
echo "$ERROR image registry url=$docker_registry_url does not have imagename and tagname values, you can specify it in your pipeline resource or through trigger template and try again."
exit 1
Expand Down
8 changes: 4 additions & 4 deletions pipelines/experimental/gitops/build-push-promote-task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
# Refer to https://kabanero.io/docs/ref/general/reference/semver-governance.html for policy details.
securityContext:
privileged: true
image: kabanero/kabanero-utils@sha256:adc6f6dc4821ff83a76782e057c41a25c6017604d1fa7c7e2faf47c09b1845b1
image: kabanero/kabanero-utils@sha256:835371285400bf247ef5ec834d22c72629d2f4b11c304db22dca8f12ecd710ce
command: ["/bin/bash"]
args:
- -c
Expand All @@ -54,7 +54,7 @@ spec:
# This steps builds the source project using appsody build.
securityContext:
privileged: true
image: kabanero/kabanero-utils@sha256:adc6f6dc4821ff83a76782e057c41a25c6017604d1fa7c7e2faf47c09b1845b1
image: kabanero/kabanero-utils@sha256:835371285400bf247ef5ec834d22c72629d2f4b11c304db22dca8f12ecd710ce
imagePullPolicy: Always
command: ["/bin/bash"]
args:
Expand Down Expand Up @@ -116,7 +116,7 @@ spec:
# Refer to https://kabanero.io/docs/ref/general/reference/semver-governance.html for policy details.
securityContext:
privileged: true
image: kabanero/kabanero-utils@sha256:adc6f6dc4821ff83a76782e057c41a25c6017604d1fa7c7e2faf47c09b1845b1
image: kabanero/kabanero-utils@sha256:835371285400bf247ef5ec834d22c72629d2f4b11c304db22dca8f12ecd710ce
command: ["/bin/bash"]
args:
- -c
Expand All @@ -133,7 +133,7 @@ spec:
# Push the image built in the build step to the specified image registry. Optionally sign the image.
securityContext:
privileged: true
image: kabanero/kabanero-utils@sha256:adc6f6dc4821ff83a76782e057c41a25c6017604d1fa7c7e2faf47c09b1845b1
image: kabanero/kabanero-utils@sha256:835371285400bf247ef5ec834d22c72629d2f4b11c304db22dca8f12ecd710ce
command: ["/bin/bash"]
args:
- -c
Expand Down
2 changes: 1 addition & 1 deletion pipelines/experimental/gitops/deploy-gitops-task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
type: git
steps:
- name: deploy
image: kabanero/kabanero-utils@sha256:adc6f6dc4821ff83a76782e057c41a25c6017604d1fa7c7e2faf47c09b1845b1
image: kabanero/kabanero-utils@sha256:835371285400bf247ef5ec834d22c72629d2f4b11c304db22dca8f12ecd710ce
script: |
#!/usr/bin/env sh
Expand Down
2 changes: 1 addition & 1 deletion pipelines/experimental/gitops/deployment-condition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
description: "The Git event ref"
check:
name: deployment-condition
image: kabanero/kabanero-utils@sha256:adc6f6dc4821ff83a76782e057c41a25c6017604d1fa7c7e2faf47c09b1845b1
image: kabanero/kabanero-utils@sha256:835371285400bf247ef5ec834d22c72629d2f4b11c304db22dca8f12ecd710ce
command: ["/bin/sh"]
args:
- -ce
Expand Down
2 changes: 1 addition & 1 deletion pipelines/experimental/gitops/image-scan-condition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
description: "The Git event ref"
check:
name: image-scan-condition
image: kabanero/kabanero-utils@sha256:adc6f6dc4821ff83a76782e057c41a25c6017604d1fa7c7e2faf47c09b1845b1
image: kabanero/kabanero-utils@sha256:835371285400bf247ef5ec834d22c72629d2f4b11c304db22dca8f12ecd710ce
command: ["/bin/sh"]
args:
- -ce
Expand Down
2 changes: 1 addition & 1 deletion pipelines/experimental/gitops/image-scan-task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ spec:
- name: mount-image
securityContext:
privileged: true
image: kabanero/kabanero-utils@sha256:adc6f6dc4821ff83a76782e057c41a25c6017604d1fa7c7e2faf47c09b1845b1
image: kabanero/kabanero-utils@sha256:835371285400bf247ef5ec834d22c72629d2f4b11c304db22dca8f12ecd710ce
# Temporarily make copy of mounted image since the mounted image will be unmounted when the container for this task ends.
# TODO: Determine another way to persist the mounted container image across containers
command: ['/bin/bash']
Expand Down
6 changes: 3 additions & 3 deletions pipelines/incubator/build-deploy-task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
# This steps builds the source project using appsody build.
securityContext:
privileged: true
image: kabanero/kabanero-utils@sha256:adc6f6dc4821ff83a76782e057c41a25c6017604d1fa7c7e2faf47c09b1845b1
image: kabanero/kabanero-utils@sha256:835371285400bf247ef5ec834d22c72629d2f4b11c304db22dca8f12ecd710ce
command: ["/bin/bash"]
args:
- -c
Expand Down Expand Up @@ -85,7 +85,7 @@ spec:
# Push the image built in the build step to the specified image registry. Optionally sign the image.
securityContext:
privileged: true
image: kabanero/kabanero-utils@sha256:adc6f6dc4821ff83a76782e057c41a25c6017604d1fa7c7e2faf47c09b1845b1
image: kabanero/kabanero-utils@sha256:835371285400bf247ef5ec834d22c72629d2f4b11c304db22dca8f12ecd710ce
command: ["/bin/bash"]
args:
- -c
Expand Down Expand Up @@ -146,7 +146,7 @@ spec:
- mountPath: /var/lib/containers
name: varlibcontainers
- name: deploy-image
image: kabanero/kabanero-utils@sha256:adc6f6dc4821ff83a76782e057c41a25c6017604d1fa7c7e2faf47c09b1845b1
image: kabanero/kabanero-utils@sha256:835371285400bf247ef5ec834d22c72629d2f4b11c304db22dca8f12ecd710ce
command: ['/bin/sh']
args:
- -c
Expand Down
4 changes: 2 additions & 2 deletions pipelines/incubator/build-push-jk-task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
# This steps builds the source project using appsody build.
securityContext:
privileged: true
image: kabanero/kabanero-utils@sha256:adc6f6dc4821ff83a76782e057c41a25c6017604d1fa7c7e2faf47c09b1845b1
image: kabanero/kabanero-utils@sha256:835371285400bf247ef5ec834d22c72629d2f4b11c304db22dca8f12ecd710ce
command: ["/bin/bash"]
args:
- -c
Expand Down Expand Up @@ -91,7 +91,7 @@ spec:
# Push the image built in the build step to the specified image registry. Optionally sign the image.
securityContext:
privileged: true
image: kabanero/kabanero-utils@sha256:adc6f6dc4821ff83a76782e057c41a25c6017604d1fa7c7e2faf47c09b1845b1
image: kabanero/kabanero-utils@sha256:835371285400bf247ef5ec834d22c72629d2f4b11c304db22dca8f12ecd710ce
command: ["/bin/bash"]
args:
- -c
Expand Down
8 changes: 4 additions & 4 deletions pipelines/incubator/build-push-task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
# Refer to https://kabanero.io/docs/ref/general/reference/semver-governance.html for policy details.
securityContext:
privileged: true
image: kabanero/kabanero-utils@sha256:adc6f6dc4821ff83a76782e057c41a25c6017604d1fa7c7e2faf47c09b1845b1
image: kabanero/kabanero-utils@sha256:835371285400bf247ef5ec834d22c72629d2f4b11c304db22dca8f12ecd710ce
command: ["/bin/bash"]
args:
- -c
Expand All @@ -53,7 +53,7 @@ spec:
# This steps builds the source project using appsody build.
securityContext:
privileged: true
image: kabanero/kabanero-utils@sha256:adc6f6dc4821ff83a76782e057c41a25c6017604d1fa7c7e2faf47c09b1845b1
image: kabanero/kabanero-utils@sha256:835371285400bf247ef5ec834d22c72629d2f4b11c304db22dca8f12ecd710ce
command: ["/bin/bash"]
args:
- -c
Expand Down Expand Up @@ -114,7 +114,7 @@ spec:
# Refer to https://kabanero.io/docs/ref/general/reference/semver-governance.html for policy details.
securityContext:
privileged: true
image: kabanero/kabanero-utils@sha256:adc6f6dc4821ff83a76782e057c41a25c6017604d1fa7c7e2faf47c09b1845b1
image: kabanero/kabanero-utils@sha256:835371285400bf247ef5ec834d22c72629d2f4b11c304db22dca8f12ecd710ce
command: ["/bin/bash"]
args:
- -c
Expand All @@ -131,7 +131,7 @@ spec:
# Push the image built in the build step to the specified image registry. Optionally sign the image.
securityContext:
privileged: true
image: kabanero/kabanero-utils@sha256:adc6f6dc4821ff83a76782e057c41a25c6017604d1fa7c7e2faf47c09b1845b1
image: kabanero/kabanero-utils@sha256:835371285400bf247ef5ec834d22c72629d2f4b11c304db22dca8f12ecd710ce
command: ["/bin/bash"]
args:
- -c
Expand Down
2 changes: 1 addition & 1 deletion pipelines/incubator/build-task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
# This steps builds the source project using appsody build.
securityContext:
privileged: true
image: kabanero/kabanero-utils@sha256:adc6f6dc4821ff83a76782e057c41a25c6017604d1fa7c7e2faf47c09b1845b1
image: kabanero/kabanero-utils@sha256:835371285400bf247ef5ec834d22c72629d2f4b11c304db22dca8f12ecd710ce
command: ["/bin/bash"]
args:
- -c
Expand Down
4 changes: 2 additions & 2 deletions pipelines/incubator/deploy-task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
- name: enforce-stack-policy-pre-deploy
securityContext:
privileged: true
image: kabanero/kabanero-utils@sha256:adc6f6dc4821ff83a76782e057c41a25c6017604d1fa7c7e2faf47c09b1845b1
image: kabanero/kabanero-utils@sha256:835371285400bf247ef5ec834d22c72629d2f4b11c304db22dca8f12ecd710ce
command: ["/bin/bash"]
args:
- -c
Expand All @@ -43,7 +43,7 @@ spec:
- name: gitsource
value: git-source
- name: deploy-image
image: kabanero/kabanero-utils@sha256:adc6f6dc4821ff83a76782e057c41a25c6017604d1fa7c7e2faf47c09b1845b1
image: kabanero/kabanero-utils@sha256:835371285400bf247ef5ec834d22c72629d2f4b11c304db22dca8f12ecd710ce
command: ['/bin/sh']
args:
- -c
Expand Down
2 changes: 1 addition & 1 deletion pipelines/incubator/deployment-condition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
description: "The Git event ref"
check:
name: deployment-condition
image: kabanero/kabanero-utils@sha256:adc6f6dc4821ff83a76782e057c41a25c6017604d1fa7c7e2faf47c09b1845b1
image: kabanero/kabanero-utils@sha256:835371285400bf247ef5ec834d22c72629d2f4b11c304db22dca8f12ecd710ce
command: ["/bin/sh"]
args:
- -ce
Expand Down
8 changes: 4 additions & 4 deletions pipelines/incubator/events/build-push-promote-task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ spec:
# Refer to https://kabanero.io/docs/ref/general/reference/semver-governance.html for policy details.
securityContext:
privileged: true
image: kabanero/kabanero-utils@sha256:adc6f6dc4821ff83a76782e057c41a25c6017604d1fa7c7e2faf47c09b1845b1
image: kabanero/kabanero-utils@sha256:835371285400bf247ef5ec834d22c72629d2f4b11c304db22dca8f12ecd710ce
command: ["/bin/bash"]
args:
- -c
Expand All @@ -53,7 +53,7 @@ spec:
# This steps builds the source project using appsody build.
securityContext:
privileged: true
image: kabanero/kabanero-utils@sha256:adc6f6dc4821ff83a76782e057c41a25c6017604d1fa7c7e2faf47c09b1845b1
image: kabanero/kabanero-utils@sha256:835371285400bf247ef5ec834d22c72629d2f4b11c304db22dca8f12ecd710ce
imagePullPolicy: Always
command: ["/bin/bash"]
args:
Expand Down Expand Up @@ -118,7 +118,7 @@ spec:
# Refer to https://kabanero.io/docs/ref/general/reference/semver-governance.html for policy details.
securityContext:
privileged: true
image: kabanero/kabanero-utils@sha256:adc6f6dc4821ff83a76782e057c41a25c6017604d1fa7c7e2faf47c09b1845b1
image: kabanero/kabanero-utils@sha256:835371285400bf247ef5ec834d22c72629d2f4b11c304db22dca8f12ecd710ce
command: ["/bin/bash"]
args:
- -c
Expand All @@ -135,7 +135,7 @@ spec:
# Push the image built in the build step to the specified image registry. Optionally sign the image.
securityContext:
privileged: true
image: kabanero/kabanero-utils@sha256:adc6f6dc4821ff83a76782e057c41a25c6017604d1fa7c7e2faf47c09b1845b1
image: kabanero/kabanero-utils@sha256:835371285400bf247ef5ec834d22c72629d2f4b11c304db22dca8f12ecd710ce
command: ["/bin/bash"]
args:
- -c
Expand Down
6 changes: 3 additions & 3 deletions pipelines/incubator/events/build-task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
# Refer to https://kabanero.io/docs/ref/general/reference/semver-governance.html for policy details.
securityContext:
privileged: true
image: kabanero/kabanero-utils@sha256:adc6f6dc4821ff83a76782e057c41a25c6017604d1fa7c7e2faf47c09b1845b1
image: kabanero/kabanero-utils@sha256:835371285400bf247ef5ec834d22c72629d2f4b11c304db22dca8f12ecd710ce
command: ["/bin/bash"]
args:
- -c
Expand All @@ -41,7 +41,7 @@ spec:
# This steps builds the source project using appsody build.
securityContext:
privileged: true
image: kabanero/kabanero-utils@sha256:adc6f6dc4821ff83a76782e057c41a25c6017604d1fa7c7e2faf47c09b1845b1
image: kabanero/kabanero-utils@sha256:835371285400bf247ef5ec834d22c72629d2f4b11c304db22dca8f12ecd710ce
imagePullPolicy: Always
command: ["/bin/bash"]
args:
Expand Down Expand Up @@ -102,7 +102,7 @@ spec:
# Refer to https://kabanero.io/docs/ref/general/reference/semver-governance.html for policy details.
securityContext:
privileged: true
image: kabanero/kabanero-utils@sha256:adc6f6dc4821ff83a76782e057c41a25c6017604d1fa7c7e2faf47c09b1845b1
image: kabanero/kabanero-utils@sha256:835371285400bf247ef5ec834d22c72629d2f4b11c304db22dca8f12ecd710ce
command: ["/bin/bash"]
args:
- -c
Expand Down
2 changes: 1 addition & 1 deletion pipelines/incubator/events/deploy-kustomize-task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
type: git
steps:
- name: deploy
image: kabanero/kabanero-utils@sha256:adc6f6dc4821ff83a76782e057c41a25c6017604d1fa7c7e2faf47c09b1845b1
image: kabanero/kabanero-utils@sha256:835371285400bf247ef5ec834d22c72629d2f4b11c304db22dca8f12ecd710ce
script: |
#!/usr/bin/env sh
Expand Down
4 changes: 2 additions & 2 deletions pipelines/incubator/events/deploy-task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
- name: enforce-stack-policy-pre-deploy
securityContext:
privileged: true
image: kabanero/kabanero-utils@sha256:adc6f6dc4821ff83a76782e057c41a25c6017604d1fa7c7e2faf47c09b1845b1
image: kabanero/kabanero-utils@sha256:835371285400bf247ef5ec834d22c72629d2f4b11c304db22dca8f12ecd710ce
command: ["/bin/bash"]
args:
- -c
Expand All @@ -43,7 +43,7 @@ spec:
- name: gitsource
value: git-source
- name: deploy-image
image: kabanero/kabanero-utils@sha256:adc6f6dc4821ff83a76782e057c41a25c6017604d1fa7c7e2faf47c09b1845b1
image: kabanero/kabanero-utils@sha256:835371285400bf247ef5ec834d22c72629d2f4b11c304db22dca8f12ecd710ce
command: ['/bin/sh']
args:
- -c
Expand Down
2 changes: 1 addition & 1 deletion pipelines/incubator/events/deployment-condition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
description: "Determine if there should be a local deploy"
check:
name: deployment-condition
image: kabanero/kabanero-utils@sha256:adc6f6dc4821ff83a76782e057c41a25c6017604d1fa7c7e2faf47c09b1845b1
image: kabanero/kabanero-utils@sha256:835371285400bf247ef5ec834d22c72629d2f4b11c304db22dca8f12ecd710ce
command: ["/bin/sh"]
args:
- -ce
Expand Down
6 changes: 3 additions & 3 deletions pipelines/incubator/events/image-retag-task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
# Pull down the source image from the registry.
securityContext:
privileged: true
image: kabanero/kabanero-utils@sha256:adc6f6dc4821ff83a76782e057c41a25c6017604d1fa7c7e2faf47c09b1845b1
image: kabanero/kabanero-utils@sha256:835371285400bf247ef5ec834d22c72629d2f4b11c304db22dca8f12ecd710ce
command: ["/bin/bash"]
args:
- -c
Expand All @@ -42,7 +42,7 @@ spec:
# Tag the pulled image with the new tag.
securityContext:
privileged: true
image: kabanero/kabanero-utils@sha256:adc6f6dc4821ff83a76782e057c41a25c6017604d1fa7c7e2faf47c09b1845b1
image: kabanero/kabanero-utils@sha256:835371285400bf247ef5ec834d22c72629d2f4b11c304db22dca8f12ecd710ce
command: ["/bin/bash"]
args:
- -c
Expand All @@ -67,7 +67,7 @@ spec:
# Push the newly tagged image to the registry.
securityContext:
privileged: true
image: kabanero/kabanero-utils@sha256:adc6f6dc4821ff83a76782e057c41a25c6017604d1fa7c7e2faf47c09b1845b1
image: kabanero/kabanero-utils@sha256:835371285400bf247ef5ec834d22c72629d2f4b11c304db22dca8f12ecd710ce
command: ["/bin/bash"]
args:
- -c
Expand Down
2 changes: 1 addition & 1 deletion pipelines/incubator/events/image-scan-task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
- name: mount-image
securityContext:
privileged: true
image: kabanero/kabanero-utils@sha256:adc6f6dc4821ff83a76782e057c41a25c6017604d1fa7c7e2faf47c09b1845b1
image: kabanero/kabanero-utils@sha256:835371285400bf247ef5ec834d22c72629d2f4b11c304db22dca8f12ecd710ce
# Temporarily make copy of mounted image since the mounted image will be unmounted when the container for this task ends.
# TODO: Determine another way to persist the mounted container image across containers
command: ['/bin/bash']
Expand Down
6 changes: 3 additions & 3 deletions pipelines/incubator/image-retag-task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spec:
- name: buildah-pull
securityContext:
privileged: true
image: kabanero/kabanero-utils@sha256:adc6f6dc4821ff83a76782e057c41a25c6017604d1fa7c7e2faf47c09b1845b1
image: kabanero/kabanero-utils@sha256:835371285400bf247ef5ec834d22c72629d2f4b11c304db22dca8f12ecd710ce
command: ["/bin/bash"]
args:
- -c
Expand All @@ -45,7 +45,7 @@ spec:
- name: buildah-tag
securityContext:
privileged: true
image: kabanero/kabanero-utils@sha256:adc6f6dc4821ff83a76782e057c41a25c6017604d1fa7c7e2faf47c09b1845b1
image: kabanero/kabanero-utils@sha256:835371285400bf247ef5ec834d22c72629d2f4b11c304db22dca8f12ecd710ce
command: ["/bin/bash"]
args:
- -c
Expand All @@ -68,7 +68,7 @@ spec:
- name: buildah-push
securityContext:
privileged: true
image: kabanero/kabanero-utils@sha256:adc6f6dc4821ff83a76782e057c41a25c6017604d1fa7c7e2faf47c09b1845b1
image: kabanero/kabanero-utils@sha256:835371285400bf247ef5ec834d22c72629d2f4b11c304db22dca8f12ecd710ce
command: ["/bin/bash"]
args:
- -c
Expand Down
2 changes: 1 addition & 1 deletion pipelines/incubator/image-scan-task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
- name: mount-image
securityContext:
privileged: true
image: kabanero/kabanero-utils@sha256:adc6f6dc4821ff83a76782e057c41a25c6017604d1fa7c7e2faf47c09b1845b1
image: kabanero/kabanero-utils@sha256:835371285400bf247ef5ec834d22c72629d2f4b11c304db22dca8f12ecd710ce
# Temporarily make copy of mounted image since the mounted image will be unmounted when the container for this task ends.
# TODO: Determine another way to persist the mounted container image across containers
command: ['/bin/bash']
Expand Down
2 changes: 1 addition & 1 deletion pipelines/incubator/validate-active-stack-task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
- name: validate-stack-is-active
securityContext:
privileged: true
image: kabanero/kabanero-utils@sha256:adc6f6dc4821ff83a76782e057c41a25c6017604d1fa7c7e2faf47c09b1845b1
image: kabanero/kabanero-utils@sha256:835371285400bf247ef5ec834d22c72629d2f4b11c304db22dca8f12ecd710ce
command: ["/bin/bash"]
args:
- -c
Expand Down

0 comments on commit fc4de68

Please sign in to comment.