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

refactor(ci): Changes only to rules

parent 616c24c0
No related branches found
No related tags found
No related merge requests found
Pipeline #372614 passed
...@@ -65,7 +65,9 @@ clang-format: ...@@ -65,7 +65,9 @@ clang-format:
- if [ ! -z "$linter_errors" ]; then echo "Detected formatting issues; please fix"; exit 1; else echo "Formatting is correct"; exit 0; fi - if [ ! -z "$linter_errors" ]; then echo "Detected formatting issues; please fix"; exit 1; else echo "Formatting is correct"; exit 0; fi
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"
...@@ -75,7 +77,9 @@ Generate_Project: ...@@ -75,7 +77,9 @@ Generate_Project:
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
...@@ -90,7 +94,9 @@ Build_Windows: ...@@ -90,7 +94,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_
tags: tags:
- linux - linux
...@@ -106,14 +112,18 @@ Build_Linux: ...@@ -106,14 +112,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_vrdemo_ extends: .Deploy_vrdemo_
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