chore: add notifications

[skip ci]
This commit is contained in:
Marcel S. Henselin 2026-03-25 13:56:44 +01:00
parent 413dbd6f50
commit ff144042ba
2 changed files with 14 additions and 14 deletions

View file

@ -214,7 +214,7 @@ runs:
TF_ACC_KEK_KEY_RING_ID=${TF_ACC_KEK_KEY_RING_ID} \
TF_ACC_KEK_KEY_VERSION=${TF_ACC_KEK_KEY_VERSION} \
TF_ACC_KEK_SERVICE_ACCOUNT=${TF_ACC_KEK_SERVICE_ACCOUNT} \
go test -v ${{ inputs.test_file }} -timeout=${{ inputs.test_timeout_string }}
go test -v ${{ inputs.test_file }} -timeout=${{ inputs.test_timeout_string }} | tee -a acc_test_run.log
echo "::endgroup::"
env:
TF_ACC_PROJECT_ID: ${{ inputs.project_id }}
@ -243,7 +243,7 @@ runs:
# testArguments: "./... -timeout ${{ inputs.test_timeout_string }}"
# moduleDirectory: "stackit"
- name: Run acceptance tests
- name: Run all acceptance tests
if: ${{ inputs.test_file == '' }}
shell: bash
run: |

View file

@ -40,19 +40,19 @@ jobs:
with:
webhookUrl: '${{ secrets.GOOGLE_WEBHOOK_URL }}'
jobStatus: '${{ job.status }}'
title: CI pipeline
subtitle: "on: ${{ github.event_name }} \n<br />with filter prefix: ${{ inputs.res_prefix }}"
title: CLEAN-UP pipeline
subtitle: "${{ github.event_name }} with filter prefix <b>${{ inputs.res_prefix }}</b>"
- name: Notify
uses: ./.github/actions/notify
with:
webhook_url: ${{ secrets.GOOGLE_WEBHOOK_URL }}
title: CI pipeline started
event_title: ${{ github.event.type }}
event_author: ${{ github.event.actor.login }}
event_body: "Filter: ${{ inputs.res_prefix }}"
event_number: ${{ github.event.id }}
event_url: "https://tf-provider.git.onstackit.cloud/stackit-dev-tools/terraform-provider-stackitprivatepreview/actions/runs/${{ github.run_id }}"
# - name: Notify
# uses: ./.github/actions/notify
# with:
# webhook_url: ${{ secrets.GOOGLE_WEBHOOK_URL }}
# title: CI pipeline started
# event_title: ${{ github.event.type }}
# event_author: ${{ github.event.actor.login }}
# event_body: "Filter: ${{ inputs.res_prefix }}"
# event_number: ${{ github.event.id }}
# event_url: "https://tf-provider.git.onstackit.cloud/stackit-dev-tools/terraform-provider-stackitprivatepreview/actions/runs/${{ github.run_id }}"
- name: Clean
uses: ./.github/actions/clean_up