From 93dc4cb82bd3d95e4d04dd06d230ca54af1e19a8 Mon Sep 17 00:00:00 2001 From: Asutosh Panda <136367735+asutosh23@users.noreply.github.com> Date: Wed, 1 Oct 2025 12:16:51 +0530 Subject: [PATCH 1/5] test ubuntu-latest --- .github/workflows/rit.yml | 140 +++++++++++++++++++------------------- 1 file changed, 71 insertions(+), 69 deletions(-) diff --git a/.github/workflows/rit.yml b/.github/workflows/rit.yml index a54e273b..eaff3867 100644 --- a/.github/workflows/rit.yml +++ b/.github/workflows/rit.yml @@ -1,19 +1,21 @@ name: Rootstock Integration Tests -on: - pull_request: - types: [ opened, synchronize, reopened ] - branches: [ "master", "*-rc" ] - workflow_dispatch: - inputs: - rit-branch: - description: 'Branch for Rootstock Integration Tests' - required: false - default: 'main' - rskj-branch: - description: 'Branch for RSKJ repo' - required: false - default: 'master' +on: pull_request + +# on: +# pull_request: +# types: [ opened, synchronize, reopened ] +# branches: [ "master", "*-rc" ] +# workflow_dispatch: +# inputs: +# rit-branch: +# description: 'Branch for Rootstock Integration Tests' +# required: false +# default: 'main' +# rskj-branch: +# description: 'Branch for RSKJ repo' +# required: false +# default: 'master' # Declare default permissions as read only. permissions: read-all @@ -131,58 +133,58 @@ jobs: rit-branch: ${{ env.RIT_BRANCH }} repo-owner: ${{ env.REPO_OWNER }} - - name: Send Slack Notification on Success - if: success() && github.event.pull_request.head.repo.owner.login == 'rsksmart' - uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1 - with: - token: ${{ secrets.GHA_SLACK_NOTIFICATION_TOKEN }} - method: chat.postMessage - payload: | - { - "channel": "${{ vars.GHA_SLACK_NOTIFICATION_CHANNEL }}", - "blocks": [ - { "type": "header", "text": { "type": "plain_text", "text": "✅ PASSED — ${{ github.repository }} – PR #${{ github.event.pull_request.number }}", "emoji": true } }, - { - "type": "section", - "text": { "type": "mrkdwn", "text": "*${{ env.SAFE_PULL_REQUEST_TITLE }}*" }, - "fields": [ - { "type": "mrkdwn", "text": "• rskj: `${{ env.RSKJ_BRANCH }}`\n• fed: `${{ env.POWPEG_BRANCH }}`\n• rit: `${{ env.RIT_BRANCH }}`" } - ] - }, - { - "type": "actions", - "elements": [ - { "type": "button", "text": { "type": "plain_text", "text": "Open PR" }, "url": "${{ github.event.pull_request.html_url }}" }, - { "type": "button", "text": { "type": "plain_text", "text": "View Actions Run" }, "url": "${{ env.BUILD_URL }}" } - ] - } - ] - } - - - name: Send Slack Notification on Failure - if: failure() && github.event.pull_request.head.repo.owner.login == 'rsksmart' - uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1 - with: - token: ${{ secrets.GHA_SLACK_NOTIFICATION_TOKEN }} - method: chat.postMessage - payload: | - { - "channel": "${{ vars.GHA_SLACK_NOTIFICATION_CHANNEL }}", - "blocks": [ - { "type": "header", "text": { "type": "plain_text", "text": "❌ FAILED — ${{ github.repository }} – PR #${{ github.event.pull_request.number }}", "emoji": true } }, - { - "type": "section", - "text": { "type": "mrkdwn", "text": "*${{ env.SAFE_PULL_REQUEST_TITLE }}*" }, - "fields": [ - { "type": "mrkdwn", "text": "• rskj: `${{ env.RSKJ_BRANCH }}`\n• fed: `${{ env.POWPEG_BRANCH }}`\n• rit: `${{ env.RIT_BRANCH }}`" } - ] - }, - { - "type": "actions", - "elements": [ - { "type": "button", "style": "danger", "text": { "type": "plain_text", "text": "Open PR" }, "url": "${{ github.event.pull_request.html_url }}" }, - { "type": "button", "style": "danger", "text": { "type": "plain_text", "text": "View Actions Run" }, "url": "${{ env.BUILD_URL }}" } - ] - } - ] - } + # - name: Send Slack Notification on Success + # if: success() && github.event.pull_request.head.repo.owner.login == 'rsksmart' + # uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1 + # with: + # token: ${{ secrets.GHA_SLACK_NOTIFICATION_TOKEN }} + # method: chat.postMessage + # payload: | + # { + # "channel": "${{ vars.GHA_SLACK_NOTIFICATION_CHANNEL }}", + # "blocks": [ + # { "type": "header", "text": { "type": "plain_text", "text": "✅ PASSED — ${{ github.repository }} – PR #${{ github.event.pull_request.number }}", "emoji": true } }, + # { + # "type": "section", + # "text": { "type": "mrkdwn", "text": "*${{ env.SAFE_PULL_REQUEST_TITLE }}*" }, + # "fields": [ + # { "type": "mrkdwn", "text": "• rskj: `${{ env.RSKJ_BRANCH }}`\n• fed: `${{ env.POWPEG_BRANCH }}`\n• rit: `${{ env.RIT_BRANCH }}`" } + # ] + # }, + # { + # "type": "actions", + # "elements": [ + # { "type": "button", "text": { "type": "plain_text", "text": "Open PR" }, "url": "${{ github.event.pull_request.html_url }}" }, + # { "type": "button", "text": { "type": "plain_text", "text": "View Actions Run" }, "url": "${{ env.BUILD_URL }}" } + # ] + # } + # ] + # } + + # - name: Send Slack Notification on Failure + # if: failure() && github.event.pull_request.head.repo.owner.login == 'rsksmart' + # uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1 + # with: + # token: ${{ secrets.GHA_SLACK_NOTIFICATION_TOKEN }} + # method: chat.postMessage + # payload: | + # { + # "channel": "${{ vars.GHA_SLACK_NOTIFICATION_CHANNEL }}", + # "blocks": [ + # { "type": "header", "text": { "type": "plain_text", "text": "❌ FAILED — ${{ github.repository }} – PR #${{ github.event.pull_request.number }}", "emoji": true } }, + # { + # "type": "section", + # "text": { "type": "mrkdwn", "text": "*${{ env.SAFE_PULL_REQUEST_TITLE }}*" }, + # "fields": [ + # { "type": "mrkdwn", "text": "• rskj: `${{ env.RSKJ_BRANCH }}`\n• fed: `${{ env.POWPEG_BRANCH }}`\n• rit: `${{ env.RIT_BRANCH }}`" } + # ] + # }, + # { + # "type": "actions", + # "elements": [ + # { "type": "button", "style": "danger", "text": { "type": "plain_text", "text": "Open PR" }, "url": "${{ github.event.pull_request.html_url }}" }, + # { "type": "button", "style": "danger", "text": { "type": "plain_text", "text": "View Actions Run" }, "url": "${{ env.BUILD_URL }}" } + # ] + # } + # ] + # } From 4110a6fcbc0035f0bce6499fb655dc1c2fc819d2 Mon Sep 17 00:00:00 2001 From: Asutosh Panda <136367735+asutosh23@users.noreply.github.com> Date: Wed, 1 Oct 2025 13:53:32 +0530 Subject: [PATCH 2/5] test tenki-standard-autoscale --- .github/workflows/rit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rit.yml b/.github/workflows/rit.yml index eaff3867..a705aabf 100644 --- a/.github/workflows/rit.yml +++ b/.github/workflows/rit.yml @@ -23,7 +23,7 @@ permissions: read-all jobs: rootstock-integration-tests: name: Rootstock Integration Tests - runs-on: ubuntu-latest + runs-on: tenki-standard-autoscale timeout-minutes: 120 steps: - name: Checkout Repository # Step needed to access the PR description using github CLI From da8f5d386a5cbc044da1b1c0d4b95626e6bd6b60 Mon Sep 17 00:00:00 2001 From: Asutosh Panda <136367735+asutosh23@users.noreply.github.com> Date: Fri, 3 Oct 2025 11:56:30 +0530 Subject: [PATCH 3/5] test tenki-standard-large-plus-16c-32g --- .github/workflows/rit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rit.yml b/.github/workflows/rit.yml index a705aabf..409b58c3 100644 --- a/.github/workflows/rit.yml +++ b/.github/workflows/rit.yml @@ -23,7 +23,7 @@ permissions: read-all jobs: rootstock-integration-tests: name: Rootstock Integration Tests - runs-on: tenki-standard-autoscale + runs-on: tenki-standard-large-plus-16c-32g timeout-minutes: 120 steps: - name: Checkout Repository # Step needed to access the PR description using github CLI From 61b8e45ca586affe5180bf345a97f296deae3b77 Mon Sep 17 00:00:00 2001 From: Asutosh Panda <136367735+asutosh23@users.noreply.github.com> Date: Fri, 3 Oct 2025 22:27:15 +0530 Subject: [PATCH 4/5] ci: make the PR merge ready --- .github/workflows/rit.yml | 140 +++++++++++++++++++------------------- 1 file changed, 69 insertions(+), 71 deletions(-) diff --git a/.github/workflows/rit.yml b/.github/workflows/rit.yml index 409b58c3..cdcb823a 100644 --- a/.github/workflows/rit.yml +++ b/.github/workflows/rit.yml @@ -1,21 +1,19 @@ name: Rootstock Integration Tests -on: pull_request - -# on: -# pull_request: -# types: [ opened, synchronize, reopened ] -# branches: [ "master", "*-rc" ] -# workflow_dispatch: -# inputs: -# rit-branch: -# description: 'Branch for Rootstock Integration Tests' -# required: false -# default: 'main' -# rskj-branch: -# description: 'Branch for RSKJ repo' -# required: false -# default: 'master' +on: + pull_request: + types: [ opened, synchronize, reopened ] + branches: [ "master", "*-rc" ] + workflow_dispatch: + inputs: + rit-branch: + description: 'Branch for Rootstock Integration Tests' + required: false + default: 'main' + rskj-branch: + description: 'Branch for RSKJ repo' + required: false + default: 'master' # Declare default permissions as read only. permissions: read-all @@ -23,7 +21,7 @@ permissions: read-all jobs: rootstock-integration-tests: name: Rootstock Integration Tests - runs-on: tenki-standard-large-plus-16c-32g + runs-on: tenki-standard-autoscale timeout-minutes: 120 steps: - name: Checkout Repository # Step needed to access the PR description using github CLI @@ -133,58 +131,58 @@ jobs: rit-branch: ${{ env.RIT_BRANCH }} repo-owner: ${{ env.REPO_OWNER }} - # - name: Send Slack Notification on Success - # if: success() && github.event.pull_request.head.repo.owner.login == 'rsksmart' - # uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1 - # with: - # token: ${{ secrets.GHA_SLACK_NOTIFICATION_TOKEN }} - # method: chat.postMessage - # payload: | - # { - # "channel": "${{ vars.GHA_SLACK_NOTIFICATION_CHANNEL }}", - # "blocks": [ - # { "type": "header", "text": { "type": "plain_text", "text": "✅ PASSED — ${{ github.repository }} – PR #${{ github.event.pull_request.number }}", "emoji": true } }, - # { - # "type": "section", - # "text": { "type": "mrkdwn", "text": "*${{ env.SAFE_PULL_REQUEST_TITLE }}*" }, - # "fields": [ - # { "type": "mrkdwn", "text": "• rskj: `${{ env.RSKJ_BRANCH }}`\n• fed: `${{ env.POWPEG_BRANCH }}`\n• rit: `${{ env.RIT_BRANCH }}`" } - # ] - # }, - # { - # "type": "actions", - # "elements": [ - # { "type": "button", "text": { "type": "plain_text", "text": "Open PR" }, "url": "${{ github.event.pull_request.html_url }}" }, - # { "type": "button", "text": { "type": "plain_text", "text": "View Actions Run" }, "url": "${{ env.BUILD_URL }}" } - # ] - # } - # ] - # } - - # - name: Send Slack Notification on Failure - # if: failure() && github.event.pull_request.head.repo.owner.login == 'rsksmart' - # uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1 - # with: - # token: ${{ secrets.GHA_SLACK_NOTIFICATION_TOKEN }} - # method: chat.postMessage - # payload: | - # { - # "channel": "${{ vars.GHA_SLACK_NOTIFICATION_CHANNEL }}", - # "blocks": [ - # { "type": "header", "text": { "type": "plain_text", "text": "❌ FAILED — ${{ github.repository }} – PR #${{ github.event.pull_request.number }}", "emoji": true } }, - # { - # "type": "section", - # "text": { "type": "mrkdwn", "text": "*${{ env.SAFE_PULL_REQUEST_TITLE }}*" }, - # "fields": [ - # { "type": "mrkdwn", "text": "• rskj: `${{ env.RSKJ_BRANCH }}`\n• fed: `${{ env.POWPEG_BRANCH }}`\n• rit: `${{ env.RIT_BRANCH }}`" } - # ] - # }, - # { - # "type": "actions", - # "elements": [ - # { "type": "button", "style": "danger", "text": { "type": "plain_text", "text": "Open PR" }, "url": "${{ github.event.pull_request.html_url }}" }, - # { "type": "button", "style": "danger", "text": { "type": "plain_text", "text": "View Actions Run" }, "url": "${{ env.BUILD_URL }}" } - # ] - # } - # ] + - name: Send Slack Notification on Success + if: success() && github.event.pull_request.head.repo.owner.login == 'rsksmart' + uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1 + with: + token: ${{ secrets.GHA_SLACK_NOTIFICATION_TOKEN }} + method: chat.postMessage + payload: | + { + "channel": "${{ vars.GHA_SLACK_NOTIFICATION_CHANNEL }}", + "blocks": [ + { "type": "header", "text": { "type": "plain_text", "text": "✅ PASSED — ${{ github.repository }} – PR #${{ github.event.pull_request.number }}", "emoji": true } }, + { + "type": "section", + "text": { "type": "mrkdwn", "text": "*${{ env.SAFE_PULL_REQUEST_TITLE }}*" }, + "fields": [ + { "type": "mrkdwn", "text": "• rskj: `${{ env.RSKJ_BRANCH }}`\n• fed: `${{ env.POWPEG_BRANCH }}`\n• rit: `${{ env.RIT_BRANCH }}`" } + ] + }, + { + "type": "actions", + "elements": [ + { "type": "button", "text": { "type": "plain_text", "text": "Open PR" }, "url": "${{ github.event.pull_request.html_url }}" }, + { "type": "button", "text": { "type": "plain_text", "text": "View Actions Run" }, "url": "${{ env.BUILD_URL }}" } + ] + } + ] + } + + - name: Send Slack Notification on Failure + if: failure() && github.event.pull_request.head.repo.owner.login == 'rsksmart' + uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1 + with: + token: ${{ secrets.GHA_SLACK_NOTIFICATION_TOKEN }} + method: chat.postMessage + payload: | + { + "channel": "${{ vars.GHA_SLACK_NOTIFICATION_CHANNEL }}", + "blocks": [ + { "type": "header", "text": { "type": "plain_text", "text": "❌ FAILED — ${{ github.repository }} – PR #${{ github.event.pull_request.number }}", "emoji": true } }, + { + "type": "section", + "text": { "type": "mrkdwn", "text": "*${{ env.SAFE_PULL_REQUEST_TITLE }}*" }, + "fields": [ + { "type": "mrkdwn", "text": "• rskj: `${{ env.RSKJ_BRANCH }}`\n• fed: `${{ env.POWPEG_BRANCH }}`\n• rit: `${{ env.RIT_BRANCH }}`" } + ] + }, + { + "type": "actions", + "elements": [ + { "type": "button", "style": "danger", "text": { "type": "plain_text", "text": "Open PR" }, "url": "${{ github.event.pull_request.html_url }}" }, + { "type": "button", "style": "danger", "text": { "type": "plain_text", "text": "View Actions Run" }, "url": "${{ env.BUILD_URL }}" } + ] + } + ] # } From dab1513a6c02211fd8fb5f0b0b0b9852b2aa8206 Mon Sep 17 00:00:00 2001 From: Asutosh Panda <136367735+asutosh23@users.noreply.github.com> Date: Fri, 3 Oct 2025 22:30:18 +0530 Subject: [PATCH 5/5] ci: adjust indentation to make it merge ready --- .github/workflows/rit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rit.yml b/.github/workflows/rit.yml index cdcb823a..de998ea1 100644 --- a/.github/workflows/rit.yml +++ b/.github/workflows/rit.yml @@ -185,4 +185,4 @@ jobs: ] } ] - # } + }