Add reusable workflow to build checkbox-dss Snap (Infra)
#1936
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
This adds re-usable workflow for building the Snap with the Checkbox provider for testing DSS. While this PR only adds this workflow, a subsequent PR will call it to build the Snap in GH before using it to test DSS.
The workflow to build the
checkbox-ce-oemSnaps was used as a reference, except that thecheckbox-dssSnap produced by this workflow is currently not published in the store. This is why the workflow produces the built Snap's artifact URI when it is triggered by aworkflow_callevent.Finally, since the provider is validated as part of the Snap's build process, this is also a good check to be triggered on PRs and changes related to the DSS provider. However, the build will be triggered only on Approval of the PR and not on every commit to the PR.
Resolved issues
Part of CHECKBOX-1905
Documentation
No changes to documentation.
Tests
No changes to source code, but see run of workflow in the checks below!