Skip to content

Commit

Permalink
Add DOCKER_BUILDKIT var to fix E2E tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Amulyam24 committed Apr 17, 2023
1 parent 77cb6d6 commit e543239
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions scripts/ci-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,6 @@ prerequisites_powervs(){
export IBMPOWERVS_IMAGE_NAME=${IBMPOWERVS_IMAGE_NAME:-"capibm-powervs-centos-streams8-1-25-1"}
export IBMPOWERVS_SERVICE_INSTANCE_ID=${BOSKOS_RESOURCE_ID:-"d53da3bf-1f4a-42fa-9735-acf16b1a05cd"}
export IBMPOWERVS_NETWORK_NAME="capi-net-$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | head --bytes 5)"
# Setting controller loglevel to allow debug logs from the PowerVS client
export LOGLEVEL=5
}

prerequisites_vpc(){
Expand All @@ -124,8 +122,6 @@ prerequisites_vpc(){
export IBMVPC_IMAGE_NAME=${IBMVPC_IMAGE_NAME:-"capibm-vpc-ubuntu-2004-kube-v1-25-2"}
export IBMVPC_PROFILE=${IBMVPC_PROFILE:-"bx2-4x16"}
export IBMVPC_SSHKEY_NAME=${IBMVPC_SSHKEY_NAME:-"vpc-cloud-bot-key"}
# Setting controller loglevel to allow debug logs from the VPC client
export LOGLEVEL=5
}

prerequisites_vpc_load_balancer(){
Expand Down Expand Up @@ -167,6 +163,12 @@ main(){
HEART_BEAT_PID=$(echo $!)
fi

# Set common variables
export LOGLEVEL=5
# Setting controller loglevel to allow debug logs from the VPC/PowerVS client
export DOCKER_BUILDKIT=1


if [[ "${E2E_FLAVOR}" == "powervs" || "${E2E_FLAVOR}" == "powervs-md-remediation" ]]; then
prerequisites_powervs
init_network_powervs
Expand Down

0 comments on commit e543239

Please sign in to comment.