-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
ci: upload QA builds for installer #10479
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
base: master
Are you sure you want to change the base?
ci: upload QA builds for installer #10479
Conversation
7cc8626 to
100fa04
Compare
d62d09e to
2ab8f2e
Compare
e5b6353 to
a987061
Compare
ci: direct cdn upload (flybywiresim#10478) ci: direct cdn upload (flybywiresim#10478) chore: remove stale Bunny CDN script ci: fix order docs: remove cdn.sh
| echo CLIENT_ID=\"${{ secrets.NAVIGRAPH_CLIENT_ID_A380X }}\" >> fbw-a380x/.env | ||
| echo CLIENT_SECRET=\"${{ secrets.NAVIGRAPH_CLIENT_SECRET_A380X }}\" >> fbw-a380x/.env | ||
| echo CHARTFOX_SECRET=\"${{ secrets.CHARTFOX_SECRET }}\" >> fbw-a380x/.env | ||
| echo SENTRY_DSN=\"${{ secrets.SENTRY_DSN }}\" >> fbw-a380x/.env | ||
| echo CLIENT_ID=\"\" >> fbw-a380x/.env | ||
| echo CLIENT_SECRET=\"\" >> fbw-a380x/.env | ||
| echo CHARTFOX_SECRET=\"\" >> fbw-a380x/.env | ||
| echo SENTRY_DSN=\"\" >> fbw-a380x/.env | ||
| echo AIRCRAFT_PROJECT_PREFIX=${{ env.AIRCRAFT_PROJECT_PREFIX }} >> fbw-a380x/.env | ||
| echo AIRCRAFT_VARIANT=${{ env.AIRCRAFT_VARIANT }} >> fbw-a380x/.env | ||
| echo BUILD_DIR_NAME=${{ env.BUILD_DIR_NAME }} >> .env | ||
| echo LOCALAZY_READ_KEY=${{ secrets.LOCALAZY_READ_KEY }} >> .env | ||
| echo LOCALAZY_READ_KEY=\"\" >> .env |
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.
Why do we want to remove these ones? That will prevent us from testing the Navigraph integration?
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.
Additional context
Secrets are now only accessed when handling code of the trusted targeted branch. Previously, secrets could be accessed on PRs from upstream branches but were inaccessible from PRs from forks.
This is running untrusted code which can potentially leak secrets. Previously the secrets just weren't available on fork PRs but now since the context is the target branch but except for the workflow file we are running PR code until later, these secrets would be available to be dumped.
Requires (incorporates) #10478
Summary of Changes
Screenshots (if necessary)
References
FoxtrotSierra6829/fbw-aircraft-test#1
FoxtrotSierra6829/fbw-aircraft-test#2
FoxtrotSierra6829/fbw-aircraft-test#3
FoxtrotSierra6829/fbw-aircraft-test#4
Additional context
flybywiresim/installer#537
Secrets are now only accessed when handling code of the trusted targeted branch. Previously, secrets could be accessed on PRs from upstream branches but were inaccessible from PRs from forks.
Discord username (if different from GitHub):
foxtrotsierra
Testing instructions
https://flybywirecdn.com/installer/qa-config/pull-requests.jsonNOTE: Clicking the PR title in the description will lead to a different PR, this is not an issue but working as intended. The test PRs are from another repo.
How to download the PR for QA
Every new commit to this PR will cause new A32NX and A380X artifacts to be created, built, and uploaded.