File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -108,24 +108,33 @@ the triggers repo, a terminal window and a text editor.
108108 echo -e " CONTROLLER_IMAGE_SHA: ${CONTROLLER_IMAGE_SHA} \n REKOR_UUID: ${REKOR_UUID} "
109109 ` ` `
110110
111+ 1. Create a pod template file to ensure correct permissions for OCI CLI:
112+
113+ ` ` ` bash
114+ cat <<EOF > pod-template.yaml
115+ securityContext:
116+ fsGroup: 65532
117+ runAsNonRoot: true
118+ runAsUser: 65532
119+ EOF
120+ ` ` `
121+
111122 1. Execute the Draft Release task.
112123
113124 ` ` ` bash
114125 tkn --context dogfooding pipeline start \
115126 --workspace name=shared,volumeClaimTemplateFile=workspace-template.yaml \
116127 --workspace name=credentials,secret=oci-release-secret \
128+ --pod-template pod-template.yaml \
117129 -p package=" ${TEKTON_PACKAGE} " \
130+ -p repo-name=" triggers" \
118131 -p git-revision=" ${TRIGGERS_RELEASE_GIT_SHA} " \
119132 -p release-tag=" ${VERSION_TAG} " \
120133 -p previous-release-tag=" ${TRIGGERS_OLD_VERSION} " \
121134 -p release-name=" Tekton Triggers" \
122- -p bucket=" tekton-releases/triggers " \
135+ -p bucket=" tekton-releases" \
123136 -p rekor-uuid=" $REKOR_UUID " \
124- release-draft
125- ` ` `
126- ` ` ` bash
127- NOTE: ` release-draft` pipeline is for GCS we need to replace this with the OCI pipeline once its present on the Oracle cluster
128- TODO #savita will change this as soon as Pipeline is available and update the readme and remove this note
137+ release-draft-oci
129138 ` ` `
130139
131140 1. Watch logs of create-draft-release
You can’t perform that action at this time.
0 commit comments