mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 14:41:31 +02:00
Merge pull request #269 from flatcar-linux/tormath1/fix-gce
kola/gce: shrink hostname to be lower than 63 char
This commit is contained in:
commit
146e8915e7
@ -13,9 +13,9 @@ if [[ "${OFFER}" != "basic" ]]; then
|
|||||||
OEM_SUFFIX="_${OFFER}"
|
OEM_SUFFIX="_${OFFER}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Create a name that includes the OEM_SUFFIX,
|
# Create a name that includes the OFFER,
|
||||||
# but replace _ with -, as gcloud doesn't like it otherwise.
|
# but replace _ with -, as gcloud doesn't like it otherwise.
|
||||||
OEMNAME="jenkins-${JOB_NAME##*/}${OEM_SUFFIX}-${BUILD_NUMBER}"
|
OEMNAME="${OFFER}-${BUILD_NUMBER}"
|
||||||
NAME=${OEMNAME//_/-}
|
NAME=${OEMNAME//_/-}
|
||||||
|
|
||||||
bin/ore gcloud create-image \
|
bin/ore gcloud create-image \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user