Skip to content

Commit

Permalink
ci: move image into default and ignore image for windows jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
CMCDragonkai committed Sep 26, 2022
1 parent c918000 commit d00dd15
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
6 changes: 4 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ variables:
HOMEBREW_CACHE: "${CI_PROJECT_DIR}/tmp/Homebrew"

default:
image: registry.gitlab.com/matrixai/engineering/maintenance/gitlab-runner
interruptible: true
before_script:
# Replace this in windows runners that use powershell
Expand All @@ -43,8 +44,6 @@ stages:
- integration # Cross-platform application bundling, integration tests, and pre-release
- release # Cross-platform distribution and deployment

image: registry.gitlab.com/matrixai/engineering/maintenance/gitlab-runner

check:scratch:
stage: check
needs: [ ]
Expand Down Expand Up @@ -381,6 +380,9 @@ integration:linux:
- if: $CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+(?:-.*[0-9]+)?$/

.integration:windows:
inherit:
default:
- interruptible
stage: integration
needs:
- integration:builds
Expand Down
6 changes: 4 additions & 2 deletions scripts/build-platforms-generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ variables:
HOMEBREW_CACHE: "${CI_PROJECT_DIR}/tmp/Homebrew"
default:
image: registry.gitlab.com/matrixai/engineering/maintenance/gitlab-runner
interruptible: true
before_script:
# Replace this in windows runners that use powershell
Expand All @@ -50,8 +51,6 @@ cache:
stages:
- build # Cross-platform library compilation, unit tests
image: registry.gitlab.com/matrixai/engineering/maintenance/gitlab-runner
EOF

printf "\n"
Expand Down Expand Up @@ -114,6 +113,9 @@ build:linux index:
coverage: '/All files[^|]*\|[^|]*\s+([\d\.]+)/'
.build:windows:
inherit:
default:
- interruptible
stage: build
needs: []
EOF
Expand Down
3 changes: 1 addition & 2 deletions scripts/check-test-generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ variables:
npm_config_prefer_offline: "true"
default:
image: registry.gitlab.com/matrixai/engineering/maintenance/gitlab-runner
interruptible: true
before_script:
# Replace this in windows runners that use powershell
Expand All @@ -41,8 +42,6 @@ cache:
stages:
- check # Linting, unit tests
image: registry.gitlab.com/matrixai/engineering/maintenance/gitlab-runner
EOF

printf "\n"
Expand Down

0 comments on commit d00dd15

Please sign in to comment.