Skip to content

Commit f446df3

Browse files
author
Test User
committed
Add the rest of the fips nightly builds
1 parent 4f8f576 commit f446df3

39 files changed

+258
-683
lines changed

.github/workflows/bind9.yml

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Bind9 Tests
33
# START OF COMMON SECTION
44
on:
55
push:
6-
branches: [ 'master', 'main', 'release/**' ]
6+
branches: [ 'master', 'main', 'build-wolfprov-debian-test', 'release/**' ]
77
pull_request:
88
branches: [ '*' ]
99

@@ -13,28 +13,12 @@ concurrency:
1313
# END OF COMMON SECTION
1414

1515
jobs:
16-
build_wolfprovider:
17-
uses: ./.github/workflows/build-wolfprovider.yml
18-
with:
19-
wolfssl_ref: ${{ matrix.wolfssl_ref }}
20-
openssl_ref: ${{ matrix.openssl_ref }}
21-
fips_ref: ${{ matrix.fips_ref }}
22-
replace_default: ${{ matrix.replace_default }}
23-
secrets: inherit
24-
strategy:
25-
matrix:
26-
wolfssl_ref: [ 'v5.8.2-stable' ]
27-
openssl_ref: [ 'openssl-3.5.2' ]
28-
fips_ref: [ 'FIPS', 'non-FIPS' ]
29-
replace_default: [ true ]
30-
3116
test_bind:
3217
runs-on: ubuntu-22.04
3318
container:
3419
image: debian:bookworm
3520
env:
3621
DEBIAN_FRONTEND: noninteractive
37-
needs: build_wolfprovider
3822
# This should be a safe limit for the tests to run.
3923
timeout-minutes: 20
4024
strategy:
@@ -56,10 +40,13 @@ jobs:
5640
with:
5741
fetch-depth: 1
5842

59-
- name: Download packages from build job
60-
uses: actions/download-artifact@v4
43+
- name: Download wolfProvider packages from nightly build
44+
uses: dawidd6/action-download-artifact@v6
6145
with:
62-
name: debian-packages-${{ matrix.fips_ref }}${{ matrix.replace_default && '-replace-default' || '' }}
46+
github_token: ${{ secrets.GITHUB_TOKEN }}
47+
workflow: build-wolfprovider-nightly.yml
48+
branch: ${{ github.ref_name }}
49+
name: debian-packages-${{ matrix.fips_ref }}${{ matrix.replace_default && '-replace-default' || '' }}-${{ matrix.wolfssl_ref }}-${{ matrix.openssl_ref }}-${{ matrix.wolfssl_ref }}-${{ matrix.openssl_ref }}
6350
path: /tmp/packages
6451

6552
- name: Setup package directories

.github/workflows/build-wolfprovider.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ jobs:
245245
- name: Upload all packages (wolfSSL, OpenSSL, wolfProvider)
246246
uses: actions/upload-artifact@v4
247247
with:
248-
name: debian-packages-${{ inputs.fips_ref }}${{ inputs.replace_default && '-replace-default' || '' }}
248+
name: debian-packages-${{ inputs.fips_ref }}${{ inputs.replace_default && '-replace-default' || '' }}-${{ inputs.wolfssl_ref }}-${{ inputs.openssl_ref }}
249249
path: |
250250
${{ env.WOLFSSL_PACKAGES_PATH }}
251251
${{ env.OPENSSL_PACKAGES_PATH }}

.github/workflows/cjose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
github_token: ${{ secrets.GITHUB_TOKEN }}
5151
workflow: build-wolfprovider-nightly.yml
5252
branch: build-wolfprov-debian-test
53-
name: debian-packages-${{ matrix.fips_ref }}${{ matrix.replace_default && '-replace-default' || '' }}
53+
name: debian-packages-${{ matrix.fips_ref }}${{ matrix.replace_default && '-replace-default' || '' }}-${{ matrix.wolfssl_ref }}-${{ matrix.openssl_ref }}
5454
path: /tmp/packages
5555

5656
- name: Setup package directories

.github/workflows/curl.yml

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Curl Tests
33
# START OF COMMON SECTION
44
on:
55
push:
6-
branches: [ 'master', 'main', 'release/**' ]
6+
branches: [ 'master', 'main', 'build-wolfprov-debian-test', 'release/**' ]
77
pull_request:
88
branches: [ '*' ]
99

