File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ set -o allexport -o pipefail -ex
3
3
# Pre-condition:
4
4
# - Create the config file at location ${PAYLOAD_PATH}
5
5
# - Clone the github.com/operate-first/apps repo at location ${WORKING_DIR}
6
+ # - Working branch should be clean, checked out of upstream default branch.
6
7
7
8
CONFIG=${PAYLOAD_PATH}
8
9
REPO=${WORKING_DIR} /apps
@@ -34,4 +35,9 @@ kustomize edit remove resource ../../../base/user.openshift.io/groups/${GROUP}
34
35
cd ${REPO} /cluster-scope/overlays/prod/${ENVIRONMENT} /${CLUSTER}
35
36
kustomize edit remove resource ../../../../base/core/namespaces/${NAMESPACE}
36
37
38
+ # Commit changes
39
+ cd ${REPO}
40
+ git add cluster-scope
41
+ git commit -m " Offboarding team ${GROUP} ."
42
+
37
43
set -o allexport
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ set -o allexport -o pipefail -ex
3
3
# Pre-condition:
4
4
# - Create the config file at location ${PAYLOAD_PATH}
5
5
# - Clone the github.com/operate-first/apps repo at location ${WORKING_DIR}
6
+ # - Working branch should be clean, checked out of upstream default branch.
6
7
7
8
CONFIG=${PAYLOAD_PATH}
8
9
REPO=${WORKING_DIR} /apps
@@ -81,6 +82,8 @@ kustomize edit add resource ../../../base/user.openshift.io/groups/${GROUP}
81
82
yq -i ' .resources |= sort' kustomization.yaml
82
83
83
84
# Commit changes
84
- # TODO
85
+ cd ${REPO}
86
+ git add cluster-scope
87
+ git commit -m " Onboarding team ${GROUP} ."
85
88
86
89
set -o allexport
You can’t perform that action at this time.
0 commit comments