Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
119 commits
Select commit Hold shift + click to select a range
922654f
feat: adding codebuild specs
aws-eddy Mar 1, 2023
55777b6
Merge branch 'aws-amplify:dev' into master
aws-eddy Mar 3, 2023
b3bbe2e
Update config.yml
aws-eddy Mar 3, 2023
8b42fbb
get npm version installed
aws-eddy Mar 3, 2023
f1a081a
installing deps
aws-eddy Mar 3, 2023
b254165
Update config.yml
aws-eddy Mar 3, 2023
5ec907d
Merge branch 'aws-amplify:dev' into master
aws-eddy Mar 5, 2023
4c69bc0
change version number
aws-eddy Mar 5, 2023
312df6a
revert change
aws-eddy Mar 5, 2023
001e17b
Rename config.yml to demo.yml
aws-eddy Mar 6, 2023
0ff62e1
Create buildspec.yml
aws-eddy Mar 6, 2023
008922c
Update buildspec.yml
aws-eddy Mar 6, 2023
18f0a0b
Merge branch 'aws-amplify:dev' into master
aws-eddy Mar 6, 2023
b9c1126
Update buildspec.yml
aws-eddy Mar 6, 2023
40364aa
Rename buildspec.yml to buildspec.yaml
aws-eddy Mar 7, 2023
df1bf25
Update demo.yml
aws-eddy Mar 8, 2023
8903877
Update demo.yml
aws-eddy Mar 8, 2023
87b10e7
Update demo.yml
aws-eddy Mar 8, 2023
75a5471
Update demo.yml
aws-eddy Mar 8, 2023
691f435
Update demo.yml
aws-eddy Mar 8, 2023
634b095
Update demo.yml
aws-eddy Mar 8, 2023
ad259db
Update demo.yml
aws-eddy Mar 8, 2023
ecf5eb2
Merge branch 'aws-amplify:dev' into master
aws-eddy Mar 9, 2023
a673ba1
limit old space size within node options
aws-eddy Mar 9, 2023
a0509e2
typo
aws-eddy Mar 9, 2023
c0f7dfc
Update demo.yml
aws-eddy Mar 9, 2023
e471db9
Update demo.yml
aws-eddy Mar 9, 2023
16833f3
Update demo.yml
aws-eddy Mar 9, 2023
cedd6b4
Update demo.yml
aws-eddy Mar 9, 2023
6b9588a
Update demo.yml
aws-eddy Mar 9, 2023
51e5d7b
Update demo.yml
aws-eddy Mar 9, 2023
59a1539
Update demo.yml
aws-eddy Mar 9, 2023
eeeff67
chore: cleaning up repo
aws-eddy Mar 11, 2023
b95d4ab
chore: fixing file names
aws-eddy Mar 11, 2023
b0803cb
chore: dependency name
aws-eddy Mar 11, 2023
bae95c9
chore: fixing file paths
aws-eddy Mar 11, 2023
57a2851
chore: making changes to buildspec file
aws-eddy Mar 13, 2023
d791526
Merge branch 'aws-amplify:dev' into master
aws-eddy Mar 13, 2023
30ad0a0
chore: adding steps to pre-build
aws-eddy Mar 13, 2023
ee400c9
chore: commenting out cruft
aws-eddy Mar 13, 2023
66cc13d
chore: adding cache
aws-eddy Mar 13, 2023
dfab20e
chore: removing artifacts and adding cache to validate packages
aws-eddy Mar 13, 2023
73adf99
chore: adding yarn deps
aws-eddy Mar 13, 2023
7d84a18
chore: going into yarn folder
aws-eddy Mar 13, 2023
fd43403
chore: going into yarn folder
aws-eddy Mar 13, 2023
e75a0a3
chore: going into yarn folder
aws-eddy Mar 13, 2023
0b342a5
chore: reading into cache
aws-eddy Mar 13, 2023
cc5481a
chore: adding all files within yarn and reading from those files in n…
aws-eddy Mar 13, 2023
b2674b8
chore: adding all files within yarn and reading from those files in n…
aws-eddy Mar 13, 2023
9c2c03e
chore: reading all cache files
aws-eddy Mar 13, 2023
49af6a5
chore: reading all cache files
aws-eddy Mar 13, 2023
07af9c0
chore: fixing paths
aws-eddy Mar 13, 2023
6b6d188
chore: path names
aws-eddy Mar 13, 2023
a8cf4e3
chore: caching yarn
aws-eddy Mar 13, 2023
68c5cea
chore: reading deps
aws-eddy Mar 13, 2023
7334281
chore: speeding up build
aws-eddy Mar 13, 2023
eac00ef
chore: remove tests
aws-eddy Mar 13, 2023
3bd1196
chore: changing buildspec
aws-eddy Mar 14, 2023
8db577e
chore: adding node modules to cache
aws-eddy Mar 14, 2023
b0b1cee
chore: using npm and configuring cache differently
aws-eddy Mar 14, 2023
0e4ba0a
chore: using npm
aws-eddy Mar 14, 2023
2c22257
removing run keyword for npm
aws-eddy Mar 14, 2023
f3cd261
have to run production build
aws-eddy Mar 14, 2023
d1169cc
back to yarn
aws-eddy Mar 14, 2023
af7a653
fixing yarn commands
aws-eddy Mar 14, 2023
673e875
chore: trying again
aws-eddy Mar 14, 2023
96ed2b6
chore: more deps
aws-eddy Mar 14, 2023
4a29f6f
Merge branch 'aws-amplify:dev' into master
aws-eddy Mar 15, 2023
1a08b9f
chore: adding cache loading
aws-eddy Mar 15, 2023
a87818f
chore: storing cache capability
aws-eddy Mar 15, 2023
29f375d
chore: removing spacing so bash is happy
aws-eddy Mar 15, 2023
6840057
path was wrong
aws-eddy Mar 15, 2023
7037d64
chore: fixing bash script to fail more vigorously
aws-eddy Mar 15, 2023
342d34a
removing everything so tests run faster
aws-eddy Mar 15, 2023
3b6b5d9
failed to load cache
aws-eddy Mar 15, 2023
f431beb
chore: printing out what's in cache
aws-eddy Mar 15, 2023
ae4b0ce
fix
aws-eddy Mar 15, 2023
f69db4a
testing if cache is actually working
aws-eddy Mar 15, 2023
6c08548
cache dependencies
aws-eddy Mar 15, 2023
586012b
cache dependencies
aws-eddy Mar 15, 2023
882003c
removing install
aws-eddy Mar 15, 2023
0269bec
installing dependencies
aws-eddy Mar 15, 2023
f4a895d
installing dependencies
aws-eddy Mar 15, 2023
b8eebf8
preparing build
aws-eddy Mar 15, 2023
e5c83ef
using shared scripts
aws-eddy Mar 20, 2023
0799a6b
using shared scripts
aws-eddy Mar 20, 2023
87b2206
using shared scripts
aws-eddy Mar 20, 2023
8fdb272
chore: removing tradition cache
aws-eddy Mar 20, 2023
dfec4d1
chore: install deps
aws-eddy Mar 20, 2023
8cab8b2
Merge branch 'aws-amplify:dev' into master
aws-eddy Mar 20, 2023
d54f566
build test before running them
aws-eddy Mar 20, 2023
7b3aab0
attempt to store cache
aws-eddy Mar 20, 2023
3fbbfa3
empty commity
aws-eddy Mar 20, 2023
36fb1a8
Update shared_scripts.sh
aws-eddy Mar 20, 2023
2bf6395
Update prepare_build.yml
aws-eddy Mar 20, 2023
8836455
Merge pull request #7 from evcodes/evcodes-patch-1
aws-eddy Mar 20, 2023
df4038e
Update prepare_build.yml
aws-eddy Mar 20, 2023
52d7144
Update shared_scripts.sh
aws-eddy Mar 20, 2023
cac849d
chore: storing information shorter path
aws-eddy Mar 20, 2023
9ed666e
chore: modifying shared scripts
aws-eddy Mar 20, 2023
f15b966
chore: modifying shared scripts and validating packages
aws-eddy Mar 20, 2023
2992df9
test
aws-eddy Mar 20, 2023
8b821e4
trying to test without instaling node modules
aws-eddy Mar 20, 2023
c09b112
chore: fixing artifcats
aws-eddy Mar 20, 2023
415ecb3
chore: changing file-path
aws-eddy Mar 20, 2023
2ecbe01
chore: change file names
aws-eddy Mar 20, 2023
9fcad4e
chore: testing out new phases
aws-eddy Mar 21, 2023
fef2c71
chore: spacing issue
aws-eddy Mar 21, 2023
643f8ba
chore: do not fail fast in mockE2E runs
aws-eddy Mar 21, 2023
7d3a4a6
chore: adding verify api extract and validate cdk version
aws-eddy Mar 21, 2023
4031ec1
chore: cleaning up e2e resources test
aws-eddy Mar 21, 2023
4a34b41
chore: add e2e cleanup script
aws-eddy Mar 21, 2023
207fdf6
Merge branch 'aws-amplify:dev' into master
aws-eddy Mar 22, 2023
6a731ea
Merge branch 'aws-amplify:dev' into master
aws-eddy Apr 4, 2023
7c928fa
chore: adding two separate workflows
aws-eddy Apr 4, 2023
9f5287c
Update .editorconfig
jscriptual Apr 4, 2023
7540adc
Merge branch 'aws-amplify:dev' into master
aws-eddy Apr 6, 2023
86ac5f3
Merge branch 'evcodes:master' into master
jscriptual Apr 10, 2023
a3c1448
Update codecov.yml
jscriptual Apr 10, 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
74 changes: 74 additions & 0 deletions codebuild_specs/base.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
---
version: 0.2
batch:
fast-fail: false
build-graph:
- identifier: prepare_build
buildspec: codebuild_specs/prepare_build.yml
debug-session: true
env:
compute-type: BUILD_GENERAL1_LARGE
variables:
IS_AMPLIFY_CI: true
- identifier: cleanup_e2e_resources
buildspec: codebuild_specs/cleanup_e2e_resources.yml
debug-session: true
env:
compute-type: BUILD_GENERAL1_LARGE
variables:
IS_AMPLIFY_CI: true
depend-on:
- prepare_build
- identifier: mock_e2e_tests
buildspec: codebuild_specs/mock_e2e_tests.yml
env:
compute-type: BUILD_GENERAL1_LARGE
variables:
IS_AMPLIFY_CI: true
depend-on:
- prepare_build
- identifier: test
buildspec: codebuild_specs/test.yml
debug-session: true
env:
compute-type: BUILD_GENERAL1_LARGE
variables:
IS_AMPLIFY_CI: true
depend-on:
- prepare_build
- identifier: lint
buildspec: codebuild_specs/lint.yml
debug-session: true
env:
compute-type: BUILD_GENERAL1_LARGE
variables:
IS_AMPLIFY_CI: true
depend-on:
- prepare_build
- identifier: validate_cdk_version
buildspec: codebuild_specs/validate_cdk_version.yml
debug-session: true
env:
compute-type: BUILD_GENERAL1_LARGE
variables:
IS_AMPLIFY_CI: true
depend-on:
- prepare_build
- identifier: verify_api_extract
buildspec: codebuild_specs/verify_api_extract.yml
debug-session: true
env:
compute-type: BUILD_GENERAL1_LARGE
variables:
IS_AMPLIFY_CI: true
depend-on:
- prepare_build
- identifier: verify_yarn_lock
buildspec: codebuild_specs/verify_yarn_lock.yml
debug-session: true
env:
compute-type: BUILD_GENERAL1_LARGE
variables:
IS_AMPLIFY_CI: true
depend-on:
- prepare_build
7 changes: 7 additions & 0 deletions codebuild_specs/cleanup_e2e_resources.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 0.2
env:
shell: bash
phases:
build:
commands:
- source ./shared-scripts.sh && _cleanupE2EResources
74 changes: 74 additions & 0 deletions codebuild_specs/e2e_workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
---
version: 0.2
batch:
fast-fail: false
build-graph:
- identifier: prepare_build
buildspec: codebuild_specs/prepare_build.yml
debug-session: true
env:
compute-type: BUILD_GENERAL1_LARGE
variables:
IS_AMPLIFY_CI: true
- identifier: cleanup_e2e_resources
buildspec: codebuild_specs/cleanup_e2e_resources.yml
debug-session: true
env:
compute-type: BUILD_GENERAL1_LARGE
variables:
IS_AMPLIFY_CI: true
depend-on:
- prepare_build
- identifier: mock_e2e_tests
buildspec: codebuild_specs/mock_e2e_tests.yml
env:
compute-type: BUILD_GENERAL1_LARGE
variables:
IS_AMPLIFY_CI: true
depend-on:
- prepare_build
- identifier: test
buildspec: codebuild_specs/test.yml
debug-session: true
env:
compute-type: BUILD_GENERAL1_LARGE
variables:
IS_AMPLIFY_CI: true
depend-on:
- prepare_build
- identifier: lint
buildspec: codebuild_specs/lint.yml
debug-session: true
env:
compute-type: BUILD_GENERAL1_LARGE
variables:
IS_AMPLIFY_CI: true
depend-on:
- prepare_build
- identifier: validate_cdk_version
buildspec: codebuild_specs/validate_cdk_version.yml
debug-session: true
env:
compute-type: BUILD_GENERAL1_LARGE
variables:
IS_AMPLIFY_CI: true
depend-on:
- prepare_build
- identifier: verify_api_extract
buildspec: codebuild_specs/verify_api_extract.yml
debug-session: true
env:
compute-type: BUILD_GENERAL1_LARGE
variables:
IS_AMPLIFY_CI: true
depend-on:
- prepare_build
- identifier: verify_yarn_lock
buildspec: codebuild_specs/verify_yarn_lock.yml
debug-session: true
env:
compute-type: BUILD_GENERAL1_LARGE
variables:
IS_AMPLIFY_CI: true
depend-on:
- prepare_build
7 changes: 7 additions & 0 deletions codebuild_specs/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 0.2
env:
shell: bash
phases:
build:
commands:
- source ./shared-scripts.sh && _lint
7 changes: 7 additions & 0 deletions codebuild_specs/mock_e2e_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 0.2
env:
shell: bash
phases:
build:
commands:
- source ./shared-scripts.sh && _mockE2ETests
65 changes: 65 additions & 0 deletions codebuild_specs/pr_workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
---
version: 0.2
batch:
fast-fail: false
build-graph:
- identifier: prepare_build
buildspec: codebuild_specs/prepare_build.yml
debug-session: true
env:
compute-type: BUILD_GENERAL1_LARGE
variables:
IS_AMPLIFY_CI: true
- identifier: mock_e2e_tests
buildspec: codebuild_specs/mock_e2e_tests.yml
env:
compute-type: BUILD_GENERAL1_LARGE
variables:
IS_AMPLIFY_CI: true
depend-on:
- prepare_build
- identifier: test
buildspec: codebuild_specs/test.yml
debug-session: true
env:
compute-type: BUILD_GENERAL1_LARGE
variables:
IS_AMPLIFY_CI: true
depend-on:
- prepare_build
- identifier: lint
buildspec: codebuild_specs/lint.yml
debug-session: true
env:
compute-type: BUILD_GENERAL1_LARGE
variables:
IS_AMPLIFY_CI: true
depend-on:
- prepare_build
- identifier: validate_cdk_version
buildspec: codebuild_specs/validate_cdk_version.yml
debug-session: true
env:
compute-type: BUILD_GENERAL1_LARGE
variables:
IS_AMPLIFY_CI: true
depend-on:
- prepare_build
- identifier: verify_api_extract
buildspec: codebuild_specs/verify_api_extract.yml
debug-session: true
env:
compute-type: BUILD_GENERAL1_LARGE
variables:
IS_AMPLIFY_CI: true
depend-on:
- prepare_build
- identifier: verify_yarn_lock
buildspec: codebuild_specs/verify_yarn_lock.yml
debug-session: true
env:
compute-type: BUILD_GENERAL1_LARGE
variables:
IS_AMPLIFY_CI: true
depend-on:
- prepare_build
11 changes: 11 additions & 0 deletions codebuild_specs/prepare_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 0.2
env:
shell: bash
phases:
build:
commands:
- source ./shared-scripts.sh && _buildLinux

