Skip to content
Snippets Groups Projects
Commit 5fdca7e2 authored by David Gabriel Monk's avatar David Gabriel Monk
Browse files

Merge branch 'new-ci-configs' into 'master'

Update CI configs to new templates

See merge request !89
parents 1a9502e0 c36938ff
No related branches found
No related tags found
1 merge request!89Update CI configs to new templates
Pipeline #9311074 failed
Pipeline: Outer Tracker DTC

#9311136

    include: include:
    - project: "cms-tracker-phase2-data-processing/BE_firmware/emp-pipeline" - project: "cms-tracker-phase2-data-processing/BE_firmware/emp-pipeline"
    file: "/ci/templates/vivado-jobs.yml" file: "/ci/templates/vivado-jobs-$PIPELINE_TYPE.yml"
    - local: 'sims.gitlab-ci.yml' - local: 'sims.gitlab-ci.yml'
    variables: variables:
    IPBB_OS: "c8" VIVADO_VERSION: "2023.2"
    VIVADO_VER: "2023.2"
    PROJECT_DEPFILE: ${PROJECT_DEPFILE} PROJECT_DEPFILE: ${PROJECT_DEPFILE}
    PROJECT_ALGORITHM: ${PROJECT_ALGORITHM} PROJECT_ALGORITHM: ${PROJECT_ALGORITHM}
    PROJECT_NAME: "dtc" PROJECT_NAME: "dtc"
    EMPHUB_TAG: ${EMPHUB_TAG} EMPHUB_TAG: ${EMPHUB_TAG}
    IPBB_VER: "dev-2024b-v1.5" IPBB_VERSION: "dev/2024e"
    .vivado-job-build:
    tags:
    - kubernetes
    Generate Declaration Files: Generate Declaration Files:
    stage: Generate Files stage: Generate Files
    image: python image: registry.cern.ch/docker.io/library/python
    before_script: before_script:
    - pip install --extra-index-url https://gitlab.cern.ch/api/v4/projects/186983/packages/pypi/simple dtcgenerator==0.0.6 - pip install --extra-index-url https://gitlab.cern.ch/api/v4/projects/186983/packages/pypi/simple dtcgenerator==0.0.6
    - apt-get update && apt-get install -y tree - apt-get update && apt-get install -y tree
    ...@@ -33,12 +28,11 @@ Generate Declaration Files: ...@@ -33,12 +28,11 @@ Generate Declaration Files:
    - ci/generated-files - ci/generated-files
    Make Project: Make Project:
    before_script: needs:
    - mkdir -p ci/builds - Check Dependencies
    - source /opt/Xilinx/Vivado/$VIVADO_VER/settings64.sh - Generate Declaration Files
    - rsync -rv --ignore-missing-args ci/generated-files/* ./ # Move generated files to their correct locations
    - python3 /ci-tools/setup_project.py $CI_PROJECT_DIR/dependencies.yml
    script: script:
    - rsync -rv --ignore-missing-args ci/generated-files/* ./ci/builds/work/src/dtc/ # Move generated files to their correct locations
    - cd ci/builds/work - cd ci/builds/work
    - ipbb proj create vivado $PROJECT_NAME $BUILD_REPO:$PROJECT_ALGORITHM $PROJECT_DEPFILE - ipbb proj create vivado $PROJECT_NAME $BUILD_REPO:$PROJECT_ALGORITHM $PROJECT_DEPFILE
    - cd proj/$PROJECT_NAME - cd proj/$PROJECT_NAME
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment