Skip to content

Commit

Permalink
remove changes for testing if changes works
Browse files Browse the repository at this point in the history
  • Loading branch information
karola312 committed Dec 27, 2024
1 parent 583f707 commit fa1ca2c
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 76 deletions.
64 changes: 32 additions & 32 deletions .github/workflows/run-tests-on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -300,38 +300,38 @@ jobs:
testmoToken: ${{ secrets.TESTMO_TOKEN }}
testmoRunId: ${{ needs.add-check-and-prepare-instance.outputs.TESTMO_RUN_ID }}

# - name: send message on slack
# working-directory: ".github"
# id: send-slack-message
# env:
# RUN_ID: ${{ needs.add-check-and-prepare-instance.outputs.TESTMO_RUN_ID }}
# URL_TO_ACTION: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
# TESTMO_TOKEN: ${{ secrets.TESTMO_TOKEN }}
# ENVIRONMENT: ${{ needs.add-check-and-prepare-instance.outputs.BASE_URL }}
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_QA_STATUSES_WEBHOOK_URL }}
# REF_NAME: ${{github.ref_name}}
# ADDITIONAL_TITLE: "${{inputs.ADDITIONAL_TITLE}} ${{inputs.CUSTOM_VERSION}}"
# run: |
# node workflows/postTestsResults.js \
# --run_id "$RUN_ID" \
# --testmo_token "$TESTMO_TOKEN" \
# --slack_webhook_url "$SLACK_WEBHOOK_URL" \
# --environment "$ENVIRONMENT" \
# --url_to_action "$URL_TO_ACTION" \
# --ref_name "$REF_NAME" \
# --additional_title "$ADDITIONAL_TITLE"

# - id: update-check
# if: always() && ${{ needs.add-check-and-prepare-instance.outputs.CHECK_ID }}
# uses: ./.github/actions/checks/update-pull-request-check
# with:
# CHECK_ID: ${{ needs.add-check-and-prepare-instance.outputs.CHECK_ID }}
# CHECK_NAME: "Automation_tests_run"
# STATUS: "completed"
# CONCLUSION: "${{ steps.send-slack-message.outputs.status }}"
# TITLE: "Automation tests run"
# SUMMARY: "${{ steps.send-slack-message.outputs.message }}. Run details: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
# DETAILS_URL: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
- name: send message on slack
working-directory: ".github"
id: send-slack-message
env:
RUN_ID: ${{ needs.add-check-and-prepare-instance.outputs.TESTMO_RUN_ID }}
URL_TO_ACTION: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
TESTMO_TOKEN: ${{ secrets.TESTMO_TOKEN }}
ENVIRONMENT: ${{ needs.add-check-and-prepare-instance.outputs.BASE_URL }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_QA_STATUSES_WEBHOOK_URL }}
REF_NAME: ${{github.ref_name}}
ADDITIONAL_TITLE: "${{inputs.ADDITIONAL_TITLE}} ${{inputs.CUSTOM_VERSION}}"
run: |
node workflows/postTestsResults.js \
--run_id "$RUN_ID" \
--testmo_token "$TESTMO_TOKEN" \
--slack_webhook_url "$SLACK_WEBHOOK_URL" \
--environment "$ENVIRONMENT" \
--url_to_action "$URL_TO_ACTION" \
--ref_name "$REF_NAME" \
--additional_title "$ADDITIONAL_TITLE"
- id: update-check
if: always() && ${{ needs.add-check-and-prepare-instance.outputs.CHECK_ID }}
uses: ./.github/actions/checks/update-pull-request-check
with:
CHECK_ID: ${{ needs.add-check-and-prepare-instance.outputs.CHECK_ID }}
CHECK_NAME: "Automation_tests_run"
STATUS: "completed"
CONCLUSION: "${{ steps.send-slack-message.outputs.status }}"
TITLE: "Automation tests run"
SUMMARY: "${{ steps.send-slack-message.outputs.message }}. Run details: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
DETAILS_URL: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"

update-check-status-if-previous-job-fails:
runs-on: ubuntu-latest
Expand Down
44 changes: 0 additions & 44 deletions .github/workflows/test-workflow-changes.yml

This file was deleted.

0 comments on commit fa1ca2c

Please sign in to comment.