Skip to content

Commit 42768c3

Browse files
committed
Update Boilerplate
Signed-off-by: Daniel Hall <[email protected]>
1 parent 702c04f commit 42768c3

File tree

5 files changed

+10
-17
lines changed

5 files changed

+10
-17
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
b655ba1347f9bd549afec9f383b5154ca4747c37
1+
2400affc32091b707df9f1d3045b049f0c11628c

boilerplate/_lib/boilerplate-commit

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff 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

boilerplate/openshift/golang-osd-e2e/e2e-template.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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}

boilerplate/update

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,8 @@ EOF
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"

test/e2e/e2e-template.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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}

0 commit comments

Comments
 (0)