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

refactored ci to use inheritance

parent 5673be14
No related branches found
No related tags found
2 merge requests!7Merging 2024Q2_RC into main, creating 2024Q2 Release,!4Resolve "Create a pipeline to build and publish the docker image in gitlab registry"
Pipeline #3825 passed
stages:
- deploy
include:
- 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:
stage: deploy
image: maven:3.9.5-ibm-semeru-17-focal
script:
- mvn deploy -s ci_settings.xml -DskipTests
- 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_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