Skip to content
Snippets Groups Projects
Commit 4186db4d authored by David Gilbert's avatar David Gilbert :bug:
Browse files

only -> rules in ci

parent 682e2b5c
No related branches found
No related tags found
No related merge requests found
Pipeline #387398 passed
...@@ -46,14 +46,18 @@ stages: ...@@ -46,14 +46,18 @@ stages:
- deploy - deploy
Generate_Project: Generate_Project:
only: ['web', 'schedules'] rules:
- if: $CI_PIPELINE_SOURCE == "web"
- if: $CI_PIPELINE_SOURCE == "schedule"
extends: .Generate_Project_ extends: .Generate_Project_
variables: variables:
RUN_SETUP: "false" RUN_SETUP: "false"
GEN_TEMPLATE_BRANCH: "4.26" GEN_TEMPLATE_BRANCH: "4.26"
Build_Windows: Build_Windows:
only: ['web', 'schedules'] rules:
- if: $CI_PIPELINE_SOURCE == "web"
- if: $CI_PIPELINE_SOURCE == "schedule"
extends: .Build_Windows_ extends: .Build_Windows_
tags: tags:
- windows - windows
...@@ -68,7 +72,9 @@ Build_Windows: ...@@ -68,7 +72,9 @@ Build_Windows:
artifacts: true artifacts: true
Build_Linux: Build_Linux:
only: ['web', 'schedules'] rules:
- if: $CI_PIPELINE_SOURCE == "web"
- if: $CI_PIPELINE_SOURCE == "schedule"
extends: .Build_Linux_ extends: .Build_Linux_
# override image from base script as there is no official 4.26 image # override image from base script as there is no official 4.26 image
image: registry.git-ce.rwth-aachen.de/vr-vis/vr-group/unreal-development/unreal-docker-ci-images/4-26_linux image: registry.git-ce.rwth-aachen.de/vr-vis/vr-group/unreal-development/unreal-docker-ci-images/4-26_linux
...@@ -85,14 +91,18 @@ Build_Linux: ...@@ -85,14 +91,18 @@ Build_Linux:
artifacts: true artifacts: true
Deploy_Windows: Deploy_Windows:
only: ['web', 'schedules'] rules:
- if: $CI_PIPELINE_SOURCE == "web"
- if: $CI_PIPELINE_SOURCE == "schedule"
extends: .Deploy_VRDev_ extends: .Deploy_VRDev_
needs: needs:
- job: "Build_Windows" - job: "Build_Windows"
artifacts: true artifacts: true
Deploy_CAVE: Deploy_CAVE:
only: ['web', 'schedules'] rules:
- if: $CI_PIPELINE_SOURCE == "web"
- if: $CI_PIPELINE_SOURCE == "schedule"
extends: .Deploy_CAVE_ extends: .Deploy_CAVE_
needs: needs:
- job: "Build_Linux" - job: "Build_Linux"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment