Skip to content

Commit

Permalink
Fix scheduled CI jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
treiher committed Sep 1, 2023
1 parent fc7d80b commit 4385ae3
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,10 @@ workflow:
when: never
- if: $CI_COMMIT_BRANCH

.ci_job:
rules:
- if: $SCHEDULE == null || $SCHEDULE == "nightly"

##################
# Initialization #
##################

.initialization:
extends: .ci_job

.setup_alire: &setup_alire
- curl -Ls https://github.com/alire-project/alire/releases/download/v1.2.2/alr-1.2.2-x86_64.AppImage -o /tmp/alr.AppImage
- chmod +x /tmp/alr.AppImage
Expand Down Expand Up @@ -65,7 +58,6 @@ workflow:
- make init install

setup:
extends: .initialization
services:
- image:recordflux
- cpu:2
Expand Down Expand Up @@ -98,9 +90,10 @@ setup:
###########

.testing:
extends: .ci_job
needs:
- setup
rules:
- if: $SCHEDULE == null || $SCHEDULE == "nightly"

.setup_python: &setup_python
- export PATH=/it/e3/bin:$PATH
Expand Down

0 comments on commit 4385ae3

Please sign in to comment.