-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into warn-for-resource-in-ecr-policy
- Loading branch information
Showing
14,584 changed files
with
834,832 additions
and
346,572 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
version: 0.2 | ||
|
||
env: | ||
secrets-manager: | ||
TOKEN: $TOKEN_SECRET_ARN | ||
variables: | ||
NODE_OPTIONS: --max_old_space_size=8192 | ||
|
||
phases: | ||
install: | ||
commands: | ||
# CodeBuild always runs as root, allow npm to operate as such | ||
- npm config set unsafe-perm true | ||
- mkdir ${HOME}/aws-cdk && cd ${HOME}/aws-cdk | ||
# Configure git and git credentials | ||
- git config --global user.email "${COMMIT_EMAIL}" | ||
- git config --global user.name "${COMMIT_USERNAME}" | ||
- echo "Retrieving gh token from secretsmanager" | ||
- git clone https://[email protected]/aws/aws-cdk -b feat/repo-restructure . | ||
- git checkout ${CODEBUILD_RESOLVED_SOURCE_VERSION} | ||
# Install yarn if it wasn't already present in the image | ||
- yarn --version || npm -g install yarn | ||
- yarn install --frozen-lockfile | ||
- /sbin/sysctl -w vm.max_map_count=2251954 | ||
build: | ||
commands: | ||
- cd ${HOME}/aws-cdk | ||
- npx lerna run build --scope @aws-cdk/remodel --include-dependencies | ||
- npx remodel ${PWD} --tmp-dir ${HOME}/remodel --no-clean --dry-run | ||
post_build: | ||
commands: | ||
- cd ${HOME}/remodel | ||
- git add -A | ||
- git commit -m "Execute remodel" | ||
- git remote add aws-cdk https://[email protected]/aws/aws-cdk | ||
- git fetch aws-cdk | ||
- git push aws-cdk +feat/repo-restructure:feat/remodel | ||
artifacts: | ||
files: | ||
- "**/*" | ||
base-directory: ${HOME}/remodel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
const baseConfig = require('../../../tools/@aws-cdk/cdk-build-tools/config/eslintrc'); | ||
baseConfig.parserOptions.project = __dirname + '/tsconfig.json'; | ||
module.exports = { | ||
...baseConfig, | ||
ignorePatterns: [ | ||
...baseConfig.ignorePatterns, | ||
'**/*.snapshot/**/*' | ||
], | ||
rules: { | ||
...baseConfig.rules, | ||
'import/order': 'off', | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
.LAST_BUILD | ||
*.snk | ||
junit.xml | ||
!.eslintrc.js | ||
.nyc_output | ||
coverage | ||
nyc.config.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
|
||
.LAST_BUILD | ||
*.snk | ||
junit.xml | ||
.eslintrc.js | ||
# exclude cdk artifacts | ||
**/cdk.out |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
AWS Cloud Development Kit (AWS CDK) | ||
Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
|
||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
|
||
http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
|
||
Third party attributions of this package can be found in the THIRD_PARTY_LICENSES file |
Oops, something went wrong.