@@ -13,28 +13,12 @@ concurrency:
1313
# END OF COMMON SECTION
1414

1515
jobs:
16-
build_wolfprovider:
17-
uses: ./.github/workflows/build-wolfprovider.yml
18-
with:
19-
wolfssl_ref: ${{ matrix.wolfssl_ref }}
20-
openssl_ref: ${{ matrix.openssl_ref }}
21-
fips_ref: ${{ matrix.fips_ref }}
22-
replace_default: ${{ matrix.replace_default }}
23-
secrets: inherit
24-
strategy:
25-
matrix:
26-
wolfssl_ref: [ 'v5.8.2-stable' ]
27-
openssl_ref: [ 'openssl-3.5.2' ]
28-
fips_ref: [ 'FIPS', 'non-FIPS' ]
29-
replace_default: [ true ]
30-
3116
test_curl:
3217
runs-on: ubuntu-22.04
3318
container:
3419
image: debian:bookworm
3520
env:
3621
DEBIAN_FRONTEND: noninteractive
37-
needs: build_wolfprovider
3822
# This should be a safe limit for the tests to run.
3923
timeout-minutes: 20
4024
strategy:
@@ -55,10 +39,13 @@ jobs:
5539
with:
5640
fetch-depth: 1
5741

58-
- name: Download packages from build job
59-
uses: actions/download-artifact@v4
42+
- name: Download wolfProvider packages from nightly build
43+
uses: dawidd6/action-download-artifact@v6
6044
with:
61-
name: debian-packages-${{ matrix.fips_ref }}${{ matrix.replace_default && '-replace-default' || '' }}
45+
github_token: ${{ secrets.GITHUB_TOKEN }}
46+
workflow: build-wolfprovider-nightly.yml
47+
branch: ${{ github.ref_name }}
48+
name: debian-packages-${{ matrix.fips_ref }}${{ matrix.replace_default && '-replace-default' || '' }}-${{ matrix.wolfssl_ref }}-${{ matrix.openssl_ref }}
6249
path: /tmp/packages
6350

6451
- name: Setup package directories

.github/workflows/debian-package.yml

Lines changed: 18 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -13,28 +13,11 @@ concurrency:
1313
# END OF COMMON SECTION
1414

1515
jobs:
16-
build_wolfprovider:
17-
uses: ./.github/workflows/build-wolfprovider.yml
18-
with:
19-
wolfssl_ref: ${{ matrix.wolfssl_ref }}
20-
openssl_ref: ${{ matrix.openssl_ref }}
21-
fips_ref: ${{ matrix.fips_ref }}
22-
replace_default: ${{ matrix.replace_default }}
23-
secrets: inherit
24-
strategy:
25-
matrix:
26-
# Test 5.8.2 since our .deb is based on that version
27-
wolfssl_ref: [ 'v5.8.2-stable' ]
28-
openssl_ref: [ 'openssl-3.5.2' ]
29-
fips_ref: [ 'FIPS', 'non-FIPS' ]
30-
replace_default: [ true ]
31-
3216
libwolfprov-standalone:
3317
# Standalone mode is disabled until we re-enable support for it in the debian build.
3418
if: false
3519

3620
runs-on: ubuntu-22.04
37-
needs: build_wolfprovider
3821
# Run inside Debian Bookworm to match packaging environment
3922
container:
4023
image: debian:bookworm
@@ -58,10 +41,13 @@ jobs:
5841
with:
5942
fetch-depth: 1
6043

61-
- name: Download packages from build job
62-
uses: actions/download-artifact@v4
44+
- name: Download wolfProvider packages from nightly build
45+
uses: dawidd6/action-download-artifact@v6
6346
with:
64-
name: debian-packages-${{ matrix.fips_ref }}${{ matrix.replace_default && '-replace-default' || '' }}
47+
github_token: ${{ secrets.GITHUB_TOKEN }}
48+
workflow: build-wolfprovider-nightly.yml
49+
branch: build-wolfprov-debian-test
50+
name: debian-packages-${{ matrix.fips_ref }}${{ matrix.replace_default && '-replace-default' || '' }}-${{ matrix.wolfssl_ref }}-${{ matrix.openssl_ref }}-${{ matrix.wolfssl_ref }}-${{ matrix.openssl_ref }}
6551
path: /tmp/packages
6652

