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

used dynamic ref in inheritance

parent c03675aa
Branches
Tags
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 #3866 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 - project: osl/code/org.etsi.osl.main
ref: 12-update-gitlab-ci-file-to-use-inherited-jobs-from-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
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.
Please to comment