36 lines
1.0 KiB
YAML
36 lines
1.0 KiB
YAML
# CI for services, check gitlab repo for python package CI
|
|
include:
|
|
- project: "Gitlab/gitlab"
|
|
ref: main
|
|
file: "/ci-templates/research/versioning-build-test-release.gitlab-ci.yml"
|
|
- project: "Gitlab/gitlab"
|
|
ref: main
|
|
file: "/ci-templates/research/docs.gitlab-ci.yml"
|
|
|
|
# set project variables here
|
|
variables:
|
|
NEXUS_PROJECT_DIR: red # subfolder in Nexus docker-gin where your container will be stored
|
|
IMAGENAME: $CI_PROJECT_NAME # if the project URL is gitlab.example.com/group-name/project-1, CI_PROJECT_NAME is project-1
|
|
|
|
pages:
|
|
only:
|
|
- master # KEEP THIS, necessary because `master` branch and not `main` branch
|
|
|
|
###################
|
|
# INTEGRATION TESTS
|
|
trigger-integration-tests:
|
|
extends: .integration-tests
|
|
# ADD THE MODEL BUILD WHICH SHOULD TRIGGER THE INTEGRATION TESTS
|
|
# needs:
|
|
# - job: docker-build::model_name
|
|
# artifacts: true
|
|
rules:
|
|
- when: never
|
|
|
|
#########
|
|
# RELEASE
|
|
release:
|
|
extends: .release
|
|
needs:
|
|
- !reference [.needs-versioning, needs] # leave this line as is
|