artifacts:
files:
- 'shared-scripts.sh'
7 changes: 7 additions & 0 deletions codebuild_specs/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 0.2
env:
shell: bash
phases:
build:
commands:
- source ./shared-scripts.sh && _testLinux
7 changes: 7 additions & 0 deletions codebuild_specs/validate_cdk_version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 0.2
env:
shell: bash
phases:
build:
commands:
- source ./shared-scripts.sh && _validateCDKVersion
7 changes: 7 additions & 0 deletions codebuild_specs/verify_api_extract.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 0.2
env:
shell: bash
phases:
build:
commands:
- source ./shared-scripts.sh && _verifyAPIExtract
7 changes: 7 additions & 0 deletions codebuild_specs/verify_yarn_lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 0.2
env:
shell: bash
phases:
build:
commands:
- source ./shared-scripts.sh && _verifyYarnLock
1 change: 1 addition & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ coverage:
default:
target: 80%
if_not_found: success

2 changes: 2 additions & 0 deletions packages/amplify-cli-core-vNext/lib/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export * from 'amplify-cli-core';
//# sourceMappingURL=index.d.ts.map
1 change: 1 addition & 0 deletions packages/amplify-cli-core-vNext/lib/index.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions packages/amplify-cli-core-vNext/lib/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/amplify-cli-core-vNext/lib/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions packages/amplify-prompts-vNext/lib/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export * from 'amplify-prompts';
//# sourceMappingURL=index.d.ts.map
1 change: 1 addition & 0 deletions packages/amplify-prompts-vNext/lib/index.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions packages/amplify-prompts-vNext/lib/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/amplify-prompts-vNext/lib/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading