From 646d778b123a4a4953f364ca5f0a780077b4b9ad Mon Sep 17 00:00:00 2001 From: "Yoshiaki MIYAZAKI(JP)" Date: Wed, 30 Jun 2021 10:08:20 +0000 Subject: [PATCH] fixed path. --- .github/workflows/ci-push.yaml | 4 ++-- .github/workflows/example/cd-workflow-dispatch-base-dev.yaml | 2 +- .../workflows/example/cd-workflow-dispatch-monitor-dev.yaml | 2 +- .github/workflows/example/ci-push-dev.yaml | 4 ++-- scripts/terraform/{aws => }/check.sh | 0 scripts/terraform/{aws => }/deploy.sh | 0 scripts/terraform/{aws => }/example/deploy.sh | 0 scripts/terraform/{aws => }/example/integration_push.sh | 0 scripts/terraform/{aws => }/integration_push.sh | 0 9 files changed, 6 insertions(+), 6 deletions(-) rename scripts/terraform/{aws => }/check.sh (100%) rename scripts/terraform/{aws => }/deploy.sh (100%) rename scripts/terraform/{aws => }/example/deploy.sh (100%) rename scripts/terraform/{aws => }/example/integration_push.sh (100%) rename scripts/terraform/{aws => }/integration_push.sh (100%) diff --git a/.github/workflows/ci-push.yaml b/.github/workflows/ci-push.yaml index 5259c00..b81ea7c 100644 --- a/.github/workflows/ci-push.yaml +++ b/.github/workflows/ci-push.yaml @@ -18,8 +18,8 @@ jobs: - name: "terraform: check" run: | docker pull ghcr.io/y-miyazaki/terraform-aws:latest - docker run --rm -v $PWD:/workspace -e ENV=${{ env.ENVIRONMENT }} -w /workspace --name terraform-aws ghcr.io/y-miyazaki/terraform-aws:latest scripts/terraform/aws/integration_push.sh terraform/base - docker run --rm -v $PWD:/workspace -e ENV=${{ env.ENVIRONMENT }} -w /workspace --name terraform-aws ghcr.io/y-miyazaki/terraform-aws:latest scripts/terraform/aws/integration_push.sh terraform/monitor + docker run --rm -v $PWD:/workspace -e ENV=${{ env.ENVIRONMENT }} -w /workspace --name terraform-aws ghcr.io/y-miyazaki/terraform-aws:latest scripts/terraform/integration_push.sh terraform/base + docker run --rm -v $PWD:/workspace -e ENV=${{ env.ENVIRONMENT }} -w /workspace --name terraform-aws ghcr.io/y-miyazaki/terraform-aws:latest scripts/terraform/integration_push.sh terraform/monitor - name: "slack: notification for failed build." if: failure() uses: rtCamp/action-slack-notify@v2.0.2 diff --git a/.github/workflows/example/cd-workflow-dispatch-base-dev.yaml b/.github/workflows/example/cd-workflow-dispatch-base-dev.yaml index ab24d62..b946ef8 100644 --- a/.github/workflows/example/cd-workflow-dispatch-base-dev.yaml +++ b/.github/workflows/example/cd-workflow-dispatch-base-dev.yaml @@ -16,7 +16,7 @@ jobs: echo "$ENV" >> $PWD/.env find scripts -type f -name '*.sh' -exec chmod +x \{\} \; docker pull ghcr.io/y-miyazaki/terraform-aws:latest - docker run --rm -v $PWD:/workspace --env-file=$PWD/.env -w /workspace --name terraform-aws ghcr.io/y-miyazaki/terraform-aws:latest scripts/terraform/aws/deploy.sh terraform/base + docker run --rm -v $PWD:/workspace --env-file=$PWD/.env -w /workspace --name terraform-aws ghcr.io/y-miyazaki/terraform-aws:latest scripts/terraform/deploy.sh terraform/base - name: "slack: notification" if: failure() uses: rtCamp/action-slack-notify@v2.0.2 diff --git a/.github/workflows/example/cd-workflow-dispatch-monitor-dev.yaml b/.github/workflows/example/cd-workflow-dispatch-monitor-dev.yaml index 779d176..cdc8652 100644 --- a/.github/workflows/example/cd-workflow-dispatch-monitor-dev.yaml +++ b/.github/workflows/example/cd-workflow-dispatch-monitor-dev.yaml @@ -16,7 +16,7 @@ jobs: echo "$ENV" >> $PWD/.env find scripts -type f -name '*.sh' -exec chmod +x \{\} \; docker pull ghcr.io/y-miyazaki/terraform-aws:latest - docker run --rm -v $PWD:/workspace --env-file=$PWD/.env -w /workspace --name terraform-aws ghcr.io/y-miyazaki/terraform-aws:latest scripts/terraform/aws/deploy.sh terraform/monitor + docker run --rm -v $PWD:/workspace --env-file=$PWD/.env -w /workspace --name terraform-aws ghcr.io/y-miyazaki/terraform-aws:latest scripts/terraform/deploy.sh terraform/monitor - name: "slack: notification" if: failure() uses: rtCamp/action-slack-notify@v2.0.2 diff --git a/.github/workflows/example/ci-push-dev.yaml b/.github/workflows/example/ci-push-dev.yaml index 5803931..a128523 100644 --- a/.github/workflows/example/ci-push-dev.yaml +++ b/.github/workflows/example/ci-push-dev.yaml @@ -19,8 +19,8 @@ jobs: echo "$ENV" >> $PWD/.env find scripts -type f -name '*.sh' -exec chmod +x \{\} \; docker pull ghcr.io/y-miyazaki/terraform-aws:latest - docker run --rm -v $PWD:/workspace --env-file=$PWD/.env -w /workspace --name terraform-aws ghcr.io/y-miyazaki/terraform-aws:latest scripts/terraform/aws/integration_push.sh terraform/base - docker run --rm -v $PWD:/workspace --env-file=$PWD/.env -w /workspace --name terraform-aws ghcr.io/y-miyazaki/terraform-aws:latest scripts/terraform/aws/integration_push.sh terraform/monitor + docker run --rm -v $PWD:/workspace --env-file=$PWD/.env -w /workspace --name terraform-aws ghcr.io/y-miyazaki/terraform-aws:latest scripts/terraform/integration_push.sh terraform/base + docker run --rm -v $PWD:/workspace --env-file=$PWD/.env -w /workspace --name terraform-aws ghcr.io/y-miyazaki/terraform-aws:latest scripts/terraform/integration_push.sh terraform/monitor - name: "slack: notification" if: failure() uses: rtCamp/action-slack-notify@v2.0.2 diff --git a/scripts/terraform/aws/check.sh b/scripts/terraform/check.sh similarity index 100% rename from scripts/terraform/aws/check.sh rename to scripts/terraform/check.sh diff --git a/scripts/terraform/aws/deploy.sh b/scripts/terraform/deploy.sh similarity index 100% rename from scripts/terraform/aws/deploy.sh rename to scripts/terraform/deploy.sh diff --git a/scripts/terraform/aws/example/deploy.sh b/scripts/terraform/example/deploy.sh similarity index 100% rename from scripts/terraform/aws/example/deploy.sh rename to scripts/terraform/example/deploy.sh diff --git a/scripts/terraform/aws/example/integration_push.sh b/scripts/terraform/example/integration_push.sh similarity index 100% rename from scripts/terraform/aws/example/integration_push.sh rename to scripts/terraform/example/integration_push.sh diff --git a/scripts/terraform/aws/integration_push.sh b/scripts/terraform/integration_push.sh similarity index 100% rename from scripts/terraform/aws/integration_push.sh rename to scripts/terraform/integration_push.sh