This repository was archived by the owner on Dec 8, 2024. It is now read-only.
File tree 4 files changed +8
-25
lines changed
4 files changed +8
-25
lines changed Original file line number Diff line number Diff line change 1
1
# This file is auto-generated, changes will be overwritten
2
- _commit : v0.1.4
3
- _src_path : /task/84f8bbac-7562-11ee-a5ce-d2808b82069c /projecttype
2
+ _commit : v0.1.6
3
+ _src_path : /task/edf192f2-6fa0-11ef-931b-36415f6423bb /projecttype
4
4
starting_version : v0.0.0
5
5
version_file : VERSION
6
6
Original file line number Diff line number Diff line change 1
1
FROM public.ecr.aws/codebuild/amazonlinux2-x86_64-standard:4.0
2
2
RUN yum install -y yum-utils && yum-config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo && yum install -y gh
3
- RUN pip install copier taskcat yq jq awscli cfn-flip
3
+ RUN pip install taskcat yq jq awscli
4
+ RUN pip3 install 'copier==8.3.0'
5
+ RUN pip install 'cfn-lint==0.83.2'
6
+ RUN pip install bump2version
Original file line number Diff line number Diff line change @@ -64,23 +64,4 @@ aws sts get-caller-identity --debug
64
64
65
65
chmod 755 ${project_root} /.project_automation/publication/assets/cred_helper.py
66
66
# push to regional S3 buckets
67
- export TASKCAT_PROJECT_S3_REGIONAL_BUCKETS=true; taskcat -d upload -p ${project_root} -c " ${automation_scripts_path} tmp.yml"
68
-
69
- PUBLICATIONS_ASSETS_BUCKET=$( aws ssm get-parameter --region us-east-1 --name PUBLICATIONS_ASSETS_BUCKET --with-decryption | jq -r ' .Parameter|.Value' )
70
-
71
- upload_assets_to_ssm (){
72
- cd ${project_root}
73
- APP_MGR_MANIFEST=${project_root} /manifests/app-manager/app-manager-manifest.yaml
74
- if [[ -f " $APP_MGR_MANIFEST " ]]; then
75
- aws s3 cp --region us-east-1 s3://${PUBLICATIONS_ASSETS_BUCKET} /template_to_ssm_doc_pusher.py ${project_root} /.project_automation/publication/assets/
76
- PUBLISH_SSM_DOC_ACCOUNT_ID=$( aws ssm get-parameter --region us-east-1 --name PUBLISH_SSM_DOC_ACCOUNT_ID --with-decryption | jq -r ' .Parameter|.Value' )
77
- version_suffix=$( date " +%Y-%m-%d-%H-%M-%S" )
78
- regions=$( aws ec2 describe-regions --region us-east-1 --output text | cut -f4)
79
- aws sts get-caller-identity
80
- for region in ${regions} ; do
81
- python ${project_root} /.project_automation/publication/assets/template_to_ssm_doc_pusher.py -a ${PUBLISH_SSM_DOC_ACCOUNT_ID} -f ${project_root} /manifests/app-manager/app-manager-manifest.yaml -r ${region} -v ${version_suffix} -d true
82
- done
83
- fi
84
- }
85
-
86
- upload_assets_to_ssm
67
+ export TASKCAT_PROJECT_S3_REGIONAL_BUCKETS=true; taskcat -d upload -p ${project_root} -c " ${automation_scripts_path} tmp.yml"
Original file line number Diff line number Diff line change 1
1
FROM public.ecr.aws/codebuild/amazonlinux2-x86_64-standard:4.0
2
2
RUN git clone https://github.com/aws-quickstart/qs-cfn-lint-rules.git /tmp/qs-cfn-lint-rules
3
- RUN cd /tmp/qs-cfn-lint-rules && pip install .
4
- RUN cfn-lint -u
3
+ RUN cd /tmp/qs-cfn-lint-rules && pip install .
You can’t perform that action at this time.
0 commit comments