Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Orlov committed Sep 23, 2024
1 parent 43459c7 commit ce0213f
Showing 1 changed file with 14 additions and 20 deletions.
34 changes: 14 additions & 20 deletions .github/workflows/modules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,10 @@ jobs:
shell: bash
run: |
curl -o terraform.zip $terraform_link
apt-get install unzip
unzip terraform.zip
chmod 755 terraform
mv terraform /usr/local/bin
# - name: Setup Terraform
# uses: hashicorp/setup-terraform@v3
# with:
# terraform_version: "1.5.5"

# - name: Run Checkov action # suppressed for now because it fails to copy a file inside a self-hosted runner
# uses: bridgecrewio/checkov-action@v12
# with:
Expand Down Expand Up @@ -80,17 +74,17 @@ jobs:
- name: Terraform destroy
run: terraform destroy -auto-approve

# - name: Telegram notify if job was failed
# if: ${{ failure() }}
# uses: appleboy/telegram-action@master
# with:
# to: ${{ secrets.TELEGRAM_TO }}
# token: ${{ secrets.TELEGRAM_TOKEN }}
# message: |
# -= GITHUB public repository selectel/selectel-infra-examples =-
# Terraform modules build pipeline was failed
# 🚨 Critical
# Не катится пайпа, необходимо принять меры, возможно внутренние пайпы с terraform так же не будут катиться.
#
# ⚡️Workflow: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
# 🔥 See changes: https://github.com/${{ github.repository }}/commit/${{ github.sha }}
- name: Telegram notify if job was failed
if: ${{ failure() }}
uses: appleboy/telegram-action@master
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
message: |
-= GITHUB public repository selectel/selectel-infra-examples =-
Terraform modules build pipeline was failed
🚨 Critical
Не катится пайпа, необходимо принять меры, возможно внутренние пайпы с terraform так же не будут катиться.
⚡️Workflow: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
🔥 See changes: https://github.com/${{ github.repository }}/commit/${{ github.sha }}

0 comments on commit ce0213f

Please sign in to comment.