Skip to content
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

Merged
merged 3 commits into from
Jul 3, 2024
Merged

Add config files for macOS and Windows #80

merged 3 commits into from
Jul 3, 2024

Conversation

ayoy
Copy link
Contributor

@ayoy ayoy commented Jul 2, 2024

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).

@ayoy ayoy requested a review from cmonfortep July 2, 2024 16:24
Copy link

github-actions bot commented Jul 2, 2024

Copy link

github-actions bot commented Jul 2, 2024

Copy link
Collaborator

@cmonfortep cmonfortep left a 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'
Copy link
Collaborator

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'
Copy link
Collaborator

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
Copy link
Collaborator

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?

Copy link
Contributor Author

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).

Copy link
Collaborator

@cmonfortep cmonfortep Jul 3, 2024

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?

Copy link
Contributor Author

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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

@ayoy ayoy merged commit f5124fd into main Jul 3, 2024
@ayoy ayoy deleted the dominik/rmf-desktop branch July 3, 2024 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants