Skip to content

Commit

Permalink
CI: only run scheduled jobs on schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
cgerum committed Nov 27, 2023
1 parent 5dce3b0 commit f090565
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ test_tvm:
allow_failure: false
only:
- main
rules:
- if: $CI_PIPELINE_SOURCE == "push"
cache:
paths:
- .cache/
Expand Down Expand Up @@ -132,6 +134,8 @@ test_python_310:
- .cache/
only:
- main
rules:
- if: $CI_PIPELINE_SOURCE == "push"


build_docs:
Expand All @@ -155,6 +159,8 @@ build_docs:
- docker
only:
- main
rules:
- if: $CI_PIPELINE_SOURCE == "push"

# Empty dependencies to disable artifacts passing
dependencies: []
Expand Down Expand Up @@ -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:
Expand All @@ -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

0 comments on commit f090565

Please sign in to comment.