-
Notifications
You must be signed in to change notification settings - Fork 927
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
GHA: Upload AAB to Play Store and Firebase #5176
GHA: Upload AAB to Play Store and Firebase #5176
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @malmstein and the rest of your teammates on Graphite |
0404cae
to
6b23eb4
Compare
01aa980
to
34abbf4
Compare
857d523
to
6b90639
Compare
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.
Good stuff 👍 Just a few questions / comments.
git tag -a ${{ steps.generate_version_name.outputs.version }} -m "Create tag ${{ steps.generate_version_name.outputs.version }} for nightly release." | ||
git push origin ${{ steps.generate_version_name.outputs.version }} | ||
|
||
- name: Upload app bundle as artifact |
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.
Nit: Name of this step is slightly misleading, we want the apk uploaded as an artifact (not the app bundle).
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.
Done!
with: | ||
secret: ${{ secrets.UPLOAD_RELEASE_PROPERTIES }} | ||
fileName: ddg_android_build_upload.properties | ||
destination-path: $HOME/jenkins_static/com.duckduckgo.mobile.android/ |
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.
I assume we're still using this particular path to maintain compatibility of our gradle scripts with the existing Jenkins setup?
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.
Yes. We won’t need this once Jenkins is gone. That being said, devs already have this file structure locally so changing it would involve more work like Onboarding, etc. I’ll leave this change to the very last of the migration,
jobs: | ||
create-tag: | ||
name: Generate and upload nightly bundle to Play Store Internal track | ||
runs-on: macos-latest |
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.
Is there a specific reason we need a macOS runner for this workflow? I understand it’s not intended to be executed often, but it still feels wasteful if there are no blockers to using Ubuntu, which is significantly cheaper, IIRC.
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.
You are right, there’s no need. Moved it all to ubuntu-latest
workflow_dispatch: | ||
|
||
env: | ||
ASANA_PAT: ${{ secrets.GH_ASANA_SECRET }} |
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.
I don't see this being used anywhere in this workflow. Are you planning to generate an asana task on workflow failure?
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.
Good catch, I missed that step. Adding it now.
6b90639
to
a1f777e
Compare
Thanks for the review @lmac012 ! |
Task/Issue URL: https://app.asana.com/0/42792087274227/1208606985938250/f ### Description This PR enables nightly releases from GHA ### Steps to test this PR Run the workflow
Task/Issue URL: https://app.asana.com/0/42792087274227/1208606985938250/f
Description
This PR enables nightly releases from GHA
Steps to test this PR
Run the workflow