Skip to content

Commit

Permalink
ci(amplify-migration-tests): removed some of the tests (aws-amplify#8792
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ammarkarachi authored Nov 11, 2021
1 parent 08a8568 commit 6830333
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 72 deletions.
71 changes: 0 additions & 71 deletions .circleci/config.base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -366,59 +366,6 @@ jobs:
path: ~/repo/packages/amplify-migration-tests/amplify-migration-reports
working_directory: ~/repo

amplify_migration_tests_overrides:
<<: *defaults
environment:
AMPLIFY_PATH: /home/circleci/.npm-global/lib/node_modules/@aws-amplify/cli/bin/amplify
steps:
- attach_workspace:
at: ./
- restore_cache:
key: amplify-cli-yarn-deps-{{ .Branch }}-{{ checksum "yarn.lock" }}
- run:
name: Run tests migrating from CLI v6.0.1
command: |
source .circleci/local_publish_helpers.sh
changeNpmGlobalPath
cd packages/amplify-migration-tests
yarn run migration_v6.0.1 --maxWorkers=3 $TEST_SUITE
no_output_timeout: 90m
- run: *scan_e2e_test_artifacts
- store_test_results:
path: packages/amplify-migration-tests/
- store_artifacts:
path: ~/repo/packages/amplify-migration-tests/amplify-migration-reports
working_directory: ~/repo

amplify_migration_tests_v4_30_0:
<<: *defaults
environment:
AMPLIFY_PATH: /home/circleci/.npm-global/lib/node_modules/@aws-amplify/cli/bin/amplify
steps:
- attach_workspace:
at: ./
- restore_cache:
key: amplify-cli-yarn-deps-{{ .Branch }}-{{ checksum "yarn.lock" }}-{{ arch }}
- restore_cache:
key: amplify-pkg-binaries-{{ .Branch }}-{{ .Revision }}
- run:
name: Update OS Packages
command: sudo apt-get update
- run:
name: Run tests migrating from CLI v4.30.0
command: |
source .circleci/local_publish_helpers.sh
changeNpmGlobalPath
cd packages/amplify-migration-tests
retry yarn run migration_v4.30.0_auth --maxWorkers=3
no_output_timeout: 90m
- run: *scan_e2e_test_artifacts
- store_test_results:
path: packages/amplify-migration-tests/
- store_artifacts:
path: ~/repo/packages/amplify-migration-tests/amplify-migration-reports
working_directory: ~/repo

amplify_migration_tests_latest:
environment:
AMPLIFY_PATH: /home/circleci/.npm-global/lib/node_modules/@aws-amplify/cli/bin/amplify
Expand Down Expand Up @@ -847,22 +794,6 @@ workflows:
- build
# post-steps:
# - run: *clean_e2e_resources
- amplify_migration_tests_v4_30_0:
context:
- amplify-ecr-image-pull
- e2e-auth-credentials
- cleanup-resources
- e2e-test-context
filters:
branches:
only:
- master
- /tagged-release\/.*/
- /run-e2e\/.*/
requires:
- build
# post-steps:
# - run: *clean_e2e_resources
- amplify_migration_tests_non_multi_env_layers:
context:
- amplify-ecr-image-pull
Expand Down Expand Up @@ -935,7 +866,6 @@ workflows:
- amplify_e2e_tests_pkg
- amplify_migration_tests_latest
- amplify_migration_tests_v4
- amplify_migration_tests_v4_30_0

- deploy:
context:
Expand All @@ -952,7 +882,6 @@ workflows:
- amplify_console_integration_tests
- amplify_migration_tests_latest
- amplify_migration_tests_v4
- amplify_migration_tests_v4_30_0
- amplify_migration_tests_non_multi_env_layers
- amplify_migration_tests_multi_env_layers
- github_prerelease_install_sanity_check
Expand Down
1 change: 0 additions & 1 deletion packages/amplify-migration-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"scripts": {
"build-tests": "tsc --build tsconfig.tests.json",
"migration_v4.0.0": "npm run setup-profile 4.0.0 && jest --testPathIgnorePatterns=auth.deployment.secrets\\|layer-migration| overrides --verbose",
"migration_v4.30.0_auth": "npm run setup-profile 4.30.0 && jest src/__tests__/migration_tests/auth-deployment-migration/auth.deployment.secrets.test.ts --verbose",
"migration_v4.28.2_nonmultienv_layers": "npm run setup-profile 4.28.2 && jest src/__tests__/migration_tests/lambda-layer-migration/layer-migration.test.ts --verbose",
"migration_v4.52.0_multienv_layers": "npm run setup-profile 4.52.0 && jest src/__tests__/migration_tests/lambda-layer-migration/layer-migration.test.ts --verbose",
"migration_v6.0.1": "npm run setup-profile 6.0.1 && jest src/__tests__/migration_tests/overrides/auth-migration.test.ts --verbose",
Expand Down

0 comments on commit 6830333

Please sign in to comment.