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
5656 bp_compare_url=" https://github.com/openshift/boilerplate/compare/$bp_commit_change "
5757 # Generate the commit history for this range. This will go in the commit message.
5858 (
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} "
6660 cd " ${bp_clone} "
6761 # Matches promote.sh
6862 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:
7777 - name : GCP_CREDS_JSON
7878 value : ${GCP_CREDS_JSON}
7979 - 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 109109 fi
110110 BP_CLONE=" $( mktemp -d) "
111111
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+
119114 echo " Updating the update script."
120115 rsync -a " ${BP_CLONE} /boilerplate/update" " $0 "
121116 echo " Copying utilities"
Original file line number Diff line number Diff line change @@ -77,4 +77,6 @@ objects:
7777 - name : GCP_CREDS_JSON
7878 value : ${GCP_CREDS_JSON}
7979 - 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