Integrate services on Flatpak builds#4994
Conversation
|
Note: maked this as a draft to investigate the following issues:
|
|
Relevant flatpak-builder pull request: flatpak/flatpak-builder#406 |
|
Just an update message to tell the actual situation:
So this PR just need to be updated with the brand new |
|
Yup, I've been trying to do that on https://github.com/GeorgesStavracas/obs-studio/tree/gbsneto/flatpak-services but I've found that the Flatpak action didn't include flatpak-builder 1.2 yet. I've been annoying Bilal about it, let's see how it goes now 🙂 |
8dcf53e to
1c18685
Compare
1c18685 to
1fd83cc
Compare
The flatpak-builder tool now supports passing secrets options to the build system. These options are not printed during the build, nor added to the resolved manifest after build, so they don't leak env vars from CI. Make secret variables part of the Flatpak workflow environment, like the main workflow. Pass the various services hashes and clientids to the build system using the new "secret-opts" key.
1fd83cc to
393d67c
Compare
|
I could confirm this is working by pushing these commits to the This is sufficient to verify that the secrets are properly propagated to the build system through |
|
This was LGTMed on Discord, thanks Rodney! |
Description
Pass Twitch, Restream, and YouTube client ids and hashes to the Flatpak build, and enable services integration.
Motivation and Context
The flatpak-builder tool now supports passing secrets options to the build system. These options are not printed during the build, nor added to the resolved manifest after build, so they don't leak env vars from CI.
Pass the various services hashes and clientids to the build system using the new "secret-opts" key.
Related: flathub/com.obsproject.Studio#139
How Has This Been Tested?
Types of changes
Checklist: