From 7a2212c9ddd8b2ce6c08b67ff107bf060f3cf5cc Mon Sep 17 00:00:00 2001 From: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Date: Sat, 6 Apr 2024 17:55:12 +0200 Subject: [PATCH] chore: remove AWS CodeBuild workflows --- buildspec-types-unit.yml | 11 ------- buildspec.yml | 69 ---------------------------------------- 2 files changed, 80 deletions(-) delete mode 100644 buildspec-types-unit.yml delete mode 100644 buildspec.yml diff --git a/buildspec-types-unit.yml b/buildspec-types-unit.yml deleted file mode 100644 index 847923b03..000000000 --- a/buildspec-types-unit.yml +++ /dev/null @@ -1,11 +0,0 @@ -version: 0.2 - -phases: - install: - commands: - - yarn install --frozen-lockfile - build: - commands: - - yarn types - - yarn lint - - yarn test:unit:ci diff --git a/buildspec.yml b/buildspec.yml deleted file mode 100644 index 6724d88bf..000000000 --- a/buildspec.yml +++ /dev/null @@ -1,69 +0,0 @@ -version: 0.2 - -batch: - fast-fail: false - build-matrix: - static: - ignore-failure: false - env: - type: LINUX_CONTAINER - privileged-mode: true - compute-type: BUILD_GENERAL1_MEDIUM - dynamic: - env: - compute-type: - - BUILD_GENERAL1_MEDIUM - image: - - public.ecr.aws/cypress-io/cypress/browsers:cypress/browsers:node-18.16.0-chrome-114.0.5735.133-1-ff-114.0.2-edge-114.0.1823.51-1 - variables: - CY_GROUP_SPEC: - - "UI - Chrome|chrome|cypress/tests/ui/*" - - "UI - Chrome - Mobile|chrome|cypress/tests/ui/*|viewportWidth=375,viewportHeight=667" - - "API|chrome|cypress/tests/api/*" - - "UI - Firefox|firefox|cypress/tests/ui/*" - - "UI - Firefox - Mobile|firefox|cypress/tests/ui/*|viewportWidth=375,viewportHeight=667" - WORKERS: - - 1 - - 2 - - 3 - - 4 - - 5 - -phases: - install: - commands: - # Set COMMIT_INFO variables to send Git specifics to Cypress Cloud when recording - # https://docs.cypress.io/guides/continuous-integration/introduction#Git-information - - export COMMIT_INFO_BRANCH="$(git rev-parse HEAD | xargs git name-rev | cut -d' ' -f2 | sed 's/remotes\/origin\///g')" - - export COMMIT_INFO_MESSAGE="$(git log -1 --pretty=%B)" - - export COMMIT_INFO_EMAIL="$(git log -1 --pretty=%ae)" - - export COMMIT_INFO_AUTHOR="$(git log -1 --pretty=%an)" - - export COMMIT_INFO_SHA="$(git log -1 --pretty=%H)" - - export COMMIT_INFO_REMOTE="$(git config --get remote.origin.url)" - - echo $COMMIT_INFO_BRANCH - - echo $COMMIT_INFO_MESSAGE - - echo $COMMIT_INFO_EMAIL - - echo $COMMIT_INFO_AUTHOR - - echo $COMMIT_INFO_SHA - - echo $COMMIT_INFO_REMOTE - - echo $CODEBUILD_INITIATOR - - echo $CY_GROUP_SPEC - - CY_GROUP=$(echo $CY_GROUP_SPEC | cut -d'|' -f1) - - CY_BROWSER=$(echo $CY_GROUP_SPEC | cut -d'|' -f2) - - CY_SPEC=$(echo $CY_GROUP_SPEC | cut -d'|' -f3) - - CY_CONFIG=$(echo $CY_GROUP_SPEC | cut -d'|' -f4) - - echo $CY_GROUP - - echo $CY_BROWSER - - echo $CY_SPEC - - echo $CY_CONFIG - - yarn install --frozen-lockfile - pre_build: - commands: - - yarn types - - yarn lint - - yarn test:unit:ci - - yarn build:ci - build: - commands: - - yarn start:ci & npx wait-on http://localhost:3000 - - npx cypress run --record --parallel --browser $CY_BROWSER --ci-build-id $CODEBUILD_INITIATOR --group "$CY_GROUP" --spec "$CY_SPEC" --config "$CY_CONFIG"