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

fix

parent 215caddf
No related branches found
1 merge request!1092Resolve L2SS-2309 "Trigger deployment"
Pipeline #117114 waiting for manual action
Pipeline: tango

#117116

    ......@@ -32,18 +32,12 @@ deploy_nomad:
    deploy_CDB:
    stage: deploy
    needs:
    - pipeline: $PARENT_PIPELINE_ID
    job: render_CDB
    image:
    name: hashicorp/nomad
    entrypoint: [ "" ]
    script:
    - |
    RENDER_CDB_JOB_ID=`cat generated/render-cdb-job-id.txt`
    echo "render-cdb job ID: ${RENDER_CDB_JOB_ID}"
    CDB_JSON_URL="${CI_PROJECT_URL}/-/jobs/${RENDER_CDB_JOB_ID}/artifacts/raw/generated/CDB/deploy/${STATION}.json?inline=false"
    CDB_JSON_URL="s3::https://s3.lofar.net:9000/central-cdb/${CI_COMMIT_REF_SLUG}/${STATION}.json"
    echo "Artifact URL: ${CDB_JSON_URL}"
    ......
    ......@@ -163,8 +163,6 @@ render_CDB:
    mkdir -p generated/CDB/deploy
    echo "${CI_JOB_ID}" > ${CI_PROJECT_DIR}/generated/render-cdb-job-id.txt
    cd CDB/
    for STATION in ${LOFAR2_STATIONS}; do
    ......@@ -638,6 +636,7 @@ deploy_nomad_manual:
    needs:
    - docker_build
    - docker_build_device_base
    - upload_CDB_minio
    variables:
    PARENT_PIPELINE_ID: $CI_PIPELINE_ID
    trigger:
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment