Revision e9558dc11b31b908f3af142e403d33e91d417b8a authored by Albert Tian Chen on 24 January 2021, 10:43:42 UTC, committed by Albert Tian Chen on 24 January 2021, 10:43:42 UTC
1 parent 86cf54a
Raw File
build.sh
#!/bin/bash

if [[ -z "${CG_VERSION}" ]]; then
    echo "CG_VERSION undefined"
    exit 1
else
    echo "Building version: ${CG_VERSION}"
fi

gcloud builds submit \
    --config build/cloudbuild_gisaid.yaml \
    --substitutions=TAG_NAME="${CG_VERSION}" . && \
gcloud builds submit \
    --config build/cloudbuild_gisaid_private.yaml \
    --substitutions=TAG_NAME="${CG_VERSION}" . && \
gcloud builds submit \
    --config build/cloudbuild_genbank.yaml \
    --substitutions=TAG_NAME="${CG_VERSION}" .
back to top