From 0e8b748b7b178eac94ad026b228b484ee93dacde Mon Sep 17 00:00:00 2001 From: Steve Kirkland Date: Thu, 19 Sep 2024 21:04:50 +0100 Subject: [PATCH] Maze Runner cleanup [full ci] --- .../full/react-native-cli-pipeline.full.yml | 14 -------- docker-compose.yml | 16 ---------- dockerfiles/Dockerfile.react-native-cli-tool | 32 ------------------- test/react-native/Gemfile | 2 +- 4 files changed, 1 insertion(+), 63 deletions(-) delete mode 100644 dockerfiles/Dockerfile.react-native-cli-tool diff --git a/.buildkite/full/react-native-cli-pipeline.full.yml b/.buildkite/full/react-native-cli-pipeline.full.yml index 2db86944d0..3eeb3fdb1d 100644 --- a/.buildkite/full/react-native-cli-pipeline.full.yml +++ b/.buildkite/full/react-native-cli-pipeline.full.yml @@ -2,20 +2,6 @@ steps: - group: "React Native CLI Tests" steps: - # - # CLI tests Maze Runner image - # - - label: ":docker: Build CLI test image" - key: "cli-maze-image" - timeout_in_minutes: 30 - plugins: - - docker-compose#v4.12.0: - build: react-native-cli-tool-maze-runner - image-repository: 855461928731.dkr.ecr.us-west-1.amazonaws.com/js - cache-from: react-native-cli-tool-maze-runner:855461928731.dkr.ecr.us-west-1.amazonaws.com/js:cli-maze-${BRANCH_NAME} - - docker-compose#v4.12.0: - push: react-native-cli-tool-maze-runner:855461928731.dkr.ecr.us-west-1.amazonaws.com/js:cli-maze-${BRANCH_NAME} - # # CLI tests # diff --git a/docker-compose.yml b/docker-compose.yml index 1d6de7e3c7..b9c64006e1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -137,22 +137,6 @@ services: - ./test:/app/test - ./features:/app/features - react-native-cli-tool-maze-runner: - build: - context: . - dockerfile: dockerfiles/Dockerfile.react-native-cli-tool - environment: - <<: *common-environment - REACT_NATIVE_VERSION: - NETWORK_NAME: "${BUILDKITE_JOB_ID:-react-native-cli-maze-runner}" - networks: - default: - aliases: - - maze-runner - volumes: - - /var/run/docker.sock:/var/run/docker.sock - - ./test/react-native-cli/maze_output:/app/maze_output - react-native-cli-android-builder: build: context: . diff --git a/dockerfiles/Dockerfile.react-native-cli-tool b/dockerfiles/Dockerfile.react-native-cli-tool deleted file mode 100644 index 07bdc15912..0000000000 --- a/dockerfiles/Dockerfile.react-native-cli-tool +++ /dev/null @@ -1,32 +0,0 @@ -# CI test image for building the CLI -FROM node:14-alpine as react-native-cli-feature-builder - -WORKDIR /app - -COPY package*.json ./ -RUN npm install - -COPY babel.config.js lerna.json .eslintignore .eslintrc.js jest.config.js tsconfig.json ./ -COPY bin ./bin -COPY packages ./packages - -RUN npm run bootstrap - -RUN npx lerna run build --scope @bugsnag/react-native-cli -RUN npm pack --verbose packages/react-native-cli/ - -# The maze-runner test image -FROM 855461928731.dkr.ecr.us-west-1.amazonaws.com/maze-runner-releases:latest-v7-cli as react-native-cli-maze-runner - -WORKDIR /app - -COPY test/react-native-cli/features test/react-native-cli/features -COPY test/react-native-cli/scripts test/react-native-cli/scripts - -# TODO install this from Artifactory in future -COPY --from=react-native-cli-feature-builder /app/bugsnag-react-native-cli-*.tgz ./ -RUN for d in test/react-native-cli/features/fixtures/*/; do cp /app/*.tgz "$d"; done - -WORKDIR /app/test/react-native-cli - -ENTRYPOINT ["bundle", "exec", "maze-runner"] diff --git a/test/react-native/Gemfile b/test/react-native/Gemfile index c55e16b91b..fa6030e30d 100644 --- a/test/react-native/Gemfile +++ b/test/react-native/Gemfile @@ -2,7 +2,7 @@ source 'https://rubygems.org' gem 'cocoapods' -gem 'bugsnag-maze-runner', '~>8.0' +gem 'bugsnag-maze-runner', '~>9.0' # Use a branch of Maze Runner #gem 'bugsnag-maze-runner', git: 'https://github.com/bugsnag/maze-runner', branch: 'tms/use-maze-check'