6753
- name: Setup package directories
@@ -174,7 +160,6 @@ jobs:
174160
175161
libwolfprov-with-openssl:
176162
runs-on: ubuntu-22.04
177-
needs: build_wolfprovider
178163
# Run inside Debian Bookworm to match packaging environment
179164
container:
180165
image: debian:bookworm
@@ -193,10 +178,13 @@ jobs:
193178
OPENSSL_PACKAGES_PATH: /tmp/openssl-packages
194179
WOLFPROV_PACKAGES_PATH: /tmp/wolfprov-packages
195180
steps:
196-
- name: Download packages from build job
197-
uses: actions/download-artifact@v4
181+
- name: Download wolfProvider packages from nightly build
182+
uses: dawidd6/action-download-artifact@v6
198183
with:
199-
name: debian-packages-${{ matrix.fips_ref }}${{ matrix.replace_default && '-replace-default' || '' }}
184+
github_token: ${{ secrets.GITHUB_TOKEN }}
185+
workflow: build-wolfprovider-nightly.yml
186+
branch: build-wolfprov-debian-test
187+
name: debian-packages-${{ matrix.fips_ref }}${{ matrix.replace_default && '-replace-default' || '' }}-${{ matrix.wolfssl_ref }}-${{ matrix.openssl_ref }}-${{ matrix.wolfssl_ref }}-${{ matrix.openssl_ref }}
200188
path: /tmp/packages
201189

