Skip to content

Commit 5e505ec

Browse files
authored
Add DOCKER_BUILDKIT var to fix E2E tests (#1189)
1 parent 77cb6d6 commit 5e505ec

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

scripts/ci-e2e.sh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,6 @@ prerequisites_powervs(){
111111
export IBMPOWERVS_IMAGE_NAME=${IBMPOWERVS_IMAGE_NAME:-"capibm-powervs-centos-streams8-1-25-1"}
112112
export IBMPOWERVS_SERVICE_INSTANCE_ID=${BOSKOS_RESOURCE_ID:-"d53da3bf-1f4a-42fa-9735-acf16b1a05cd"}
113113
export IBMPOWERVS_NETWORK_NAME="capi-net-$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | head --bytes 5)"
114-
# Setting controller loglevel to allow debug logs from the PowerVS client
115-
export LOGLEVEL=5
116114
}
117115

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

131127
prerequisites_vpc_load_balancer(){
@@ -167,6 +163,12 @@ main(){
167163
HEART_BEAT_PID=$(echo $!)
168164
fi
169165

166+
# Set common variables
167+
export LOGLEVEL=5
168+
# Setting controller loglevel to allow debug logs from the VPC/PowerVS client
169+
export DOCKER_BUILDKIT=1
170+
171+
170172
if [[ "${E2E_FLAVOR}" == "powervs" || "${E2E_FLAVOR}" == "powervs-md-remediation" ]]; then
171173
prerequisites_powervs
172174
init_network_powervs

0 commit comments

Comments
 (0)