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

refactored ci to use inheritance

parent 08cebcd2
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 #3827 passed
stages: include:
- deploy - project: osl/code/org.etsi.osl.main
ref: 12-update-gitlab-ci-file-to-use-inherited-jobs-from-main
file:
- ci-templates/default.yml
- ci-templates/build.yml
only:
- main
- develop
deploy: - project: osl/code/org.etsi.osl.main
stage: deploy ref: 12-update-gitlab-ci-file-to-use-inherited-jobs-from-main
image: maven:3.9.5-ibm-semeru-17-focal file:
script: - ci-templates/default.yml
- mvn deploy -s ci_settings.xml -DskipTests - ci-templates/build_unprotected.yml
except:
- main
- develop
maven_build:
extends: .maven_build
docker_build:
extends: .docker_build
needs:
- maven_build
File moved
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