Skip to content

Commit 6bba1e3

Browse files
committed
alpha to beta
1 parent aeec913 commit 6bba1e3

File tree

1 file changed

+20
-21
lines changed

1 file changed

+20
-21
lines changed

.tekton/all.yaml

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -152,24 +152,24 @@ spec:
152152
params:
153153
- name: script
154154
resourcetemplates:
155-
- apiVersion: v1
156-
kind: Secret
157-
metadata:
158-
name: cd-secret
159-
type: Opaque
160-
stringData:
161-
API_KEY: $(params.API_KEY)
162-
- apiVersion: v1
163-
kind: PersistentVolumeClaim
164-
metadata:
165-
name: pipelinerun-$(uid)-pvc
166-
spec:
167-
resources:
168-
requests:
169-
storage: 1Gi
170-
volumeMode: Filesystem
171-
accessModes:
172-
- ReadWriteOnce
155+
#- apiVersion: v1
156+
# kind: Secret
157+
# metadata:
158+
# name: cd-secret
159+
# type: Opaque
160+
# stringData:
161+
# API_KEY: $(params.API_KEY)
162+
#- apiVersion: v1
163+
# kind: PersistentVolumeClaim
164+
# metadata:
165+
# name: pipelinerun-$(uid)-pvc
166+
# spec:
167+
# resources:
168+
# requests:
169+
# storage: 1Gi
170+
# volumeMode: Filesystem
171+
# accessModes:
172+
# - ReadWriteOnce
173173
- apiVersion: tekton.dev/v1beta1
174174
kind: PipelineRun
175175
metadata:
@@ -231,15 +231,14 @@ spec:
231231
args:
232232
- |
233233
env | sort
234-
# verify all the variables are set
234+
# verify all the required variables are set
235235
set -x
236236
set -u
237-
for e in GIT_REPO GIT_BRANCH REGISTRY_REGION_ID REGISTRY_NAMESPACE TARGET_CLUSTER_NAME IMAGE_NAME TARGET_REGION_ID TARGET_NAMESPACE TARGET_RESOURCE_GROUP COS_PLAN APP_ID_PLAN CLOUDANT_PLAN zzz; do
237+
for e in GIT_REPO GIT_BRANCH REGISTRY_REGION_ID REGISTRY_NAMESPACE TARGET_CLUSTER_NAME IMAGE_NAME TARGET_REGION_ID TARGET_NAMESPACE TARGET_RESOURCE_GROUP COS_PLAN APP_ID_PLAN CLOUDANT_PLAN script; do
238238
eval "echo $e="'$'$e
239239
done
240240
set +u
241241
242-
exit 0
243242
cd /working
244243
245244
# Builder type: Container Registry, initializes this default

0 commit comments

Comments
 (0)