Skip to content

Commit

Permalink
ci: Try to install devbox in prow job
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmidyson committed Dec 5, 2023
1 parent 6288896 commit d9702fd
Showing 1 changed file with 5 additions and 18 deletions.
23 changes: 5 additions & 18 deletions scripts/ci-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,11 @@ set -o pipefail
REPO_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
cd "${REPO_ROOT}" || exit 1

# Expects ubuntu container

# Install prerequisites
apt update
apt install -y make wget

make --version
docker --version

# shellcheck source=./hack/install-go.sh
source "${REPO_ROOT}/hack/install-go.sh"

# shellcheck source=./hack/ensure-go.sh
source "${REPO_ROOT}/hack/ensure-go.sh"

# Make sure the tools binaries are on the path.
export PATH="${REPO_ROOT}/hack/tools/bin:${PATH}"
# Install devbox
curl -fsSL https://get.jetpack.io/devbox | bash

# Install tools
devbox install

# Override e2e conf values with CI specific environment variables
MAKE_TARGET=${MAKE_TARGET}
Expand All @@ -43,4 +30,4 @@ NUTANIX_MACHINE_TEMPLATE_IMAGE_NAME=${NUTANIX_MACHINE_TEMPLATE_IMAGE_NAME}
NUTANIX_SUBNET_NAME=${NUTANIX_SUBNET_NAME}

# Run e2e tests
make ${MAKE_TARGET} LABEL_FILTERS=${LABEL_FILTERS}
devbox run -- make ${MAKE_TARGET} LABEL_FILTERS=${LABEL_FILTERS}

0 comments on commit d9702fd

Please sign in to comment.