Remove deployment notification steps and script from CI workflows
All checks were successful
All checks were successful
Delete send-deployment-notification.sh script and remove notification job from deploy-testnet.yml and notification step from deploy-mainnet.yml post-deployment job
This commit is contained in:
@@ -232,16 +232,6 @@ jobs:
|
||||
|
||||
echo "✅ Monitoring verification passed"
|
||||
|
||||
- name: Send deployment notification
|
||||
run: |
|
||||
cd /var/lib/aitbc-workspaces/post-deployment/repo
|
||||
|
||||
# Send notification about mainnet deployment
|
||||
STATUS=${{ needs.deploy-mainnet.result }}
|
||||
bash scripts/notifications/send-deployment-notification.sh mainnet $STATUS
|
||||
|
||||
echo "✅ Deployment notification sent"
|
||||
|
||||
- name: Cleanup
|
||||
if: always()
|
||||
run: rm -rf /var/lib/aitbc-workspaces/post-deployment
|
||||
|
||||
@@ -130,36 +130,3 @@ jobs:
|
||||
- name: Cleanup
|
||||
if: always()
|
||||
run: rm -rf /var/lib/aitbc-workspaces/deploy-testnet
|
||||
|
||||
notify-deployment:
|
||||
runs-on: debian
|
||||
needs: deploy-testnet
|
||||
if: always()
|
||||
|
||||
steps:
|
||||
- name: Clone repository
|
||||
run: |
|
||||
WORKSPACE="/var/lib/aitbc-workspaces/notify-deployment"
|
||||
rm -rf "$WORKSPACE"
|
||||
mkdir -p "$WORKSPACE"
|
||||
cd "$WORKSPACE"
|
||||
git clone --depth 1 http://gitea.bubuit.net:3000/oib/aitbc.git repo
|
||||
|
||||
- name: Initialize job logging
|
||||
run: |
|
||||
cd /var/lib/aitbc-workspaces/notify-deployment/repo
|
||||
bash scripts/ci/setup-job-logging.sh
|
||||
|
||||
- name: Send deployment notification
|
||||
run: |
|
||||
cd /var/lib/aitbc-workspaces/notify-deployment/repo
|
||||
|
||||
# Send notification about deployment status
|
||||
STATUS=${{ needs.deploy-testnet.result }}
|
||||
bash scripts/notifications/send-deployment-notification.sh testnet $STATUS
|
||||
|
||||
echo "✅ Deployment notification sent"
|
||||
|
||||
- name: Cleanup
|
||||
if: always()
|
||||
run: rm -rf /var/lib/aitbc-workspaces/notify-deployment
|
||||
|
||||
Reference in New Issue
Block a user