-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: only run scheduled jobs on schedule
- Loading branch information
Showing
1 changed file
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -101,6 +101,8 @@ test_tvm: | |
allow_failure: false | ||
only: | ||
- main | ||
rules: | ||
- if: $CI_PIPELINE_SOURCE == "push" | ||
cache: | ||
paths: | ||
- .cache/ | ||
|
@@ -132,6 +134,8 @@ test_python_310: | |
- .cache/ | ||
only: | ||
- main | ||
rules: | ||
- if: $CI_PIPELINE_SOURCE == "push" | ||
|
||
|
||
build_docs: | ||
|
@@ -155,6 +159,8 @@ build_docs: | |
- docker | ||
only: | ||
- main | ||
rules: | ||
- if: $CI_PIPELINE_SOURCE == "push" | ||
|
||
# Empty dependencies to disable artifacts passing | ||
dependencies: [] | ||
|
@@ -196,8 +202,8 @@ ml_cloud_integration: | |
- set -e | ||
- scp scripts/ml_cloud_ci.sh [email protected]:/home/bringmann/cgerum05/ci/ml_cloud_ci.sh | ||
- ssh [email protected] /home/bringmann/cgerum05/ci/ml_cloud_ci.sh | ||
only: | ||
- triggers | ||
rules: | ||
- if: $CI_PIPELINE_SOURCE == "schedule" | ||
|
||
|
||
deploy to github: | ||
|
@@ -215,6 +221,8 @@ deploy to github: | |
only: | ||
- main | ||
- pub/.* | ||
rules: | ||
- if: $CI_PIPELINE_SOURCE == "push" | ||
script: ./scripts/git-push [email protected]:ekut-es/hannah.git $CI_COMMIT_REF_NAME | ||
tags: | ||
- docker |