Skip to content
Snippets Groups Projects
Commit 8ef7c94a authored by Jan David Mol's avatar Jan David Mol
Browse files

fix

parent 46e43203
Branches
Tags
2 merge requests!1092Resolve L2SS-2309 "Trigger deployment",!1090L2SS-2214: Add CI/CD deployment of CDB files
......@@ -590,9 +590,11 @@ deploy_CDB:
script:
- |
RENDER_CDB_JOB_ID=`cat render-cdb-job-id.txt`
echo $RENDER_CDB_JOB_ID
echo "render-cdb job ID: ${RENDER_CDB_JOB_ID}"
echo "Artefact URL: ${CI_PROJECT_URL}/-/jobs/${RENDER_CDB_JOB_ID}/artefacts/file/generated/CDB/deploy/${STATION}.json?inline=false"
CDB_JSON_URL="${CI_PROJECT_URL}/-/jobs/${RENDER_CDB_JOB_ID}/artefacts/file/generated/CDB/deploy/${STATION}.json?inline=false"
echo "Artefact URL: ${CDB_JSON_URL}"
if [ "${STATION}" == "dts-lab" ]; then
# dts-lab test station
......@@ -604,4 +606,4 @@ deploy_CDB:
REGION="lofar-${STATION}"
fi
#nomad job dispatch -address="http://${HOSTNAME}:4646" -region="$PREGION}" dsconfig -meta cdb_json_url=${CDB_JSON_URL}
#nomad job dispatch -address="http://${HOSTNAME}:4646" -region="${REGION}" dsconfig -meta cdb_json_url="${CDB_JSON_URL}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment