Add debian package creation nightly for Github CI#306
Closed
aidangarske wants to merge 3 commits intowolfSSL:masterfrom
Closed
Add debian package creation nightly for Github CI#306aidangarske wants to merge 3 commits intowolfSSL:masterfrom
aidangarske wants to merge 3 commits intowolfSSL:masterfrom
Conversation
padelsbach
reviewed
Oct 15, 2025
| openssl_ref: | ||
| description: 'OpenSSL ref (tag/branch)' | ||
| required: false | ||
| default: 'openssl-3.5.2' |
Contributor
There was a problem hiding this comment.
Note that in the case of debian, we ignore the version field and use whatever comes from Debian
| required: false | ||
| default: 'openssl-3.5.2' | ||
| type: string | ||
| fips_ref: |
Contributor
There was a problem hiding this comment.
Openssl build is agnostic of the fips setting, so we may want to specifically exclude that
| matrix: | ||
| # When manually triggered with 'both', or on schedule, build both FIPS and non-FIPS | ||
| # When manually triggered with specific type, only build that type | ||
| fips_ref: ${{ (github.event_name == 'schedule' || github.event.inputs.fips_ref == 'both' || github.event.inputs.fips_ref == '') && fromJSON('["FIPS", "non-FIPS"]') || fromJSON(format('["{0}"]', github.event.inputs.fips_ref)) }} |
Contributor
There was a problem hiding this comment.
can we wrap long lines? eg:
fips_ref: >-
${{ (github.event_name == 'schedule'
|| github.event.inputs.fips_ref == 'both'
|| github.event.inputs.fips_ref == '')
&& fromJSON('["FIPS", "non-FIPS"]')
|| fromJSON(format('["{0}"]', github.event.inputs.fips_ref)) }}
| if: github.event_name != 'pull_request' | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: debian-packages-${{ inputs.fips_ref }}${{ inputs.replace_default && '-replace-default' || '' }}-${{ inputs.wolfssl_ref }}-${{ inputs.openssl_ref }} |
Contributor
There was a problem hiding this comment.
This needs to include github.sha to avoid collisions
|
|
||
| # Try simple build first (without parameters) | ||
| echo "Trying simple build trigger..." | ||
| SIMPLE_URL="${JOB_URL}/build" |
Contributor
There was a problem hiding this comment.
How do we tell Jenkins what ref's we need (commit id, wolfssl_ref, openssl_ref, etc)?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
.github/workflows/build-wolfprovider-debian.ymland.github/workflows/build-wolfprovider-debian-nightly.ymlso we can have the old functionality still till we actually switch over.The nightly will have options like this to run on the main branch so we can build certain supported .deb configurations. If we choose to expand.
