Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: replace oauth and userpoolclient lambdas with cfn and sdk calls #12935

Merged
merged 34 commits into from
Jul 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
c66cf28
chore: easy to port changes
sobolk Jul 7, 2023
e91bd58
chore: oauth lambda transplantation plus migration tests it compiles
sobolk Jul 10, 2023
e93c60f
chore: more changes
sobolk Jul 10, 2023
211ca4e
chore: more changes
sobolk Jul 10, 2023
3eab8be
chore: remove userpoolclientLambda
sobolk Jul 10, 2023
7aeddf4
chore: more changes
sobolk Jul 10, 2023
27566b7
chore: generate auth secret
sobolk Jul 10, 2023
6100289
chore: api
sobolk Jul 10, 2023
ebadf5f
fix: that
sobolk Jul 10, 2023
3bb797b
chore: tests
sobolk Jul 10, 2023
792ce21
chore: merge remote-tracking branch 'upstream/dev' into auth-lambdas-…
sobolk Jul 10, 2023
3915eb9
chore: tests
sobolk Jul 11, 2023
7731994
chore: tests
sobolk Jul 11, 2023
bd9926e
chore: tests
sobolk Jul 11, 2023
6dfe6a9
chore: tests
sobolk Jul 11, 2023
67fce6c
chore: tests
sobolk Jul 11, 2023
8652e65
chore: tests
sobolk Jul 11, 2023
a935a71
chore: tests
sobolk Jul 11, 2023
d299f66
chore: tests
sobolk Jul 11, 2023
29311bc
chore: tests
sobolk Jul 11, 2023
5691056
chore: tests
sobolk Jul 12, 2023
fceefa7
chore: codebuild tests
sobolk Jul 12, 2023
52d067a
chore: isolate that test
sobolk Jul 12, 2023
f76b6d4
chore: headless test
sobolk Jul 12, 2023
28932cd
chore: app secret test
sobolk Jul 12, 2023
b179aa4
Update packages/amplify-category-auth/src/provider-utils/awscloudform…
sobolk Jul 12, 2023
06689c2
chore: latest headless add auth app secret
sobolk Jul 12, 2023
2278758
chore: more tests
sobolk Jul 13, 2023
b6fa5d5
chore: oauth headless test
sobolk Jul 13, 2023
32e9d5b
chore: oauth force push test
sobolk Jul 13, 2023
9d63da9
chore: headless oauth migration tesT
sobolk Jul 13, 2023
74cf0dc
chore: pr feedback
sobolk Jul 13, 2023
4d791a6
chore: refresh codebuild
sobolk Jul 13, 2023
95f0f8b
chore: revert "chore: pr feedback"
sobolk Jul 13, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions .circleci/config.base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -598,6 +598,38 @@ jobs:
path: ~/repo/packages/amplify-migration-tests/amplify-migration-reports
working_directory: ~/repo

amplify_migration_tests_v12:
parameters:
os:
type: executor
default: l_large
executor: << parameters.os >>
environment:
AMPLIFY_PATH: /home/circleci/.amplify/bin/amplify
steps:
- restore_cache:
key: amplify-cli-repo-{{ .Branch }}-{{ .Revision }}
- restore_cache:
key: amplify-cli-yarn-deps-{{ .Branch }}-{{ checksum "yarn.lock" }}
- restore_cache:
key: amplify-pkg-binaries-{{ .Branch }}-{{ .Revision }}
- run:
name: Run tests migrating from CLI v12.0.3
command: |
source .circleci/local_publish_helpers.sh
changeNpmGlobalPath
cd packages/amplify-migration-tests
unset IS_AMPLIFY_CI
echo $IS_AMPLIFY_CI
retry yarn migration_v12.0.3 --no-cache --maxWorkers=4 --forceExit $TEST_SUITE
no_output_timeout: 65m
- run: *scan_e2e_test_artifacts
- store_test_results:
path: ~/repo/packages/amplify-migration-tests/
- store_artifacts:
path: ~/repo/packages/amplify-migration-tests/amplify-migration-reports
working_directory: ~/repo

amplify_migration_tests_non_multi_env_layers:
parameters:
os:
Expand Down Expand Up @@ -1184,6 +1216,20 @@ workflows:
- /run-e2e\/.*/
requires:
- upload_pkg_binaries
- amplify_migration_tests_v12:
context:
- e2e-auth-credentials
- cleanup-resources
- e2e-test-context
filters:
branches:
only:
- dev
- /run-e2e-with-rc\/.*/
- /tagged-release\/.*/
- /run-e2e\/.*/
requires:
- upload_pkg_binaries
- amplify_migration_tests_v8:
context:
- e2e-auth-credentials
Expand Down Expand Up @@ -1309,6 +1355,7 @@ workflows:
- amplify_sudo_install_test
- amplify_install_test
- amplify_console_integration_tests
- amplify_migration_tests_v12
- amplify_migration_tests_v10
- amplify_migration_tests_v8
- amplify_migration_tests_non_multi_env_layers
Expand Down
Loading