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_RING_ID=${TF_ACC_KEK_KEY_RING_ID} \
TF_ACC_KEK_KEY_VERSION=${TF_ACC_KEK_KEY_VERSION} \ TF_ACC_KEK_KEY_VERSION=${TF_ACC_KEK_KEY_VERSION} \
TF_ACC_KEK_SERVICE_ACCOUNT=${TF_ACC_KEK_SERVICE_ACCOUNT} \ 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::" echo "::endgroup::"
env: env:
TF_ACC_PROJECT_ID: ${{ inputs.project_id }} TF_ACC_PROJECT_ID: ${{ inputs.project_id }}
@ -243,7 +243,7 @@ runs:
# testArguments: "./... -timeout ${{ inputs.test_timeout_string }}" # testArguments: "./... -timeout ${{ inputs.test_timeout_string }}"
# moduleDirectory: "stackit" # moduleDirectory: "stackit"
- name: Run acceptance tests - name: Run all acceptance tests
if: ${{ inputs.test_file == '' }} if: ${{ inputs.test_file == '' }}
shell: bash shell: bash
run: | run: |

View file

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