-
Notifications
You must be signed in to change notification settings - Fork 27
Add debian package creation nightly for Github CI #306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| openssl_ref: | ||
| description: 'OpenSSL ref (tag/branch)' | ||
| required: false | ||
| default: 'openssl-3.5.2' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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)) }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How do we tell Jenkins what ref's we need (commit id, wolfssl_ref, openssl_ref, etc)?
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.
