Skip to content

Commit

Permalink
Pipeline debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Cawllec committed Aug 16, 2024
1 parent 6b65dec commit 5e840e3
Show file tree
Hide file tree
Showing 2 changed files with 200 additions and 204 deletions.
148 changes: 72 additions & 76 deletions .buildkite/basic/electron-pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
steps:

#
# Node 14
#
- label: "Electron {{matrix.electron_version}} tests - macOS - Node {{matrix.node_version}}"
timeout_in_minutes: 40
agents:
Expand Down Expand Up @@ -33,78 +29,78 @@ steps:
#
# Ubuntu tests Node 18
#
- label: ":docker: Build Electron {{matrix.electron_version}} ubuntu test image"
timeout_in_minutes: 10
env:
ELECTRON_VERSION: "{{matrix.electron_version}}"
matrix:
setup:
electron_version:
- "^20.0.0"
- "^24.0.0"
- "^26.0.0"
- "^28.0.0"
- "^30.0.0"
plugins:
- docker-compose#v4.12.0:
build:
- electron-test-image
image-repository: 855461928731.dkr.ecr.us-west-1.amazonaws.com/js
cache-from:
- electron-test-image:855461928731.dkr.ecr.us-west-1.amazonaws.com/js:ci-electron-test-${BRANCH_NAME}-${matrix.electron_version}
- docker-compose#v4.12.0:
push:
- electron-ubuntu-test:855461928731.dkr.ecr.us-west-1.amazonaws.com/js:ci-electron-test-${BRANCH_NAME}-${matrix.electron_version}
# - label: ":docker: Build Electron {{matrix.electron_version}} ubuntu test image"
# timeout_in_minutes: 10
# env:
# ELECTRON_VERSION: "{{matrix.electron_version}}"
# matrix:
# setup:
# electron_version:
# - "^20.0.0"
# - "^24.0.0"
# - "^26.0.0"
# - "^28.0.0"
# - "^30.0.0"
# plugins:
# - docker-compose#v4.12.0:
# build:
# - electron-test-image
# image-repository: 855461928731.dkr.ecr.us-west-1.amazonaws.com/js
# cache-from:
# - electron-test-image:855461928731.dkr.ecr.us-west-1.amazonaws.com/js:ci-electron-test-${BRANCH_NAME}-${matrix.electron_version}
# - docker-compose#v4.12.0:
# push:
# - electron-ubuntu-test:855461928731.dkr.ecr.us-west-1.amazonaws.com/js:ci-electron-test-${BRANCH_NAME}-${matrix.electron_version}

- label: "Electron {{matrix.electron_version}} linting"
timeout_in_minutes: 10
env:
ELECTRON_VERSION: "{{matrix.electron_version}}"
matrix:
setup:
electron_version:
- "^20.0.0"
- "^24.0.0"
- "^26.0.0"
- "^28.0.0"
- "^30.0.0"
plugins:
- docker-compose#v4.12.0:
run: electron-test-image
command: npm run test:lint-native
# - label: "Electron {{matrix.electron_version}} linting"
# timeout_in_minutes: 10
# env:
# ELECTRON_VERSION: "{{matrix.electron_version}}"
# matrix:
# setup:
# electron_version:
# - "^20.0.0"
# - "^24.0.0"
# - "^26.0.0"
# - "^28.0.0"
# - "^30.0.0"
# plugins:
# - docker-compose#v4.12.0:
# run: electron-test-image
# command: npm run test:lint-native

- label: "Electron {{matrix.electron_version}} unit tests"
timeout_in_minutes: 10
env:
ELECTRON_VERSION: "{{matrix.electron_version}}"
matrix:
setup:
electron_version:
- "^20.0.0"
- "^24.0.0"
- "^26.0.0"
- "^28.0.0"
- "^30.0.0"
plugins:
- docker-compose#v4.12.0:
run: electron-test-image
command: npm run test:unit:electron-runner
# - label: "Electron {{matrix.electron_version}} unit tests"
# timeout_in_minutes: 10
# env:
# ELECTRON_VERSION: "{{matrix.electron_version}}"
# matrix:
# setup:
# electron_version:
# - "^20.0.0"
# - "^24.0.0"
# - "^26.0.0"
# - "^28.0.0"
# - "^30.0.0"
# plugins:
# - docker-compose#v4.12.0:
# run: electron-test-image
# command: npm run test:unit:electron-runner

- label: "Electron {{matrix.electron_version}} integration tests"
timeout_in_minutes: 10
env:
ELECTRON_VERSION: "{{matrix.electron_version}}"
matrix:
setup:
electron_version:
- "^20.0.0"
- "^24.0.0"
- "^26.0.0"
- "^28.0.0"
- "^30.0.0"
plugins:
- docker-compose#v4.12.0:
run: electron-test-image
command: npm run test:electron
artifact_paths:
- "test/electron/maze_output/**/*"
# - label: "Electron {{matrix.electron_version}} integration tests"
# timeout_in_minutes: 10
# env:
# ELECTRON_VERSION: "{{matrix.electron_version}}"
# matrix:
# setup:
# electron_version:
# - "^20.0.0"
# - "^24.0.0"
# - "^26.0.0"
# - "^28.0.0"
# - "^30.0.0"
# plugins:
# - docker-compose#v4.12.0:
# run: electron-test-image
# command: npm run test:electron
# artifact_paths:
# - "test/electron/maze_output/**/*"
Loading

0 comments on commit 5e840e3

Please sign in to comment.