Skip to content

Commit

Permalink
Output the ruby version
Browse files Browse the repository at this point in the history
  • Loading branch information
Cawllec committed Sep 12, 2023
1 parent 21825b4 commit 3dcf996
Showing 1 changed file with 69 additions and 68 deletions.
137 changes: 69 additions & 68 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ steps:
commands:
# force the NPM registry as the default on CI is artifactory, which can't
# currently install from our lockfile
- ruby -v
- npm ci --registry https://registry.npmjs.org
- cd test/aws-lambda
- bundle install
Expand All @@ -59,80 +60,80 @@ steps:
#
# Core tests and checks
#
- label: ":docker: Build CI image"
key: "ci-image"
depends_on: "package-js"
timeout_in_minutes: 20
plugins:
- artifacts#v1.5.0:
download: min_packages.tar
- docker-compose#v4.12.0:
build:
- ci
image-repository: 855461928731.dkr.ecr.us-west-1.amazonaws.com/js
cache-from:
- ci:855461928731.dkr.ecr.us-west-1.amazonaws.com/js:ci-base-${BRANCH_NAME}
- ci:855461928731.dkr.ecr.us-west-1.amazonaws.com/js:ci-base
- docker-compose#v4.12.0:
push:
- ci:855461928731.dkr.ecr.us-west-1.amazonaws.com/js:ci-base-${BRANCH_NAME}
- ci:855461928731.dkr.ecr.us-west-1.amazonaws.com/js:ci-base
# - label: ":docker: Build CI image"
# key: "ci-image"
# depends_on: "package-js"
# timeout_in_minutes: 20
# plugins:
# - artifacts#v1.5.0:
# download: min_packages.tar
# - docker-compose#v4.12.0:
# build:
# - ci
# image-repository: 855461928731.dkr.ecr.us-west-1.amazonaws.com/js
# cache-from:
# - ci:855461928731.dkr.ecr.us-west-1.amazonaws.com/js:ci-base-${BRANCH_NAME}
# - ci:855461928731.dkr.ecr.us-west-1.amazonaws.com/js:ci-base
# - docker-compose#v4.12.0:
# push:
# - ci:855461928731.dkr.ecr.us-west-1.amazonaws.com/js:ci-base-${BRANCH_NAME}
# - ci:855461928731.dkr.ecr.us-west-1.amazonaws.com/js:ci-base

- label: "Lint"
depends_on: "ci-image"
timeout_in_minutes: 10
plugins:
docker-compose#v4.12.0:
run: ci
command: "npm run test:lint"
# - label: "Lint"
# depends_on: "ci-image"
# timeout_in_minutes: 10
# plugins:
# docker-compose#v4.12.0:
# run: ci
# command: "npm run test:lint"

- label: "Unit tests"
depends_on: "ci-image"
timeout_in_minutes: 10
plugins:
docker-compose#v4.12.0:
run: ci
command: "npm run test:unit"
# - label: "Unit tests"
# depends_on: "ci-image"
# timeout_in_minutes: 10
# plugins:
# docker-compose#v4.12.0:
# run: ci
# command: "npm run test:unit"

- label: "Type checks/tests"
depends_on: "ci-image"
timeout_in_minutes: 10
plugins:
docker-compose#v4.12.0:
run: ci
command: "npm run test:types"
# - label: "Type checks/tests"
# depends_on: "ci-image"
# timeout_in_minutes: 10
# plugins:
# docker-compose#v4.12.0:
# run: ci
# command: "npm run test:types"

- label: ":large_blue_circle: :large_blue_circle: :large_blue_circle: BROWSER STEPS :large_blue_circle: :large_blue_circle: :large_blue_circle:"
depends_on: "package-js"
commands:
- buildkite-agent pipeline upload .buildkite/basic/browser-pipeline.yml
# - label: ":large_blue_circle: :large_blue_circle: :large_blue_circle: BROWSER STEPS :large_blue_circle: :large_blue_circle: :large_blue_circle:"
# depends_on: "package-js"
# commands:
# - buildkite-agent pipeline upload .buildkite/basic/browser-pipeline.yml

- label: ":large_blue_circle: :large_blue_circle: :large_blue_circle: ELECTRON STEPS :large_blue_circle: :large_blue_circle: :large_blue_circle:"
skip: Skipped pending PLAT-10345
commands:
- buildkite-agent pipeline upload .buildkite/basic/electron-pipeline.yml
# - label: ":large_blue_circle: :large_blue_circle: :large_blue_circle: ELECTRON STEPS :large_blue_circle: :large_blue_circle: :large_blue_circle:"
# skip: Skipped pending PLAT-10345
# commands:
# - buildkite-agent pipeline upload .buildkite/basic/electron-pipeline.yml

- label: ":large_blue_circle: :large_blue_circle: :large_blue_circle: NODE STEPS :large_blue_circle: :large_blue_circle: :large_blue_circle:"
depends_on: "package-js"
commands:
- buildkite-agent pipeline upload .buildkite/basic/node-pipeline.yml
# - label: ":large_blue_circle: :large_blue_circle: :large_blue_circle: NODE STEPS :large_blue_circle: :large_blue_circle: :large_blue_circle:"
# depends_on: "package-js"
# commands:
# - buildkite-agent pipeline upload .buildkite/basic/node-pipeline.yml

- label: ":large_blue_circle: :large_blue_circle: :large_blue_circle: REACT NATIVE (ANDROID) STEPS :large_blue_circle: :large_blue_circle: :large_blue_circle:"
depends_on:
- "publish-js"
- "android-builder-base"
commands:
- buildkite-agent pipeline upload .buildkite/basic/react-native-android-pipeline.yml
# - label: ":large_blue_circle: :large_blue_circle: :large_blue_circle: REACT NATIVE (ANDROID) STEPS :large_blue_circle: :large_blue_circle: :large_blue_circle:"
# depends_on:
# - "publish-js"
# - "android-builder-base"
# commands:
# - buildkite-agent pipeline upload .buildkite/basic/react-native-android-pipeline.yml

- label: ":large_blue_circle: :large_blue_circle: :large_blue_circle: REACT NATIVE (IOS) STEPS :large_blue_circle: :large_blue_circle: :large_blue_circle:"
depends_on:
- "publish-js"
commands:
- buildkite-agent pipeline upload .buildkite/basic/react-native-ios-pipeline.yml
# - label: ":large_blue_circle: :large_blue_circle: :large_blue_circle: REACT NATIVE (IOS) STEPS :large_blue_circle: :large_blue_circle: :large_blue_circle:"
# depends_on:
# - "publish-js"
# commands:
# - buildkite-agent pipeline upload .buildkite/basic/react-native-ios-pipeline.yml

#
# Conditionally trigger full pipeline
#
- label: 'Conditionally trigger full set of tests'
timeout_in_minutes: 30
command: sh -c .buildkite/pipeline_trigger.sh
# #
# # Conditionally trigger full pipeline
# #
# - label: 'Conditionally trigger full set of tests'
# timeout_in_minutes: 30
# command: sh -c .buildkite/pipeline_trigger.sh

0 comments on commit 3dcf996

Please sign in to comment.