Skip to content
Snippets Groups Projects
Commit 1ef93f15 authored by Dimitrios Giannopoulos's avatar Dimitrios Giannopoulos
Browse files

used dynamic ref in inheritance

parent 8a314b7e
No related branches found
No related tags found
2 merge requests!8Merging 2024Q2_RC into main, creating 2024Q2 Release,!5Resolve "Create a pipeline to build and publish the docker image in gitlab registry"
Pipeline #3864 passed
include: include:
- project: osl/code/org.etsi.osl.main - project: osl/code/org.etsi.osl.main
ref: 12-update-gitlab-ci-file-to-use-inherited-jobs-from-main ref: main
file: file:
- ci-templates/default.yml - ci-templates/default.yml
- ci-templates/build.yml - ci-templates/build.yml
only: rules:
- main - if: '$CI_COMMIT_REF_NAME == "main"'
- develop
- project: osl/code/org.etsi.osl.main
ref: develop
file:
- ci-templates/default.yml
- ci-templates/build.yml
rules:
- if: '$CI_COMMIT_REF_NAME == "develop"'
- project: osl/code/org.etsi.osl.main - project: osl/code/org.etsi.osl.main
ref: 12-update-gitlab-ci-file-to-use-inherited-jobs-from-main ref: develop
file: file:
- ci-templates/default.yml - ci-templates/default.yml
- ci-templates/build_unprotected.yml - ci-templates/build_unprotected.yml
except: rules:
- main - if: '$CI_COMMIT_REF_NAME != "main" && $CI_COMMIT_REF_NAME != "develop"'
- develop
maven_build: maven_build:
extends: .maven_build extends: .maven_build
......
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