-
Notifications
You must be signed in to change notification settings - Fork 224
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:awslabs/aws-deployment-framework …
…into stemons-master
- Loading branch information
Showing
11 changed files
with
2,008 additions
and
6 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -775,11 +775,14 @@ Resources: | |
commands: | ||
- npm install [email protected] -g -y --quiet --no-progress | ||
- aws s3 cp s3://$SHARED_MODULES_BUCKET/adf-build/ ./adf-build/ --recursive --quiet | ||
- pip install -r adf-build/requirements.txt -q -t ./adf-build | ||
- pip install -r adf-build/requirements.txt -r adf-build/helpers/requirements.txt -q -t ./adf-build | ||
pre_build: | ||
commands: | ||
- mkdir -p deployment_maps | ||
build: | ||
commands: | ||
- bash -c "[[ -e deployment_map.yml ]] && echo 'Copying deployment_map.yml' && aws s3 cp deployment_map.yml s3://$ADF_PIPELINES_BUCKET/deployment_map.yml || echo 'No deployment_map.yml, skipping copy'" | ||
- bash -c "[[ -e deployment_maps ]] && echo 'Syncing deployment_maps folder' && aws s3 sync deployment_maps s3://$ADF_PIPELINES_BUCKET/deployment_maps || echo 'No deployment_maps folder, skipping sync'" | ||
- python adf-build/helpers/sync_to_s3.py --metadata adf_version=${!ADF_VERSION} --upload-with-metadata execution_id=${!CODEPIPELINE_EXECUTION_ID} deployment_map.yml s3://$ADF_PIPELINES_BUCKET/deployment_map.yml | ||
- python adf-build/helpers/sync_to_s3.py --extension .yml --extension .yaml --metadata adf_version=${!ADF_VERSION} --upload-with-metadata execution_id=${!CODEBUILD_BUILD_NUMBER} --recursive deployment_maps s3://$ADF_PIPELINES_BUCKET/deployment_maps | ||
post_build: | ||
commands: | ||
- echo "Pipelines are updated in the AWS Step Functions ADFPipelineManagementStateMachine." | ||
|
@@ -829,6 +832,14 @@ Resources: | |
- Name: "Source" | ||
Configuration: | ||
ProjectName: !Ref CodeBuildProject | ||
EnvironmentVariables: >- | ||
[ | ||
{ | ||
"name": "CODEPIPELINE_EXECUTION_ID", | ||
"value": "#{codepipeline.PipelineExecutionId}", | ||
"type": "PLAINTEXT" | ||
} | ||
] | ||
RunOrder: 1 | ||
|
||
PipelineSNSTopic: | ||
|
2 changes: 1 addition & 1 deletion
2
...sitory/adf-bootstrap/deployment/lambda_codebase/determine_default_branch/requirements.txt
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
boto3==1.18.2 | ||
boto3==1.24.59 | ||
cfn-custom-resource~=1.0.1 |
2 changes: 2 additions & 0 deletions
2
src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/__init__.py
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,2 @@ | ||
# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
# SPDX-License-Identifier: MIT-0 |
3 changes: 3 additions & 0 deletions
3
src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/pytest.ini
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,3 @@ | ||
[pytest] | ||
testpaths = tests | ||
norecursedirs = terraform |
Oops, something went wrong.