diff --git a/ci-operator/step-registry/ipi/conf/powervs/ipi-conf-powervs-commands.sh b/ci-operator/step-registry/ipi/conf/powervs/ipi-conf-powervs-commands.sh index 5c9eb4bb112c2..731b74faedcf9 100755 --- a/ci-operator/step-registry/ipi/conf/powervs/ipi-conf-powervs-commands.sh +++ b/ci-operator/step-registry/ipi/conf/powervs/ipi-conf-powervs-commands.sh @@ -59,6 +59,18 @@ if [[ -n "${CLUSTER_NAME_MODIFIER}" ]]; then # Hopefully the entire hostname (including the BASE_DOMAIN) is less than 255 bytes. # Also, the CLUSTER_NAME seems to be truncated at 21 characters long. case "${LEASED_RESOURCE}" in + "dal10-powervs-3-quota-slice-0") + CLUSTER_NAME="p-dal10-0-${CLUSTER_NAME_MODIFIER}" + ;; + "dal10-powervs-3-quota-slice-1") + CLUSTER_NAME="p-dal10-1-${CLUSTER_NAME_MODIFIER}" + ;; + "dal10-powervs-3-quota-slice-2") + CLUSTER_NAME="p-dal10-2-${CLUSTER_NAME_MODIFIER}" + ;; + "dal10-powervs-3-quota-slice-3") + CLUSTER_NAME="p-dal10-3-${CLUSTER_NAME_MODIFIER}" + ;; "lon04-powervs-6-quota-slice-0") CLUSTER_NAME="p-lon04-0-${CLUSTER_NAME_MODIFIER}" ;; @@ -134,9 +146,28 @@ POWERVS_ZONE=${LEASED_RESOURCE} PERSISTENT_TG="" PERSISTENT_VPC="" case "${LEASED_RESOURCE}" in - "dal10") - POWERVS_SERVICE_INSTANCE_ID=$(cat "/var/run/powervs-ipi-cicd-secrets/powervs-creds/POWERVS_SERVICE_INSTANCE_ID_DAL10") + "dal10-powervs-3-quota-slice-0") + POWERVS_SERVICE_INSTANCE_ID=$(cat "/var/run/powervs-ipi-cicd-secrets/powervs-creds/POWERVS_SERVICE_INSTANCE_ID_DAL10-0") + POWERVS_REGION=dal + POWERVS_ZONE=dal10 + VPCREGION=us-south + ;; + "dal10-powervs-3-quota-slice-1") + POWERVS_SERVICE_INSTANCE_ID=$(cat "/var/run/powervs-ipi-cicd-secrets/powervs-creds/POWERVS_SERVICE_INSTANCE_ID_DAL10-1") + POWERVS_REGION=dal + POWERVS_ZONE=dal10 + VPCREGION=us-south + ;; + "dal10-powervs-3-quota-slice-2") + POWERVS_SERVICE_INSTANCE_ID=$(cat "/var/run/powervs-ipi-cicd-secrets/powervs-creds/POWERVS_SERVICE_INSTANCE_ID_DAL10-2") + POWERVS_REGION=dal + POWERVS_ZONE=dal10 + VPCREGION=us-south + ;; + "dal10-powervs-3-quota-slice-3") + POWERVS_SERVICE_INSTANCE_ID=$(cat "/var/run/powervs-ipi-cicd-secrets/powervs-creds/POWERVS_SERVICE_INSTANCE_ID_DAL10-3") POWERVS_REGION=dal + POWERVS_ZONE=dal10 VPCREGION=us-south ;; "fran-powervs-8-quota-slice-0") diff --git a/core-services/prow/02_config/_boskos.yaml b/core-services/prow/02_config/_boskos.yaml index 55b8e2e7138f8..cfa43215936af 100644 --- a/core-services/prow/02_config/_boskos.yaml +++ b/core-services/prow/02_config/_boskos.yaml @@ -5379,7 +5379,10 @@ resources: state: free type: powervs-2-quota-slice - names: - - dal10 + - dal10-powervs-3-quota-slice-0 + - dal10-powervs-3-quota-slice-1 + - dal10-powervs-3-quota-slice-2 + - dal10-powervs-3-quota-slice-3 state: free type: powervs-3-quota-slice - names: diff --git a/core-services/prow/02_config/generate-boskos.py b/core-services/prow/02_config/generate-boskos.py index dd87cfb877d0b..e8075050d024a 100755 --- a/core-services/prow/02_config/generate-boskos.py +++ b/core-services/prow/02_config/generate-boskos.py @@ -465,9 +465,7 @@ 'syd04': 1, 'syd05': 1, }, - 'powervs-3-quota-slice': { - 'dal10': 1, - }, + 'powervs-3-quota-slice': {}, 'powervs-4-quota-slice': { 'wdc06': 1, }, @@ -731,6 +729,9 @@ for i in range(0,80): CONFIG['vsphere-elastic-quota-slice']['vsphere-elastic-{}'.format(i)] = 1 +for i in range(4): + CONFIG['powervs-3-quota-slice']['dal10-powervs-3-quota-slice-{}'.format(i)] = 1 + for i in range(4): CONFIG['powervs-5-quota-slice']['mad02-powervs-5-quota-slice-{}'.format(i)] = 1