-
Notifications
You must be signed in to change notification settings - Fork 33
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
Closed
Closed
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,66 @@ | ||
| name: Nightly Build wolfProvider | ||
|
|
||
| on: | ||
| schedule: | ||
| # Jenkins: 2AM UTC nightly - Actual nightly build | ||
| # GitHub Actions: 3AM UTC nightly - Update build in github | ||
| - cron: "0 3 * * *" | ||
| workflow_dispatch: | ||
| inputs: | ||
| wolfssl_ref: | ||
| description: 'wolfSSL ref (tag/branch)' | ||
| required: false | ||
| default: 'v5.8.2-stable' | ||
| type: string | ||
| openssl_ref: | ||
| description: 'OpenSSL ref (tag/branch)' | ||
| required: false | ||
| default: 'openssl-3.5.2' | ||
| type: string | ||
| fips_ref: | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 |
||
| description: 'Build type' | ||
| required: false | ||
| default: 'both' | ||
| type: choice | ||
| options: | ||
| - 'both' | ||
| - 'FIPS' | ||
| - 'non-FIPS' | ||
| replace_default: | ||
| description: 'Replace default provider' | ||
| required: false | ||
| default: true | ||
| type: boolean | ||
| build_packages: | ||
| description: 'build fresh via Jenkins (true) or use downloaded packages (false)' | ||
| required: false | ||
| type: boolean | ||
| default: true | ||
|
|
||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
| build_wolfprovider_debian: | ||
| name: Build wolfProvider Debian | ||
| # Only run Jenkins builds on schedule/dispatch from protected branches | ||
| if: ${{ github.event_name != 'pull_request' && github.event_name != 'pull_request_target' }} | ||
| uses: ./.github/workflows/build-wolfprovider-debian.yml | ||
| strategy: | ||
| 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)) }} | ||
| with: | ||
| wolfssl_ref: ${{ github.event.inputs.wolfssl_ref || 'v5.8.2-stable' }} | ||
| openssl_ref: ${{ github.event.inputs.openssl_ref || 'openssl-3.5.2' }} | ||
| fips_ref: ${{ matrix.fips_ref }} | ||
| replace_default: ${{ github.event.inputs.replace_default != 'false' }} | ||
| build_packages: ${{ github.event.inputs.build_packages == 'true' }} | ||
| secrets: inherit | ||
Oops, something went wrong.
Oops, something went wrong.
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.
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