File tree Expand file tree Collapse file tree 5 files changed +10
-17
lines changed Expand file tree Collapse file tree 5 files changed +10
-17
lines changed Original file line number Diff line number Diff line change 1
- b655ba1347f9bd549afec9f383b5154ca4747c37
1
+ 2400affc32091b707df9f1d3045b049f0c11628c
Original file line number Diff line number Diff line change @@ -56,13 +56,7 @@ elif grep -q '^ M boilerplate/_data/last-boilerplate-commit$' $git_status; then
56
56
bp_compare_url=" https://github.com/openshift/boilerplate/compare/$bp_commit_change "
57
57
# Generate the commit history for this range. This will go in the commit message.
58
58
(
59
- if [[ -z " ${BOILERPLATE_IN_CI} " ]]; then
60
- git clone " ${BOILERPLATE_GIT_REPO} " " ${bp_clone} "
61
- else
62
- # HACK: We can't get around safe.directory in CI, so just leverage cp instead of git
63
- cp -r /go/src/github.com/openshift/boilerplate/* " ${bp_clone} "
64
- cp -r /go/src/github.com/openshift/boilerplate/.git " ${bp_clone} "
65
- fi
59
+ git clone " ${BOILERPLATE_GIT_REPO} " " ${bp_clone} "
66
60
cd " ${bp_clone} "
67
61
# Matches promote.sh
68
62
git log --no-merges --pretty=format:' commit: %H%nauthor: %an%n%s%n%n%b%n%n' $bp_commit_change > $bp_log
Original file line number Diff line number Diff line change @@ -77,4 +77,6 @@ objects:
77
77
- name : GCP_CREDS_JSON
78
78
value : ${GCP_CREDS_JSON}
79
79
- name : LOG_BUCKET
80
- value : ${LOG_BUCKET}
80
+ value : ${LOG_BUCKET}
81
+ - name : CAD_PAGERDUTY_ROUTING_KEY
82
+ value : ${CAD_PAGERDUTY_ROUTING_KEY}
Original file line number Diff line number Diff line change 109
109
fi
110
110
BP_CLONE=" $( mktemp -d) "
111
111
112
- if [[ -z " ${BOILERPLATE_IN_CI} " ]]; then
113
- ${BOILERPLATE_GIT_CLONE} " ${BOILERPLATE_GIT_REPO} " " ${BP_CLONE} "
114
- else
115
- # HACK: We can't get around safe.directory in CI, so just leverage cp instead of git
116
- cp -rf /go/src/github.com/openshift/boilerplate/* " ${BP_CLONE} "
117
- cp -rf /go/src/github.com/openshift/boilerplate/.git " ${BP_CLONE} "
118
- fi
112
+ ${BOILERPLATE_GIT_CLONE} " ${BOILERPLATE_GIT_REPO} " " ${BP_CLONE} "
113
+
119
114
echo " Updating the update script."
120
115
rsync -a " ${BP_CLONE} /boilerplate/update" " $0 "
121
116
echo " Copying utilities"
Original file line number Diff line number Diff line change @@ -77,4 +77,6 @@ objects:
77
77
- name : GCP_CREDS_JSON
78
78
value : ${GCP_CREDS_JSON}
79
79
- name : LOG_BUCKET
80
- value : ${LOG_BUCKET}
80
+ value : ${LOG_BUCKET}
81
+ - name : CAD_PAGERDUTY_ROUTING_KEY
82
+ value : ${CAD_PAGERDUTY_ROUTING_KEY}
You can’t perform that action at this time.
0 commit comments