Skip to content

Commit 06d4ea4

Browse files
committed
switch release workflow to EKS runners
1 parent c4139a9 commit 06d4ea4

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

.github/workflows/release.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ jobs:
5252
- name: Check Out Repo
5353
uses: actions/checkout@v3
5454
with:
55+
token: ${{secrets.GHA_GIT_COMMIT || github.token}}
5556
fetch-depth: 0
5657
- name: Create Release Branch?
5758
id: create-release-branch
@@ -120,6 +121,7 @@ jobs:
120121
uses: actions/checkout@v3
121122
with:
122123
ref: ${{env.RELEASE_BRANCH_NAME}}
124+
fetch-depth: 0
123125
- name: Version Code
124126
shell: bash
125127
run: |
@@ -153,7 +155,8 @@ jobs:
153155
matrix:
154156
# This job intermittently fails on EKS runners and must be run on standalone until
155157
# https://www.pivotaltracker.com/story/show/185045683 is resolved.
156-
os: [[self-hosted, Linux, X64, build]]
158+
# os: [[self-hosted, Linux, X64, testing, v2], [self-hosted, Linux, ARM64, testing, v2]]
159+
os: [[self-hosted, Linux, X64, testing, v2]]
157160
network: [dev, local, rococo, mainnet]
158161
include:
159162
- network: dev
@@ -172,7 +175,7 @@ jobs:
172175
spec: frequency
173176
build-profile: release
174177
release-file-name-prefix: frequency
175-
- os: [self-hosted, Linux, X64, build]
178+
- os: [self-hosted, Linux, X64, testing, v2]
176179
arch: amd64
177180
# - os: [self-hosted, Linux, ARM64]
178181
# arch: arm64
@@ -239,6 +242,8 @@ jobs:
239242
runtime_filename_dev: ${{steps.set-env-vars.outputs.runtime_filename_dev}}
240243
runtime_filename_rococo: ${{steps.set-env-vars.outputs.runtime_filename_rococo}}
241244
runtime_filename_mainnet: ${{steps.set-env-vars.outputs.runtime_filename_mainnet}}
245+
# env:
246+
# HOME: /root
242247
strategy:
243248
fail-fast: true
244249
matrix:
@@ -334,7 +339,7 @@ jobs:
334339
build-rust-developer-docs:
335340
needs: version-code
336341
name: Build Rust Developer Docs
337-
runs-on: [self-hosted, Linux, X64, build]
342+
runs-on: [self-hosted, Linux, X64, testing, v2]
338343
container: ghcr.io/libertydsnp/frequency/ci-base-image
339344
steps:
340345
- name: Check Out Repo
@@ -343,9 +348,13 @@ jobs:
343348
ref: ${{env.RELEASE_BRANCH_NAME}}
344349
- name: Setup Pages
345350
uses: actions/configure-pages@v3
351+
# cargo doc requires a toolchain version ^nightly-2022-11-15 because of a bug that causes a panic
352+
# When the toolchain is updated to ^nightly-2023-06-01, this can be removed
346353
- name: Build Docs
347354
run: |
348-
RUSTDOCFLAGS="--enable-index-page -Zunstable-options" cargo doc --no-deps --features frequency
355+
rustup install nightly-2023-06-01
356+
rustup target add wasm32-unknown-unknown --toolchain nightly-2023-06-01
357+
RUSTDOCFLAGS="--enable-index-page --check -Zunstable-options" cargo +nightly-2023-06-01 doc --no-deps --features frequency
349358
- name: Upload Docs
350359
uses: actions/upload-pages-artifact@v1
351360
with:

.github/workflows/verify-pr-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ jobs:
208208
uses: actions/checkout@v3
209209
# cargo doc requires a toolchain version ^nightly-2022-11-15 because of a bug that causes a panic
210210
# When the toolchain is updated to ^nightly-2023-06-01, this can be removed
211-
- name: Install Rust Nightly-2023-06-01 and Build Docs
211+
- name: Build Docs
212212
run: |
213213
rustup install nightly-2023-06-01
214214
rustup target add wasm32-unknown-unknown --toolchain nightly-2023-06-01

0 commit comments

Comments
 (0)