Skip to content

Commit

Permalink
fix(ci): do not add IP flag as an argument
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavovalverde committed Oct 16, 2024
1 parent 9618efe commit b812f61
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/cd-deploy-nodes-gcp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ jobs:
- name: Create instance template for ${{ matrix.network }}
run: |
if [ -n "${{ env.IP_ADDRESS }}" ]; then
IP_FLAG="--address=${{ env.IP_ADDRESS }}"
IP_FLAG="--address=${{ env.IP_ADDRESS }} \"
fi
DISK_NAME="zebrad-cache-${{ env.GITHUB_HEAD_REF_SLUG_URL || env.GITHUB_REF_SLUG_URL }}-${{ env.GITHUB_SHA_SHORT }}-${NETWORK}"
DISK_PARAMS="name=${DISK_NAME},device-name=${DISK_NAME},size=400GB,type=pd-ssd"
Expand All @@ -319,7 +319,8 @@ jobs:
--boot-disk-type=pd-ssd \
--image-project=cos-cloud \
--image-family=cos-stable \
--network-interface=subnet=${{ vars.GCP_SUBNETWORK }} ${IP_FLAG} \
--network-interface=subnet=${{ vars.GCP_SUBNETWORK }} \
${IP_FLAG}
--create-disk="${DISK_PARAMS}" \
--container-mount-disk=mount-path='/var/cache/zebrad-cache',name=${DISK_NAME},mode=rw \
--container-stdin \
Expand Down

0 comments on commit b812f61

Please sign in to comment.