File tree 3 files changed +9
-8
lines changed
3 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 1
- # # Access token needs delete rights which is not included in the base repo rights
2
- export INSTANCE_GIT_REPO_TOKEN=
3
- export INSTANCE_GIT_REPO_OWNER=cgrant
1
+ # # Required Vars
2
+
3
+ # APP_ID
4
4
5
+ # INSTANCE_GIT_REPO_TOKEN
6
+ # INSTANCE_GIT_REPO_OWNER
7
+
8
+ # # Access token needs delete rights which is not included in the base repo rights
5
9
# # Delete Trigger
6
10
TRIGGER_NAME=${APP_ID} -webhook-trigger
7
11
gcloud alpha builds triggers delete ${TRIGGER_NAME} -q
@@ -15,7 +19,7 @@ gcloud secrets delete ${SECRET_NAME} -q
15
19
export GIT_TOKEN=${INSTANCE_GIT_REPO_TOKEN}
16
20
export GIT_USERNAME=${INSTANCE_GIT_REPO_OWNER}
17
21
export BASE_DIR=${PWD}
18
- export GIT_CMD=${BASE_DIR} /cp-templates/cicd-pipeline/util /git/gh.sh
19
- export GIT_ASKPASS=${BASE_DIR} /cp-templates/cicd-pipeline/util /git/git-ask-pass.sh
22
+ export GIT_CMD=${BASE_DIR} /cp-utils /git/gh.sh
23
+ export GIT_ASKPASS=${BASE_DIR} /cp-utils /git/git-ask-pass.sh
20
24
${GIT_CMD} delete ${APP_ID}
21
25
Original file line number Diff line number Diff line change 6
6
7
7
# INSTANCE_GIT_REPO_TOKEN
8
8
# INSTANCE_GIT_REPO_OWNER
9
- # INSTANCE_GIT_REPO_NAME
10
9
11
10
12
11
@@ -25,7 +24,6 @@ echo REGION=${REGION}
25
24
echo APP_ID=${APP_ID}
26
25
echo INSTANCE_GIT_REPO_OWNER=${INSTANCE_GIT_REPO_OWNER}
27
26
echo GIT_USERNAME=${GIT_USERNAME}
28
- echo INSTANCE_GIT_REPO_NAME=${INSTANCE_GIT_REPO_NAME}
29
27
echo INSTANCE_GIT_REPO_TOKEN=${INSTANCE_GIT_REPO_TOKEN}
30
28
echo GIT_TOKEN=$GIT_TOKEN
31
29
echo TEMPLATE_FOLDER=${TEMPLATE_FOLDER}
Original file line number Diff line number Diff line change 7
7
8
8
# INSTANCE_GIT_REPO_TOKEN
9
9
# INSTANCE_GIT_REPO_OWNER
10
- # INSTANCE_GIT_REPO_NAME
11
10
12
11
# API_KEY
13
12
You can’t perform that action at this time.
0 commit comments