Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
;;
Expand Down Expand Up @@ -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")
Expand Down
5 changes: 4 additions & 1 deletion core-services/prow/02_config/_boskos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
7 changes: 4 additions & 3 deletions core-services/prow/02_config/generate-boskos.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,9 +465,7 @@
'syd04': 1,
'syd05': 1,
},
'powervs-3-quota-slice': {
'dal10': 1,
},
'powervs-3-quota-slice': {},
'powervs-4-quota-slice': {
'wdc06': 1,
},
Expand Down Expand Up @@ -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

Expand Down