diff --git a/.github/workflows/release-ci.yml b/.github/workflows/release-ci.yml new file mode 100644 index 000000000..81d79d44f --- /dev/null +++ b/.github/workflows/release-ci.yml @@ -0,0 +1,45 @@ +name: "⚙️ Monitor Jenkins Release CI" +on: + schedule: + # Run every hour + - cron: "21 * * * *" + + workflow_dispatch: + +permissions: + contents: write + pull-requests: none + issues: write + packages: none + +jobs: + security-scoring: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Jenkins Alert and Reporting + uses: UlisesGascon/jenkins-status-alerts-and-reporting@v1.3.0 + id: jenkins-status-alerts-and-reporting + with: + database: monitor-release/database.json + jenkins-domain: 'ci-release.nodejs.org' + jenkins-username: ${{ secrets.JENKINS_RELEASE_USERNAME }} + jenkins-token: ${{ secrets.JENKINS_RELEASE_TOKEN }} + # Issues + generate-issue: true + issue-assignees: 'UlisesGascon' + issue-labels: 'potential-incident,release-ci' + create-issues-for-new-offline-nodes: false + auto-close-issue: true + disk-alert-level: 90 + # Report + report: monitor-release/jenkins-report.md + report-tags-enabled: false + # Git changes + auto-commit: true + auto-push: true + github-token: ${{ secrets.GITHUB_TOKEN }} + + # - name: Print the Computers + # run: | + # echo '${{ steps.jenkins-status-alerts-and-reporting.outputs.computers }}' diff --git a/README.md b/README.md index a3fdb929d..64a5ac0b0 100644 --- a/README.md +++ b/README.md @@ -7,3 +7,9 @@ This is a experimental Repository that uses [Jenkins status alerts and reporting - [Report](monitor/jenkins-report.md) - [Database](monitor/database.json) + + +### Release + +- [Report](monitor-release/jenkins-report.md) +- [Database](monitor-release/database.json) \ No newline at end of file diff --git a/monitor-release/database.json b/monitor-release/database.json new file mode 100644 index 000000000..e69de29bb diff --git a/monitor-release/jenkins-report.md b/monitor-release/jenkins-report.md new file mode 100644 index 000000000..e69de29bb