chore: merge develop → main (maintenance window 2026-06-28) #7
@@ -130,18 +130,6 @@ jobs:
|
|||||||
docker compose pull hiveiq-aria && \
|
docker compose pull hiveiq-aria && \
|
||||||
REGISTRY_URL=${{ secrets.DEV_REGISTRY_URL }} ARIA_VERSION=dev \
|
REGISTRY_URL=${{ secrets.DEV_REGISTRY_URL }} ARIA_VERSION=dev \
|
||||||
docker compose up -d hiveiq-aria"
|
docker compose up -d hiveiq-aria"
|
||||||
|
|
||||||
- name: Notify Slack
|
|
||||||
if: always()
|
|
||||||
run: |
|
|
||||||
STATUS="${{ job.status }}"
|
|
||||||
[ "$STATUS" = "success" ] && COLOR="good" || COLOR="danger"
|
|
||||||
SHORT_SHA=$(echo "${{ github.sha }}" | cut -c1-7)
|
|
||||||
RUN_URL="https://hiveiq-gitea.directlx.dev/hiveiq-src/hiveops-aria/actions/runs/${{ github.run_id }}"
|
|
||||||
curl -s -X POST "${{ secrets.SLACK_WEBHOOK_URL }}" \
|
|
||||||
-H "Content-Type: application/json" \
|
|
||||||
-d "{\"attachments\":[{\"color\":\"$COLOR\",\"text\":\"*<$RUN_URL|hiveops-aria CD Develop — $STATUS>*\n${{ github.ref_name }} · $SHORT_SHA · ${{ github.actor }}\",\"mrkdwn_in\":[\"text\"],\"footer\":\"Gitea Actions\"}]}"
|
|
||||||
|
|
||||||
- name: Cleanup
|
- name: Cleanup
|
||||||
if: always()
|
if: always()
|
||||||
run: rm -f ~/.ssh/deploy_key
|
run: rm -f ~/.ssh/deploy_key
|
||||||
|
|||||||
@@ -104,14 +104,3 @@ jobs:
|
|||||||
-t ${{ secrets.REGISTRY_URL }}/hiveiq-aria:${SHORT_SHA} .
|
-t ${{ secrets.REGISTRY_URL }}/hiveiq-aria:${SHORT_SHA} .
|
||||||
docker push ${{ secrets.REGISTRY_URL }}/hiveiq-aria:latest
|
docker push ${{ secrets.REGISTRY_URL }}/hiveiq-aria:latest
|
||||||
docker push ${{ secrets.REGISTRY_URL }}/hiveiq-aria:${SHORT_SHA}
|
docker push ${{ secrets.REGISTRY_URL }}/hiveiq-aria:${SHORT_SHA}
|
||||||
|
|
||||||
- name: Notify Slack
|
|
||||||
if: always() && github.ref_name == 'main'
|
|
||||||
run: |
|
|
||||||
STATUS="${{ job.status }}"
|
|
||||||
[ "$STATUS" = "success" ] && COLOR="good" || COLOR="danger"
|
|
||||||
SHORT_SHA=$(echo "${{ github.sha }}" | cut -c1-7)
|
|
||||||
RUN_URL="https://hiveiq-gitea.directlx.dev/hiveiq-src/hiveops-aria/actions/runs/${{ github.run_id }}"
|
|
||||||
curl -s -X POST "${{ secrets.SLACK_PROD_WEBHOOK_URL }}" \
|
|
||||||
-H "Content-Type: application/json" \
|
|
||||||
-d "{\"attachments\":[{\"color\":\"$COLOR\",\"text\":\"*<$RUN_URL|hiveops-aria CD Production — $STATUS>*\\n${{ github.ref_name }} · $SHORT_SHA · ${{ github.actor }}\",\"mrkdwn_in\":[\"text\"],\"footer\":\"Gitea Actions\"}]}"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user