We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 63353f8 + a7cb24b commit de68d01Copy full SHA for de68d01
openshift/e2e-tests.sh
@@ -7,12 +7,8 @@ echo "Running e2e-tests.sh"
7
unset GOFLAGS
8
tmp="$(mktemp -d)"
9
10
-if [ "${PULL_BASE_REF}" == "master" ]; then
11
- # the default branch for cluster-capi-operator is main.
12
- CCAPIO_BASE_REF="main"
13
-else
14
- CCAPIO_BASE_REF=$PULL_BASE_REF
15
-fi
+# Default branch for both CCAPIO and this repo should be `main`.
+CCAPIO_BASE_REF=$PULL_BASE_REF
16
17
echo "cloning github.com/openshift/cluster-capi-operator at branch '$CCAPIO_BASE_REF'"
18
git clone --single-branch --branch="$CCAPIO_BASE_REF" --depth=1 "https://github.com/openshift/cluster-capi-operator.git" "$tmp"
0 commit comments