Commit fe76fee0 authored by Anamika Agrawal's avatar Anamika Agrawal Committed by GitHub Enterprise
Browse files

update pipeline base images (#33)

parent ed501534
......@@ -31,7 +31,7 @@ spec:
description: The name of the build artifact as retrieved from the build metadata
steps:
- name: download-artifacts
image: ibmcom/pipeline-base-image:2.11
image: icr.io/continuous-delivery/pipeline/pipeline-base-image:2.15
workingDir: /output
env:
- name: API
......@@ -76,8 +76,8 @@ spec:
echo "Check if the Bucket with name $COSBUCKETNAME exists"
ibmcloud login -a $API -r $REGION --apikey $COSAPIKEY;
ibmcloud plugin install cloud-object-storage;
if ibmcloud cos bucket-class-get --bucket $COSBUCKETNAME 2>/dev/null ; then
REGION=$(ibmcloud cos bucket-class-get --bucket $COSBUCKETNAME | grep -i REGION | awk {'print $2'})
if ibmcloud cos bucket-location-get --bucket $COSBUCKETNAME 2>/dev/null ; then
REGION=$(ibmcloud cos bucket-location-get --bucket $COSBUCKETNAME | grep -i REGION | awk {'print $2'})
ibmcloud login -a $API -r $REGION --apikey $COSAPIKEY;
echo "Started downloading of artifacts from IBM Cloud Object Storage"
ibmcloud cos object-get --bucket "$COSBUCKETNAME" --key ${OBJECTNAME} ${OBJECTNAME}
......@@ -172,7 +172,7 @@ spec:
mountPath: /output
steps:
- name: deploy
image: ibmcom/pipeline-base-image:2.11
image: icr.io/continuous-delivery/pipeline/pipeline-base-image:2.15
workingDir: /output
env:
- name: REGION
......@@ -276,7 +276,7 @@ spec:
mountPath: /output
steps:
- name: acceptance-test
image: ibmcom/pipeline-base-image:2.11
image: icr.io/continuous-delivery/pipeline/pipeline-base-image:2.15
workingDir: /output
env:
- name: REGION
......@@ -344,7 +344,7 @@ spec:
mountPath: /output
steps:
- name: release
image: ibmcom/pipeline-base-image:2.11
image: icr.io/continuous-delivery/pipeline/pipeline-base-image:2.15
workingDir: /output
env:
- name: REGION
......@@ -401,7 +401,7 @@ spec:
name: toolchain
steps:
- name: publish-doi-deployrecord
image: ibmcom/pipeline-base-image:2.11
image: icr.io/continuous-delivery/pipeline/pipeline-base-image:2.15
volumeMounts:
- name: cd-config
mountPath: /cd-config
......
......@@ -22,7 +22,7 @@ spec:
description: The checksum of the artifact to be passed to the downstream tasks for further processing
steps:
- name: build-artifacts-info
image: ibmcom/pipeline-base-image:2.11
image: icr.io/continuous-delivery/pipeline/pipeline-base-image:2.15
workingDir: /artifacts
env:
- name: APPNAME
......@@ -77,7 +77,7 @@ spec:
name: toolchain
steps:
- name: upload-artifacts
image: ibmcom/pipeline-base-image:2.11
image: icr.io/continuous-delivery/pipeline/pipeline-base-image:2.15
volumeMounts:
- name: cd-config
mountPath: /cd-config
......@@ -202,8 +202,8 @@ spec:
RESOURCEGROUP=$(cat /cd-config/toolchain.json | jq -r '.container.guid');
ibmcloud login -a $API -r $REGION --apikey $COSAPIKEY;
ibmcloud plugin install cloud-object-storage;
if ibmcloud cos bucket-class-get --bucket $COSBUCKETNAME 2>/dev/null ; then
REGION=$(ibmcloud cos bucket-class-get --bucket $COSBUCKETNAME | grep -i REGION | awk {'print $2'})
if ibmcloud cos bucket-location-get --bucket $COSBUCKETNAME 2>/dev/null ; then
REGION=$(ibmcloud cos bucket-location-get --bucket $COSBUCKETNAME | grep -i REGION | awk {'print $2'})
ibmcloud login -a $API -r $REGION --apikey $COSAPIKEY;
else
COSENDPOINT="s3.${REGION}.cloud-object-storage.appdomain.cloud";
......@@ -278,7 +278,7 @@ spec:
mountPath: /output
steps:
- name: commit-build-metadata
image: ibmcom/pipeline-base-image:2.11
image: icr.io/continuous-delivery/pipeline/pipeline-base-image:2.15
workingDir: /artifacts
env:
- name: REPOSITORY
......
......@@ -31,7 +31,7 @@ spec:
description: The name of the build artifact as retrieved from the build metadata
steps:
- name: download-artifacts
image: ibmcom/pipeline-base-image:2.11
image: icr.io/continuous-delivery/pipeline/pipeline-base-image:2.15
workingDir: /output
env:
- name: API
......@@ -76,8 +76,8 @@ spec:
echo "Check if the Bucket with name $COSBUCKETNAME exists"
ibmcloud login -a $API -r $REGION --apikey $COSAPIKEY;
ibmcloud plugin install cloud-object-storage;
if ibmcloud cos bucket-class-get --bucket $COSBUCKETNAME 2>/dev/null ; then
REGION=$(ibmcloud cos bucket-class-get --bucket $COSBUCKETNAME | grep -i REGION | awk {'print $2'})
if ibmcloud cos bucket-location-get --bucket $COSBUCKETNAME 2>/dev/null ; then
REGION=$(ibmcloud cos bucket-location-get --bucket $COSBUCKETNAME | grep -i REGION | awk {'print $2'})
ibmcloud login -a $API -r $REGION --apikey $COSAPIKEY;
echo "Started downloading of artifacts from IBM Cloud Object Storage"
ibmcloud cos object-get --bucket "$COSBUCKETNAME" --key ${OBJECTNAME} ${OBJECTNAME}
......@@ -173,7 +173,7 @@ spec:
mountPath: /output
steps:
- name: deploy
image: ibmcom/pipeline-base-image:2.11
image: icr.io/continuous-delivery/pipeline/pipeline-base-image:2.15
workingDir: /output
env:
- name: REGION
......@@ -274,7 +274,7 @@ spec:
mountPath: /output
steps:
- name: release
image: ibmcom/pipeline-base-image:2.11
image: icr.io/continuous-delivery/pipeline/pipeline-base-image:2.15
workingDir: /output
env:
- name: REGION
......@@ -337,7 +337,7 @@ spec:
name: toolchain
steps:
- name: publish-doi-deployrecord
image: ibmcom/pipeline-base-image:2.11
image: icr.io/continuous-delivery/pipeline/pipeline-base-image:2.15
volumeMounts:
- name: cd-config
mountPath: /cd-config
......@@ -409,7 +409,7 @@ spec:
mountPath: /output
steps:
- name: abort-canary
image: ibmcom/pipeline-base-image:2.11
image: icr.io/continuous-delivery/pipeline/pipeline-base-image:2.15
workingDir: /output
env:
- name: REGION
......
......@@ -31,7 +31,7 @@ spec:
description: The name of the build artifact as retrieved from the build metadata
steps:
- name: download-artifacts
image: ibmcom/pipeline-base-image:2.11
image: icr.io/continuous-delivery/pipeline/pipeline-base-image:2.15
workingDir: /output
env:
- name: API
......@@ -76,8 +76,8 @@ spec:
echo "Check if the Bucket with name $COSBUCKETNAME exists"
ibmcloud login -a $API -r $REGION --apikey $COSAPIKEY;
ibmcloud plugin install cloud-object-storage;
if ibmcloud cos bucket-class-get --bucket $COSBUCKETNAME 2>/dev/null ; then
REGION=$(ibmcloud cos bucket-class-get --bucket $COSBUCKETNAME | grep -i REGION | awk {'print $2'})
if ibmcloud cos bucket-location-get --bucket $COSBUCKETNAME 2>/dev/null ; then
REGION=$(ibmcloud cos bucket-location-get --bucket $COSBUCKETNAME | grep -i REGION | awk {'print $2'})
ibmcloud login -a $API -r $REGION --apikey $COSAPIKEY;
echo "Started downloading of artifacts from IBM Cloud Object Storage"
ibmcloud cos object-get --bucket "$COSBUCKETNAME" --key ${OBJECTNAME} ${OBJECTNAME}
......@@ -160,7 +160,7 @@ spec:
mountPath: /output
steps:
- name: deploy
image: ibmcom/pipeline-base-image:2.11
image: icr.io/continuous-delivery/pipeline/pipeline-base-image:2.15
workingDir: /output
env:
- name: REGION
......@@ -227,7 +227,7 @@ spec:
mountPath: /output
steps:
- name: check-application-health
image: ibmcom/pipeline-base-image:2.11
image: icr.io/continuous-delivery/pipeline/pipeline-base-image:2.15
workingDir: /output
env:
- name: VIRTUAL_SERVER_INSTANCE
......@@ -271,7 +271,7 @@ spec:
mountPath: /output
steps:
- name: roll-back-deployment
image: ibmcom/pipeline-base-image:2.11
image: icr.io/continuous-delivery/pipeline/pipeline-base-image:2.15
workingDir: /output
env:
- name: APPNAME
......@@ -342,7 +342,7 @@ spec:
name: toolchain
steps:
- name: publish-doi-deployrecord
image: ibmcom/pipeline-base-image:2.11
image: icr.io/continuous-delivery/pipeline/pipeline-base-image:2.15
volumeMounts:
- name: cd-config
mountPath: /cd-config
......
......@@ -31,7 +31,7 @@ spec:
description: The name of the build artifact as retrieved from the build metadata
steps:
- name: download-artifacts
image: ibmcom/pipeline-base-image:2.11
image: icr.io/continuous-delivery/pipeline/pipeline-base-image:2.15
workingDir: /output
env:
- name: API
......@@ -76,8 +76,8 @@ spec:
echo "Check if the Bucket with name $COSBUCKETNAME exists"
ibmcloud login -a $API -r $REGION --apikey $COSAPIKEY;
ibmcloud plugin install cloud-object-storage;
if ibmcloud cos bucket-class-get --bucket $COSBUCKETNAME 2>/dev/null ; then
REGION=$(ibmcloud cos bucket-class-get --bucket $COSBUCKETNAME | grep -i REGION | awk {'print $2'})
if ibmcloud cos bucket-location-get --bucket $COSBUCKETNAME 2>/dev/null ; then
REGION=$(ibmcloud cos bucket-location-get --bucket $COSBUCKETNAME | grep -i REGION | awk {'print $2'})
ibmcloud login -a $API -r $REGION --apikey $COSAPIKEY;
echo "Started downloading of artifacts from IBM Cloud Object Storage"
ibmcloud cos object-get --bucket "$COSBUCKETNAME" --key ${OBJECTNAME} ${OBJECTNAME}
......@@ -170,7 +170,7 @@ spec:
mountPath: /output
steps:
- name: deploy
image: ibmcom/pipeline-base-image:2.11
image: icr.io/continuous-delivery/pipeline/pipeline-base-image:2.15
workingDir: /output
env:
- name: REGION
......@@ -270,7 +270,7 @@ spec:
mountPath: /output
steps:
- name: acceptance-test
image: ibmcom/pipeline-base-image:2.11
image: icr.io/continuous-delivery/pipeline/pipeline-base-image:2.15
workingDir: /output
env:
- name: REGION
......@@ -332,7 +332,7 @@ spec:
name: toolchain
steps:
- name: publish-doi-deployrecord
image: ibmcom/pipeline-base-image:2.11
image: icr.io/continuous-delivery/pipeline/pipeline-base-image:2.15
volumeMounts:
- name: cd-config
mountPath: /cd-config
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment