Skip to content

Commit ffeb1a9

Browse files
authored
fix: force CI to use staging relays (#2560)
## Description Now that #2551 is landed, time to force all our repos to set this env var. ## Breaking Changes <!-- Optional, if there are any breaking changes document them, including how to migrate older code. --> ## Notes & open questions <!-- Any notes, remarks or open questions you have to make about the PR. --> ## Change checklist - [x] Self-review. - [ ] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [ ] Tests if relevant. - [ ] All breaking changes documented.
1 parent 741b42f commit ffeb1a9

File tree

10 files changed

+20
-0
lines changed

10 files changed

+20
-0
lines changed

.github/workflows/beta.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ concurrency:
1212
group: beta-${{ github.workflow }}-${{ github.ref }}
1313
cancel-in-progress: true
1414

15+
env:
16+
IROH_FORCE_STAGING_RELAYS: "1"
17+
1518
jobs:
1619
tests:
1720
uses: './.github/workflows/tests.yaml'

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ env:
1818
RUSTDOCFLAGS: -Dwarnings
1919
MSRV: "1.76"
2020
SCCACHE_CACHE_SIZE: "50G"
21+
IROH_FORCE_STAGING_RELAYS: "1"
2122

2223
jobs:
2324
tests:

.github/workflows/commit.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
branches: [main]
66
types: [opened, edited, synchronize]
77

8+
env:
9+
IROH_FORCE_STAGING_RELAYS: "1"
10+
811
jobs:
912
check-for-cc:
1013
runs-on: ubuntu-latest

.github/workflows/docker.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ on:
3636
type: boolean
3737
default: false
3838

39+
env:
40+
IROH_FORCE_STAGING_RELAYS: "1"
41+
3942
jobs:
4043
build_and_publish:
4144
timeout-minutes: 30

.github/workflows/docs.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ name: Docs Preview
33
on:
44
pull_request:
55

6+
env:
7+
IROH_FORCE_STAGING_RELAYS: "1"
8+
69
jobs:
710
preview_docs:
811
timeout-minutes: 30

.github/workflows/flaky.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ concurrency:
3737
group: flaky-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
3838
cancel-in-progress: true
3939

40+
env:
41+
IROH_FORCE_STAGING_RELAYS: "1"
42+
4043
jobs:
4144
tests:
4245
if: "contains(github.event.pull_request.labels.*.name, 'flaky-test') || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule'"

.github/workflows/netsim.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ env:
1313
MSRV: "1.66"
1414
SCCACHE_GHA_ENABLED: "true"
1515
RUSTC_WRAPPER: "sccache"
16+
IROH_FORCE_STAGING_RELAYS: "1"
1617

1718
jobs:
1819
netsim:

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ env:
3131
SCCACHE_CACHE_SIZE: "50G"
3232
BIN_NAMES: "iroh,iroh-relay,iroh-dns-server"
3333
RELEASE_VERSION: ${{ github.event.inputs.release_version }}
34+
IROH_FORCE_STAGING_RELAYS: "1"
3435

3536
jobs:
3637
create-release:

.github/workflows/test_relay_server.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ env:
1515
RUSTDOCFLAGS: -Dwarnings
1616
MSRV: "1.76"
1717
SCCACHE_CACHE_SIZE: "50G"
18+
IROH_FORCE_STAGING_RELAYS: "1"
1819

1920
jobs:
2021
build_relay_server:

.github/workflows/tests.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ env:
2424
RUSTDOCFLAGS: -Dwarnings
2525
SCCACHE_CACHE_SIZE: "50G"
2626
CRATES_LIST: "iroh,iroh-blobs,iroh-gossip,iroh-metrics,iroh-net,iroh-net-bench,iroh-docs,iroh-test,iroh-cli,iroh-dns-server"
27+
IROH_FORCE_STAGING_RELAYS: "1"
2728

2829
jobs:
2930
build_and_test_nix:

0 commit comments

Comments
 (0)