-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add config files for macOS and Windows #80
Conversation
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.
LGTM
Let's just keep it as:
- opening a PR publishes into staging
- merging merges into live
No need for staging/pre or publishing into staging.
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
SOURCE_DIR: 'live/macos-config' | ||
DEST_DIR: 'remotemessaging/config/staging/pre' |
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.
we can drop pre
from the dest_dir
(also update message)
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
SOURCE_DIR: 'live/windows-config' | ||
DEST_DIR: 'remotemessaging/config/staging/pre' |
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.
ditto about pre
AWS_REGION: 'us-east-1' | ||
SOURCE_DIR: 'live/macos-config' | ||
DEST_DIR: 'remotemessaging/config/v1' | ||
- uses: jakejarvis/s3-sync-action@7ed8b112447abb09f1da74f3466e4194fc7a6311 |
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 think the reason why iOS publishes here into staging is an old bug with Urls where they were consuming staging/pre in test builds, stating in release builds. We can remove this step here.
@amddg44 do you remember if this is correct?
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.
@cmonfortep currently iOS uses a sample empty config in test builds and production in release builds. So I think we 're safe to make it work the same way as Android workflow (which I did).
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.
Can we check if there are no users consuming remotemessaging/config/staging
in production on iOS?
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.
Yeah so I've reverted iOS changes in the end :)
AWS_REGION: 'us-east-1' | ||
SOURCE_DIR: 'live/macos-config' | ||
DEST_DIR: 'remotemessaging/config/v1' | ||
- uses: jakejarvis/s3-sync-action@7ed8b112447abb09f1da74f3466e4194fc7a6311 |
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.
ditto
Task/Issue URL: https://app.asana.com/0/72649045549333/1207587223508406/f
Description:
This change adds empty config files for macOS and Windows and workflows to publish them to production and staging
(copied over from existing iOS workflows and adjusted as needed).