Skip to content

Commit

Permalink
Move bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
twometresteve committed Sep 18, 2023
1 parent bd72a11 commit a190539
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 104 deletions.
103 changes: 0 additions & 103 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,5 @@
steps:

#
# License audit
#
- label: ":copyright: License Audit"
timeout_in_minutes: 20
agents:
queue: opensource-arm-mac-cocoa-12
env:
DEVELOPER_DIR: /Applications/Xcode13.4.app
command: scripts/license_finder.sh

#
# Android builder base - used by React Native and React Native CLI
#
- label: ":docker: Build Android Builder base image"
key: "android-builder-base"
timeout_in_minutes: 30
plugins:
- docker-compose#v4.12.0:
build: android-builder-base
image-repository: 855461928731.dkr.ecr.us-west-1.amazonaws.com/js
cache-from: android-builder-base:855461928731.dkr.ecr.us-west-1.amazonaws.com/js:android-builder-base
- docker-compose#v4.12.0:
push: android-builder-base:855461928731.dkr.ecr.us-west-1.amazonaws.com/js:android-builder-base

#
# Publish/package notifier
#
Expand All @@ -36,26 +11,6 @@ steps:
run: minimal-packager
artifact_paths: min_packages.tar

- label: ":docker: Build and publish JS packages"
key: "publish-js"
timeout_in_minutes: 30
plugins:
- docker-compose#v4.12.0:
build: publisher
image-repository: 855461928731.dkr.ecr.us-west-1.amazonaws.com/js

- label: ":aws-lambda: AWS Lambda tests"
timeout_in_minutes: 35
agents:
queue: "opensource-mac-cocoa-10.15"
commands:
# force the NPM registry as the default on CI is artifactory, which can't
# currently install from our lockfile
- npm ci --registry https://registry.npmjs.org
- cd test/aws-lambda
- bundle install
- bundle exec maze-runner

#
# Core tests and checks
#
Expand All @@ -78,61 +33,3 @@ steps:
- 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: "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: ":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: 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 (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
2 changes: 1 addition & 1 deletion dockerfiles/Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ RUN npm install --unsafe-perm
COPY babel.config.js lerna.json .eslintignore .eslintrc.js jest.config.js tsconfig.json ./
ADD min_packages.tar .
COPY bin ./bin
RUN npx lerna bootstrap
COPY scripts ./scripts
COPY test ./test
COPY packages ./packages
RUN npx lerna bootstrap
RUN npm run build

0 comments on commit a190539

Please sign in to comment.