Skip to content

Commit

Permalink
build: Disable MQTT messages from Docker build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mountaindude committed Mar 12, 2023
1 parent 16a30b2 commit f6b1712
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/docker-image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,18 @@ jobs:
packages: write

steps:
- name: Send job status to MQTT (starting job)
uses: potaesm/[email protected]
if: always()
env:
JOB_CONCLUSION: ${{ job.status }}
NODE_VERSION: ${{ matrix.node }}
with:
url: ${{ secrets.PUBLIC_MQTT_BROKER_URL }}
topic: control/github_actions_action_runner
payload: '{ "type":"ci-test", "repo": "${{ github.repository }}", "job": "${{ github.job }}", "workflow": "${{ github.workflow }}", "nodeVersion": "${{ env.NODE_VERSION }}","status": "in_progress","conclusion":"${{ env.JOB_CONCLUSION }}" }'
username: ${{ secrets.PUBLIC_MQTT_BROKER_USER }}
connectTimeout: 30000
# - name: Send job status to MQTT (starting job)
# uses: potaesm/[email protected]
# if: always()
# env:
# JOB_CONCLUSION: ${{ job.status }}
# NODE_VERSION: ${{ matrix.node }}
# with:
# url: ${{ secrets.PUBLIC_MQTT_BROKER_URL }}
# topic: control/github_actions_action_runner
# payload: '{ "type":"ci-test", "repo": "${{ github.repository }}", "job": "${{ github.job }}", "workflow": "${{ github.workflow }}", "nodeVersion": "${{ env.NODE_VERSION }}","status": "in_progress","conclusion":"${{ env.JOB_CONCLUSION }}" }'
# username: ${{ secrets.PUBLIC_MQTT_BROKER_USER }}
# connectTimeout: 30000

- name: Show input values
run: |
Expand Down Expand Up @@ -165,14 +165,14 @@ jobs:
# \"conclusion\":\"success\"
# }"
# }
- name: Send job status to MQTT when done
uses: potaesm/[email protected]
if: always()
env:
JOB_STATUS: ${{ job.status }}
with:
url: ${{ secrets.PUBLIC_MQTT_BROKER_URL }}
topic: control/github_actions_action_runner
payload: '{ "type":"docker-build", "repo": "${{ github.repository }}", "job": "${{ github.job }}", "workflow": "${{ github.workflow }}","status": "completed","conclusion":"${{ env.JOB_STATUS }}" }'
username: ${{ secrets.PUBLIC_MQTT_BROKER_USER }}
connectTimeout: 30000
# - name: Send job status to MQTT when done
# uses: potaesm/[email protected]
# if: always()
# env:
# JOB_STATUS: ${{ job.status }}
# with:
# url: ${{ secrets.PUBLIC_MQTT_BROKER_URL }}
# topic: control/github_actions_action_runner
# payload: '{ "type":"docker-build", "repo": "${{ github.repository }}", "job": "${{ github.job }}", "workflow": "${{ github.workflow }}","status": "completed","conclusion":"${{ env.JOB_STATUS }}" }'
# username: ${{ secrets.PUBLIC_MQTT_BROKER_USER }}
# connectTimeout: 30000

0 comments on commit f6b1712

Please sign in to comment.