Skip to content

Commit

Permalink
Wip/v2.1 (#2)
Browse files Browse the repository at this point in the history
enhance
  • Loading branch information
Blue-Pix committed May 2, 2020
1 parent 9fffadc commit f81fdca
Show file tree
Hide file tree
Showing 10 changed files with 5 additions and 191 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/no_aws_credential.yml

This file was deleted.

45 changes: 0 additions & 45 deletions .github/workflows/no_diff.yml

This file was deleted.

31 changes: 0 additions & 31 deletions .github/workflows/no_iam_policy.yml

This file was deleted.

31 changes: 0 additions & 31 deletions .github/workflows/no_stack_found.yml

This file was deleted.

30 changes: 0 additions & 30 deletions .github/workflows/no_stack_name_provided.yml

This file was deleted.

30 changes: 0 additions & 30 deletions .github/workflows/no_template_body_provided.yml

This file was deleted.

3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
FROM python:3

RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" \
&& unzip awscliv2.zip \
&& unzip -q awscliv2.zip \
&& ./aws/install

RUN apt-get update \
&& apt-get install -y less jq

COPY entrypoint.sh /entrypoint.sh
COPY pretty_format.py /pretty_format.py

ENTRYPOINT ["/entrypoint.sh"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ ex. describe change set diff like management console.

- name: describe change set
id: describe-change-set
uses: Blue-Pix/describe-cfn-change-set@v2
uses: Blue-Pix/describe-cfn-change-set@v2.1
with:
stack_name: omochi
template_body: after.cf.yml
Expand Down
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ if [ ${status} != "CREATE_COMPLETE" ] && [ ${status} != "FAILED" ]; then
exit 1
fi

result=$(cat $uuid.json | jq -c)
result=$(cat $uuid.json | jq -c .)
echo "::set-output name=change_set_name::$uuid"
echo "::set-output name=result::$result"
echo "::set-output name=result_file_path::$uuid.json"

python pretty_format.py $uuid $INPUT_STACK_NAME
python /pretty_format.py $uuid $INPUT_STACK_NAME
echo "::set-output name=diff_file_path::$uuid.html"
Empty file modified pretty_format.py
100644 → 100755
Empty file.

0 comments on commit f81fdca

Please sign in to comment.