Skip to content

Commit

Permalink
[DO NOT MERGE] PROW TEST DO NOT MERGE
Browse files Browse the repository at this point in the history
Signed-off-by: Connor Catlett <[email protected]>
  • Loading branch information
ConnorJC3 committed Oct 8, 2024
1 parent bd83db5 commit 6c3a705
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions hack/e2e/build-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ function build_and_push() {

if [[ "${CREATE_MISSING_ECR_REPO}" == true ]]; then
REPO_CHECK=$(aws ecr describe-repositories --region "${AWS_REGION}")
loudecho "REPO CHECK BEGIN"
echo ${REPO_CHECK}
loudecho "REPO CHECK END"
if [ $(jq ".repositories | map(.repositoryName) | index(\"${IMAGE_NAME##*/}\")" <<<"${REPO_CHECK}") == "null" ]; then
aws ecr create-repository --region "${AWS_REGION}" --repository-name aws-ebs-csi-driver >/dev/null
fi
Expand Down
8 changes: 4 additions & 4 deletions hack/prow-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,14 @@ export KOPS_BUCKET=${KOPS_BUCKET:-"k8s-kops-csi-shared-e2e"}
# Always use us-west-2 in CI, no matter where the local client is
export AWS_REGION=us-west-2

make cluster/create &
PIDS[1]=$!
#make cluster/create &
#PIDS[1]=$!
make cluster/image &
PIDS[2]=$!
# Installing kubetest2 takes surprisingly long and blocks make e2e/${TEST}
# Thus, to speed up CI, preinstall it while creating the cluster/image
make bin/kubetest2 &
PIDS[3]=$!
#make bin/kubetest2 &
#PIDS[3]=$!

for PID in "${PIDS[@]}"; do
wait $PID || E2E_PASSED=1
Expand Down

0 comments on commit 6c3a705

Please sign in to comment.