Update .gitlab-ci.yaml
This commit is contained in:
parent
55795b9e58
commit
78b8f18865
@ -1,34 +1,17 @@
|
||||
include:
|
||||
- project: "Gitlab/gitlab"
|
||||
file: "/ci-templates/research/dvc.gitlab-ci.yml"
|
||||
- project: "Gitlab/gitlab"
|
||||
file: "/ci-templates/research/versioning-build-test-release.gitlab-ci.yml"
|
||||
# file: "/ci-templates/research/versioning-build+azure_model-test-release.gitlab-ci.yml"
|
||||
|
||||
variables:
|
||||
NEXUS_PROJECT_DIR: red
|
||||
IMAGENAME: "${CI_PROJECT_NAME}"
|
||||
|
||||
stages:
|
||||
- data
|
||||
- setup
|
||||
- unit-tests
|
||||
- versioning
|
||||
- build
|
||||
- integration-tests
|
||||
- release
|
||||
|
||||
###################
|
||||
# INTEGRATION TESTS
|
||||
trigger-integration-tests:
|
||||
# The Docker image that will be used to build your app
|
||||
image: python:3.10-slim
|
||||
# Functions that should be executed before the build script is run
|
||||
before_script:
|
||||
- pip install poetry
|
||||
- poetry install
|
||||
pages:
|
||||
script:
|
||||
- make docs
|
||||
artifacts:
|
||||
paths:
|
||||
# The folder that contains the files to be exposed at the Page URL
|
||||
- public
|
||||
rules:
|
||||
- when: never # temp. disable integration tests
|
||||
|
||||
#########
|
||||
# RELEASE
|
||||
release:
|
||||
extends: .release
|
||||
needs:
|
||||
- !reference [.needs-versioning, needs] # leave this line as is
|
||||
- job: dvc-pull
|
||||
artifacts: true
|
||||
# This ensures that only pushes to the default branch will trigger
|
||||
# a pages deploy
|
||||
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user