202190
- name: Setup package directories
@@ -229,15 +217,15 @@ jobs:
229217
run: |
230218
echo "Testing OpenSSL providers before wolfprov installation..."
231219
echo "Expected: This should work normally with default providers"
232-
220+
233221
# Test openssl list -providers
234222
if openssl list -providers; then
235223
echo "SUCCESS: openssl list -providers works before wolfprov installation"
236224
else
237225
echo "FAILURE: openssl list -providers failed before wolfprov installation"
238226
exit 1
239227
fi
240-
228+
241229
echo "Provider list before wolfprov installation:"
242230
openssl list -providers
243231
@@ -258,15 +246,15 @@ jobs:
258246
- name: Verify wolfprov configuration
259247
run: |
260248
echo "Verifying wolfprov configuration..."
261-
249+
262250
# Check if configuration file exists
263251
if [ -f /usr/lib/ssl/openssl.cnf.d/wolfprovider.conf ]; then
264252
echo "SUCCESS: wolfprovider.conf exists"
265253
cat /usr/lib/ssl/openssl.cnf.d/wolfprovider.conf
266254
else
267255
echo "WARNING: wolfprovider.conf not found"
268256
fi
269-
257+
270258
# Check if library file exists
271259
if [ -f /usr/lib/*/ossl-modules/libwolfprov.so ]; then
272260
echo "SUCCESS: libwolfprov.so exists"
@@ -305,10 +293,10 @@ jobs:
305293
- name: Cleanup test environment
306294
run: |
307295
echo "Cleaning up test environment..."
308-
296+
309297
# Uninstall test packages
310298
apt-get remove --purge -y libwolfprov || true
311299
apt-get autoremove -y
312-
300+
313301
echo "Cleanup completed"
314302

.github/workflows/git-ssh-dr.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ jobs:
3131
image: debian:bookworm
3232
env:
3333
DEBIAN_FRONTEND: noninteractive
34-
needs: build_wolfprovider
3534
# This should be a safe limit for the tests to run.
3635
timeout-minutes: 20
3736
strategy:
@@ -57,7 +56,7 @@ jobs:
5756
- name: Download packages from build job
5857
uses: actions/download-artifact@v4
5958
with:
60-
name: debian-packages-${{ matrix.fips_ref }}${{ matrix.replace_default && '-replace-default' || '' }}
59+
name: debian-packages-${{ matrix.fips_ref }}${{ matrix.replace_default && '-replace-default' || '' }}-${{ matrix.wolfssl_ref }}-${{ matrix.openssl_ref }}
6160
path: /tmp/packages
6261

6362
- name: Setup package directories

.github/workflows/grpc.yml

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: gRPC Tests
33
# START OF COMMON SECTION
44
on:
55
push:
6-
branches: [ 'master', 'main', 'release/**' ]
6+
branches: [ 'master', 'main', 'build-wolfprov-debian-test', 'release/**' ]
77
pull_request:
88
branches: [ '*' ]
99

@@ -13,28 +13,12 @@ concurrency:
1313
# END OF COMMON SECTION
1414

1515
jobs:
16-
build_wolfprovider:
17-
uses: ./.github/workflows/build-wolfprovider.yml
18-
with:
19-
wolfssl_ref: ${{ matrix.wolfssl_ref }}
20-
openssl_ref: ${{ matrix.openssl_ref }}
21-
fips_ref: ${{ matrix.fips_ref }}
22-
replace_default: ${{ matrix.replace_default }}
23-
secrets: inherit
24-
strategy:
25-
matrix:
26-
wolfssl_ref: [ 'v5.8.2-stable' ]
27-
openssl_ref: [ 'openssl-3.5.2' ]
28-
fips_ref: [ 'FIPS', 'non-FIPS' ]
29-
replace_default: [ true ]
30-
3116
test_grpc:
3217
runs-on: ubuntu-22.04
3318
container:
3419
image: debian:bookworm
3520
env:
3621
DEBIAN_FRONTEND: noninteractive
37-
needs: build_wolfprovider
3822
# This should be a safe limit for the tests to run.
3923
timeout-minutes: 30
4024
strategy:
@@ -62,10 +46,13 @@ jobs:
6246
with:
6347
fetch-depth: 1
6448

65-
- name: Download packages from build job
66-
uses: actions/download-artifact@v4
49+
- name: Download wolfProvider packages from nightly build
50+
uses: dawidd6/action-download-artifact@v6
6751
with:
68-
name: debian-packages-${{ matrix.fips_ref }}${{ matrix.replace_default && '-replace-default' || '' }}
52+
github_token: ${{ secrets.GITHUB_TOKEN }}
53+
workflow: build-wolfprovider-nightly.yml
54+
branch: ${{ github.ref_name }}
55+
name: debian-packages-${{ matrix.fips_ref }}${{ matrix.replace_default && '-replace-default' || '' }}-${{ matrix.wolfssl_ref }}-${{ matrix.openssl_ref }}
6956
path: /tmp/packages
7057

7158
- name: Setup package directories

.github/workflows/iperf.yml

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: iperf Tests
33
# START OF COMMON SECTION
44
on:
55
push:
6-
branches: [ 'master', 'main', 'release/**' ]
6+
branches: [ 'master', 'main', 'build-wolfprov-debian-test', 'release/**' ]
77
pull_request:
88
branches: [ '*' ]
99

@@ -13,28 +13,12 @@ concurrency:
1313
# END OF COMMON SECTION
1414

1515
jobs:
16-
build_wolfprovider:
17-
uses: ./.github/workflows/build-wolfprovider.yml
18-
with:
19-
wolfssl_ref: ${{ matrix.wolfssl_ref }}
20-
openssl_ref: ${{ matrix.openssl_ref }}
21-
fips_ref: ${{ matrix.fips_ref }}
22-
replace_default: ${{ matrix.replace_default }}
23-
secrets: inherit
24-
strategy:
25-
matrix:
26-
wolfssl_ref: [ 'v5.8.2-stable' ]
27-
openssl_ref: [ 'openssl-3.5.2' ]
28-
fips_ref: [ 'FIPS', 'non-FIPS' ]
29-
replace_default: [ true ]
30-
3116
test_iperf:
3217
runs-on: ubuntu-22.04
3318
container:
3419
image: debian:bookworm
3520
env:
3621
DEBIAN_FRONTEND: noninteractive
37-
needs: build_wolfprovider
3822
# This should be a safe limit for the tests to run.
3923
timeout-minutes: 20
4024
strategy:
@@ -55,10 +39,13 @@ jobs:
5539
with:
5640
fetch-depth: 1
5741

58-
- name: Download packages from build job
59-
uses: actions/download-artifact@v4
42+
- name: Download wolfProvider packages from nightly build
43+
uses: dawidd6/action-download-artifact@v6
6044
with:
61-
name: debian-packages-${{ matrix.fips_ref }}${{ matrix.replace_default && '-replace-default' || '' }}
45+
github_token: ${{ secrets.GITHUB_TOKEN }}
46+
workflow: build-wolfprovider-nightly.yml
47+
branch: ${{ github.ref_name }}
48+
name: debian-packages-${{ matrix.fips_ref }}${{ matrix.replace_default && '-replace-default' || '' }}-${{ matrix.wolfssl_ref }}-${{ matrix.openssl_ref }}
6249
path: /tmp/packages
6350

6451
- name: Setup package directories

0 commit comments

Comments
 (0)