Skip to content

Commit 328bb0f

Browse files
committed
ci: openssl-version.yml moves to nightly (58 versions is too much per PR)
The dynamic resolver turned openssl-version.yml's matrix into ~58 upstream openssl-3.X.Y releases x 2 wolfssl refs = ~116 jobs. That's the load nightly was built to absorb, not something to fire on every push. - openssl-version.yml: on: { workflow_call, workflow_dispatch } (was push + pull_request). The `if: github.event.pull_request.draft` guards are removed -- workflow_call inherits caller context. - nightly-osp.yml: added openssl-version to both the dispatch list and the notify job's `needs:` so it shows up in the Slack summary alongside the OSP integration results. PR-side OpenSSL coverage stays adequate via simple.yml: wolfssl_ref: master + latest-stable (resolved dynamically) openssl_ref: openssl_latest_ref + openssl-3.0.17 2 x 2 = 4 combos x 2 replace_default = 8 jobs. Exercises latest upstream and the oldest still-maintained 3.0.x LTS, against both wolfssl master and the latest -stable tag, on every PR. The full 58-version sweep runs once a night.
1 parent 38f73c2 commit 328bb0f

3 files changed

Lines changed: 16 additions & 22 deletions

File tree

.github/workflows/nightly-osp.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ jobs:
7373
tpm2-tools: { uses: ./.github/workflows/tpm2-tools.yml }
7474
x11vnc: { uses: ./.github/workflows/x11vnc.yml }
7575
xmlsec: { uses: ./.github/workflows/xmlsec.yml }
76+
# Internal sweep: every upstream openssl-3.X.Y release tag.
77+
openssl-version: { uses: ./.github/workflows/openssl-version.yml }
7678

7779
notify:
7880
name: Slack notification
@@ -117,6 +119,7 @@ jobs:
117119
- tpm2-tools
118120
- x11vnc
119121
- xmlsec
122+
- openssl-version
120123
if: always()
121124
runs-on: ubuntu-latest
122125
# Job-level env so step `if:` blocks can see SLACK_WEBHOOK_URL --

.github/workflows/openssl-version.yml

Lines changed: 11 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,28 @@
11
name: OpenSSL Version Tests
22

3-
# START OF COMMON SECTION
3+
# Full sweep across every upstream openssl-3.X.Y release tag, resolved
4+
# at run time by _discover-versions.yml. ~58 versions x 2 wolfssl refs
5+
# = ~116 jobs, which is nightly-shaped work, not per-PR.
6+
#
7+
# Runs nightly via the Nightly OSP Suite orchestrator
8+
# (.github/workflows/nightly-osp.yml) or manually via workflow_dispatch.
9+
# PR-side OpenSSL coverage comes from simple.yml (newest upstream +
10+
# oldest 3.0.x LTS, against master + latest-stable wolfssl).
11+
412
on:
5-
push:
6-
branches: [ 'master', 'main', 'release/**' ]
7-
pull_request:
8-
branches: [ '*' ]
9-
types: [opened, synchronize, reopened, ready_for_review]
10-
paths-ignore:
11-
- '**.md'
12-
- 'docs/**'
13-
- 'LICENSE*'
14-
- '.github/ISSUE_TEMPLATE/**'
15-
- '.github/dependabot.yml'
16-
- '.gitignore'
17-
- 'AUTHORS'
18-
- 'COPYING'
19-
- 'README*'
20-
- 'CHANGELOG*'
13+
workflow_call: {}
14+
workflow_dispatch: {}
2115

2216
concurrency:
2317
group: ${{ github.workflow }}-${{ github.ref }}
2418
cancel-in-progress: true
25-
# END OF COMMON SECTION
2619

2720
jobs:
2821
discover_versions:
29-
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
3022
uses: ./.github/workflows/_discover-versions.yml
3123

3224
openssl_version_test:
3325
needs: discover_versions
34-
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
3526
continue-on-error: true
3627
name: OpenSSL Version Test
3728
runs-on: ubuntu-22.04

.github/workflows/simple.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ jobs:
3939
fail-fast: false
4040
matrix:
4141
# 2 wolfssl (master + latest-stable, resolved at run time) x
42-
# 2 openssl (latest upstream, resolved at run time, plus oldest
43-
# still-maintained 3.0.x) x 2 replace-default = 8 jobs.
42+
# 2 openssl (latest upstream release + oldest 3.0.x LTS)
43+
# x 2 replace-default = 8 jobs.
4444
wolfssl_ref: ${{ fromJson(needs.discover_versions.outputs.wolfssl_ref_array) }}
4545
openssl_ref:
4646
- ${{ needs.discover_versions.outputs.openssl_latest_ref }}

0 commit comments

Comments
 (0)