Skip to content

Commit

Permalink
Replace service-target with worskpace after power-iaas plugin update
Browse files Browse the repository at this point in the history
  • Loading branch information
Amulyam24 committed Jan 31, 2024
1 parent 487c58c commit 2dfa5a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/ci-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ mkdir -p "${ARTIFACTS}/logs/"

ARCH=$(uname -m)
OS=$(uname -s)
IBMCLOUD_CLI_VERSION=${IBMCLOUD_CLI_VERSION:-"2.21.0"}
IBMCLOUD_CLI_VERSION=${IBMCLOUD_CLI_VERSION:-"2.22.1"}
E2E_FLAVOR=${E2E_FLAVOR:-}
capibmadm=$(pwd)/bin/capibmadm

Expand Down Expand Up @@ -92,7 +92,7 @@ create_powervs_network_instance(){
# Install power-iaas command-line plug-in and target the required service instance
ibmcloud plugin install power-iaas -f
CRN=$(ibmcloud resource service-instance ${IBMPOWERVS_SERVICE_INSTANCE_ID} --output json | jq -r '.[].crn')
ibmcloud pi service-target ${CRN}
ibmcloud pi workspace target ${CRN}

# Create the network instance
${capibmadm} powervs network create --name ${IBMPOWERVS_NETWORK_NAME} --service-instance-id ${IBMPOWERVS_SERVICE_INSTANCE_ID} --zone ${ZONE}
Expand Down

0 comments on commit 2dfa5a3

Please sign in to comment.