You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .tekton/all.yaml
+20-21Lines changed: 20 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -152,24 +152,24 @@ spec:
152
152
params:
153
153
- name: script
154
154
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
173
173
- apiVersion: tekton.dev/v1beta1
174
174
kind: PipelineRun
175
175
metadata:
@@ -231,15 +231,14 @@ spec:
231
231
args:
232
232
- |
233
233
env | sort
234
-
# verify all the variables are set
234
+
# verify all the required variables are set
235
235
set -x
236
236
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
238
238
eval "echo $e="'$'$e
239
239
done
240
240
set +u
241
241
242
-
exit 0
243
242
cd /working
244
243
245
244
# Builder type: Container Registry, initializes this default
0 commit comments