Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): disable split-cluster mainnet #3859

Merged
merged 6 commits into from
Nov 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 15 additions & 40 deletions .github/workflows/split_cluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,57 +3,32 @@ name: Split Cluster Check
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
push:
branches:
- main

jobs:
validate-mainnet:
if: github.event.pull_request.draft == false
runs-on: self-hosted
steps:
- name: checkout code repository
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # pin@v4
with:
fetch-depth: 0
- name: Run split cluster check script
id: mn-split-cluster-check
continue-on-error: true # if failure, continue to bisect
run: |
IOTA_PROTOCOL_CONFIG_CHAIN_OVERRIDE=mainnet \
scripts/compatibility/split-cluster-check.sh origin/mainnet ${{ github.sha }}
- name: Bisect
if: steps.mn-split-cluster-check.outcome == 'failure' && github.event_name == 'push'
run: |
git bisect start ${{ github.event.pull_request.head.sha }} origin/mainnet
IOTA_PROTOCOL_CONFIG_CHAIN_OVERRIDE=mainnet \
git bisect run scripts/split-cluster-check.sh origin/mainnet ${{ github.sha }}
git bisect reset
- name: Mark Failures
if: failure()
run: exit 1

# TODO: re-enable https://github.com/iotaledger/iota/issues/3862
# validate-mainnet:
Thoralf-M marked this conversation as resolved.
Show resolved Hide resolved
# if: github.event.pull_request.draft == false
# runs-on: self-hosted
# steps:
# - name: Checkout code repository
# uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # pin@v4
# with:
# fetch-depth: 0
# - name: Run split cluster check script
# id: mn-split-cluster-check
# run: |
# IOTA_PROTOCOL_CONFIG_CHAIN_OVERRIDE=mainnet \
# scripts/compatibility/split-cluster-check.sh origin/mainnet ${{ github.sha }}
validate-testnet:
if: github.event.pull_request.draft == false
runs-on: self-hosted
steps:
- name: checkout code repository
- name: Checkout code repository
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # pin@v4
with:
fetch-depth: 0
- name: Run split cluster check script
id: tn-split-cluster-check
continue-on-error: true # if failure, continue to bisect
run: |
IOTA_PROTOCOL_CONFIG_CHAIN_OVERRIDE=testnet \
scripts/compatibility/split-cluster-check.sh origin/testnet ${{ github.sha }}
- name: Bisect
if: steps.tn-split-cluster-check.outcome == 'failure' && github.event_name == 'push'
run: |
git bisect start ${{ github.event.pull_request.head.sha }} origin/testnet
IOTA_PROTOCOL_CONFIG_CHAIN_OVERRIDE=testnet \
git bisect run scripts/split-cluster-check.sh origin/testnet ${{ github.sha }}
git bisect reset
- name: Mark Failures
if: failure()
run: exit 1
Loading