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.
1 parent 0b73b39 commit f13d42eCopy full SHA for f13d42e
openshift/e2e-tests.sh
@@ -0,0 +1,21 @@
1
+#!/bin/bash
2
+
3
+set -euo pipefail
4
5
+echo "Running e2e-tests.sh"
6
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
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"
19
20
+echo "running cluster-capi-operator's: make e2e"
21
+exec make -C "$tmp" e2e
0 commit comments