Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ if ssh ${SSH_OPTS} root@${REMOTE_HOST} "set -e; \
source ${REMOTE_LAST_OPENSHIFT_DPF_DIR_LOCATION}; \
echo \${LAST_OPENSHIFT_DPF}; \
cd \${LAST_OPENSHIFT_DPF}; \
if [[ -n '${PULL_NUMBER:-}' ]] && [[ '${REPO_NAME:-}' == 'openshift-dpf' ]]; then \
echo 'PR job detected: checking out PR #${PULL_NUMBER} on the remote host'; \
git fetch origin pull/${PULL_NUMBER}/head:pr-${PULL_NUMBER}; \
git checkout pr-${PULL_NUMBER}; \
git rebase ${OPENSHIFT_DPF_BRANCH}; \
fi; \
pwd ; \
set -e; \
test -f .env ; \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ ref:

Expected duration: 60-120 minutes
env:
- default: "main"
name: OPENSHIFT_DPF_BRANCH
- default: "10.6.135.45"
name: REMOTE_HOST
from: dpf-ci
Expand Down