From a456a9823634af7f1a92c089835060f9f498684a Mon Sep 17 00:00:00 2001 From: Niranjan Jayakar Date: Thu, 20 May 2021 10:47:08 +0100 Subject: [PATCH 1/2] chore(cfnspec): update cfn-lint repo name The repo for cfn-lint was previously cfn-lint-python. This is now changed to cfn-lint, causing the bump job to fail. Fix up the repo name. --- packages/@aws-cdk/cfnspec/build-tools/update-cfnlint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/@aws-cdk/cfnspec/build-tools/update-cfnlint.sh b/packages/@aws-cdk/cfnspec/build-tools/update-cfnlint.sh index 594e7dd165b87..03cc815054d75 100755 --- a/packages/@aws-cdk/cfnspec/build-tools/update-cfnlint.sh +++ b/packages/@aws-cdk/cfnspec/build-tools/update-cfnlint.sh @@ -5,14 +5,14 @@ scriptdir=$(cd $(dirname $0) && pwd) # Download (parts of) the cfn-lint repo that we use to enhance our model intermediate="$(mktemp -d)/tmp.zip" -url="https://github.com/aws-cloudformation/cfn-python-lint/archive/master.zip" +url="https://github.com/aws-cloudformation/cfn-lint/archive/master.zip" echo >&2 "Downloading from ${url}..." curl -sSfL "${url}" -o ${intermediate} for file in StatefulResources; do echo >&2 "${file}.json" mkdir -p "spec-source/cfn-lint/${file}" - unzip -p "${intermediate}" cfn-python-lint-master/src/cfnlint/data/AdditionalSpecs/${file}.json > spec-source/cfn-lint/${file}/000.json + unzip -p "${intermediate}" cfn-lint-master/src/cfnlint/data/AdditionalSpecs/${file}.json > spec-source/cfn-lint/${file}/000.json done echo >&2 "Done." From c3767a951bcc42d38538e33ca657e40c14a0ebfe Mon Sep 17 00:00:00 2001 From: Niranjan Jayakar Date: Thu, 20 May 2021 10:50:00 +0100 Subject: [PATCH 2/2] debug msg --- packages/@aws-cdk/cfnspec/build-tools/update-cfnlint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@aws-cdk/cfnspec/build-tools/update-cfnlint.sh b/packages/@aws-cdk/cfnspec/build-tools/update-cfnlint.sh index 03cc815054d75..129b3d4391923 100755 --- a/packages/@aws-cdk/cfnspec/build-tools/update-cfnlint.sh +++ b/packages/@aws-cdk/cfnspec/build-tools/update-cfnlint.sh @@ -6,7 +6,7 @@ scriptdir=$(cd $(dirname $0) && pwd) intermediate="$(mktemp -d)/tmp.zip" url="https://github.com/aws-cloudformation/cfn-lint/archive/master.zip" -echo >&2 "Downloading from ${url}..." +echo >&2 "Downloading from ${url} ..." curl -sSfL "${url}" -o ${intermediate} for file in StatefulResources; do