Skip to content

[CI] Pass both main and ivas-float-update commit to other jobs in MR pipelines

This only happens for main currently to fix the commit over the whole pipeline and also needs to happen for ivas-float-update.

flowchart TD
    A{Branch is up-to-date with target?}
    B(exit 1 - failure. Artifacts: None)
    C(Get target branch current commit SHA and store in file for artifacts)
    F(Get float_ref branch - which can be ivas-float-update or not - from CI_MERGE_REQUEST_SOURCE_BRANCH_NAME)
    G(Get float_ref current commit SHA and store in file for artifacts)
    H(Get ivas-float-update current commit SHA and store in file for artifacts)
    I(exit 0 - success. Artifacts: MERGE_TARGET_COMMIT_FILE, FLOAT_REF_COMMIT_FILE)
    
    A -->|No| B
    A -->|Yes| C
    C --> F
    F --> G
    G --> H
    H --> I
Edited by Jan Kiene