Skip to content

Commit 3fc7e87

Browse files
authored
Fix release issue with gpg missing (#2409)
# Goal The goal of this PR is to update the ci image to v1.5.6 (which has gpg installed) Also does a small verify pr commit tweak that speeds up the build by about 1.5 minutes
1 parent 75597e9 commit 3fc7e87

File tree

6 files changed

+28
-24
lines changed

6 files changed

+28
-24
lines changed

.github/workflows/benchmarks-run.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
if: github.repository == 'frequency-chain/frequency'
2121
name: Build Benchmark Binary
2222
runs-on: ubicloud-standard-16
23-
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
23+
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
2424
permissions:
2525
contents: read
2626
steps:
@@ -117,7 +117,7 @@ jobs:
117117
name: Post Benchmark Tests
118118
needs: run-benchmarks
119119
runs-on: ubicloud-standard-16
120-
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
120+
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
121121
permissions:
122122
contents: read
123123
steps:

.github/workflows/check-migrations.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
name: Check Migrations on Paseo
1717
continue-on-error: false
1818
runs-on: ubicloud-standard-8
19-
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
19+
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
2020
steps:
2121
- name: Checkout sources
2222
uses: actions/checkout@v4

.github/workflows/merge-pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
publish-js-api-augment-rc:
1717
name: Merge - Publish JS API Augment Release Candidate
1818
runs-on: ubicloud-standard-4
19-
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
19+
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
2020
steps:
2121
- name: Check Out Repo
2222
uses: actions/checkout@v4
@@ -53,7 +53,7 @@ jobs:
5353
calc-code-coverage:
5454
name: Merge - Calculate Code Coverage
5555
runs-on: ubicloud-standard-30
56-
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
56+
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
5757
steps:
5858
- name: Check Out Repo
5959
uses: actions/checkout@v4

.github/workflows/release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
needs: create-release-branch
7676
name: Run All Benchmarks - Build
7777
runs-on: ubicloud-standard-16
78-
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
78+
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
7979
permissions:
8080
contents: read
8181
steps:
@@ -154,7 +154,7 @@ jobs:
154154
needs: run-all-benchmarks-bench
155155
name: Run All Benchmarks - Test
156156
runs-on: ubicloud-standard-16
157-
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
157+
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
158158
steps:
159159
- name: Check Out Repo
160160
uses: actions/checkout@v4
@@ -233,7 +233,7 @@ jobs:
233233
- arch: arm64
234234
runner: ubicloud-standard-16-arm
235235
runs-on: ${{matrix.runner}}
236-
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
236+
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
237237
env:
238238
SIGNING_SUBKEY_FINGERPRINT: B6327D1474C6392032870E8EFA4FD1E73A0FE707
239239
steps:
@@ -394,7 +394,7 @@ jobs:
394394
needs: version-code
395395
name: Build Rust Developer Docs
396396
runs-on: ubicloud-standard-4
397-
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
397+
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
398398
steps:
399399
- name: Check Out Repo
400400
uses: actions/checkout@v4
@@ -427,7 +427,7 @@ jobs:
427427
RELEASE_FILENAME_PREFIX: frequency-local
428428
ARCH: amd64
429429
runs-on: ubuntu-24.04
430-
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
430+
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
431431
steps:
432432
- name: Set Env Vars
433433
run: |
@@ -479,7 +479,7 @@ jobs:
479479
build-js-schemas:
480480
name: Build JS Schemas
481481
runs-on: ubuntu-24.04
482-
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
482+
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
483483
steps:
484484
- name: Check Out Repo
485485
uses: actions/checkout@v4
@@ -721,7 +721,7 @@ jobs:
721721
needs: wait-for-all-builds
722722
name: Release Built Artifacts
723723
runs-on: ubuntu-24.04
724-
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
724+
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
725725
permissions:
726726
contents: write
727727
steps:

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

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ jobs:
184184
arch: arm64
185185
runner: ubicloud-standard-30-arm
186186
runs-on: ${{matrix.runner}}
187-
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
187+
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
188188
env:
189189
NETWORK: mainnet
190190
steps:
@@ -205,8 +205,9 @@ jobs:
205205
# key: binaries-${{runner.os}}-${{env.NETWORK}}-${{github.head_ref}}
206206
- name: Compile Binary for ${{matrix.network}} on ${{matrix.arch}}
207207
if: steps.cache-binary.outputs.cache-hit != 'true'
208+
# The various rust flags here are for faster builds, but are not exactly the same as release builds
208209
run: |
209-
CARGO_INCREMENTAL=0 RUSTFLAGS="-D warnings" cargo build --locked \
210+
CARGO_INCREMENTAL=0 RUSTFLAGS="-D warnings -C debuginfo=0 -C opt-level=0 -C codegen-units=265" cargo build --locked \
210211
${{ matrix.build-profile == 'release' && '--release' || '' }} \
211212
--features ${{matrix.spec}}
212213
- name: Run Sanity Checks
@@ -231,7 +232,7 @@ jobs:
231232
if: needs.changes.outputs.cargo-lock == 'true'
232233
name: Check for Vulnerable Crates
233234
runs-on: ubuntu-24.04
234-
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
235+
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
235236
steps:
236237
- name: Check Out Repo
237238
uses: actions/checkout@v4
@@ -247,7 +248,7 @@ jobs:
247248
if: needs.changes.outputs.rust == 'true'
248249
name: Verify Rust Code Format
249250
runs-on: ubuntu-24.04
250-
container: ghcr.io/frequency-chain/frequency/ci-base-image-nightly:1.5.5
251+
container: ghcr.io/frequency-chain/frequency/ci-base-image-nightly:1.5.6
251252
steps:
252253
- name: Check Out Repository
253254
uses: actions/checkout@v4
@@ -261,7 +262,7 @@ jobs:
261262
if: needs.changes.outputs.rust == 'true'
262263
name: Lint Rust Code
263264
runs-on: ubicloud-standard-4
264-
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
265+
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
265266
steps:
266267
- name: Check Out Repo
267268
uses: actions/checkout@v4
@@ -277,7 +278,7 @@ jobs:
277278
if: needs.changes.outputs.rust == 'true'
278279
name: Verify Rust Developer Docs
279280
runs-on: ubicloud-standard-4
280-
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
281+
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
281282
steps:
282283
- name: Check Out Repo
283284
uses: actions/checkout@v4
@@ -290,7 +291,7 @@ jobs:
290291
if: needs.changes.outputs.rust == 'true'
291292
name: Verify Rust Packages and Dependencies
292293
runs-on: ubicloud-standard-4
293-
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
294+
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
294295
steps:
295296
- name: Check Out Repo
296297
uses: actions/checkout@v4
@@ -302,7 +303,7 @@ jobs:
302303
if: needs.changes.outputs.rust == 'true'
303304
name: Run Rust Tests
304305
runs-on: ubicloud-standard-8
305-
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
306+
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
306307
steps:
307308
- name: Check Out Repo
308309
uses: actions/checkout@v4
@@ -317,7 +318,7 @@ jobs:
317318
if: needs.changes.outputs.rust == 'true'
318319
name: Calculate Code Coverage
319320
runs-on: ubicloud-standard-30
320-
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
321+
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
321322
steps:
322323
- name: Check Out Repo
323324
uses: actions/checkout@v4
@@ -430,7 +431,7 @@ jobs:
430431
needs: build-binaries
431432
name: Verify JS API Augment
432433
runs-on: ubuntu-24.04
433-
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
434+
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
434435
steps:
435436
- name: Check Out Repo
436437
uses: actions/checkout@v4
@@ -489,7 +490,7 @@ jobs:
489490
verify-js-schemas:
490491
name: Verify JS Schemas
491492
runs-on: ubuntu-24.04
492-
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
493+
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
493494
steps:
494495
- name: Check Out Repo
495496
uses: actions/checkout@v4
@@ -656,7 +657,7 @@ jobs:
656657
needs: build-binaries
657658
name: Check Metadata and Spec Version
658659
runs-on: ubuntu-24.04
659-
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
660+
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
660661
permissions:
661662
pull-requests: write
662663
steps:

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,9 @@ large_enum_variant = "allow"
194194
empty_line_after_outer_attr = "allow"
195195
enum_variant_names = "allow"
196196

197+
# debug is profile.dev
198+
# Defaults: https://doc.rust-lang.org/cargo/reference/profiles.html#default-profiles
199+
197200
[profile.release]
198201
panic = "unwind"
199202
lto = true

0 commit comments

Comments
 (0)