Skip to content

Sync binaries on aws #70

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

Merged
merged 14 commits into from
Dec 10, 2021
Merged

Sync binaries on aws #70

merged 14 commits into from
Dec 10, 2021

Conversation

polldo
Copy link
Contributor

@polldo polldo commented Nov 25, 2021

Motivation

we want to decouple actual binaries from this repo, this brings the following advantages:

  • users can use the device create from any directory, since binaries are no more tied to a certain folder
  • binaries can be updated without requiring a new release of the cli

Change description

  • the provisioning sketches have been introduced in the repo
  • whenever a change is made on the sketches, the CI will regenerate and upload the new binaries on aws

the actual download of the binaries has been implemented in other pr #74

@polldo polldo changed the title Draft sync task Sync binaries on s3 Nov 25, 2021
@polldo polldo changed the title Sync binaries on s3 Sync binaries on aws Nov 25, 2021
@polldo polldo force-pushed the polldo/sync-bins branch 4 times, most recently from 4d50b27 to b21cf26 Compare November 26, 2021 17:14
@polldo polldo marked this pull request as ready for review November 26, 2021 17:19
@polldo polldo marked this pull request as draft November 26, 2021 17:22
@polldo polldo force-pushed the polldo/sync-bins branch 7 times, most recently from d97c22c to 20e7804 Compare December 2, 2021 16:22
@polldo polldo marked this pull request as ready for review December 2, 2021 16:22
@polldo polldo requested review from eclipse1985 and glumia December 2, 2021 16:23
@polldo polldo force-pushed the polldo/sync-bins branch 4 times, most recently from c09333a to 69e9bfd Compare December 2, 2021 16:38
@glumia
Copy link
Contributor

glumia commented Dec 3, 2021

Where do those provision sketches come from?

Copy link
Contributor

@glumia glumia left a comment

Choose a reason for hiding this comment

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

Added some suggestions to improve readability and (a bit) robustness of the Python script.

We could also add the following lines to the .gitignore for the generated provisioning stuff:

# Provisioning binaries and metadata
firmware/binaries
firmware/provision/**/build

@polldo
Copy link
Contributor Author

polldo commented Dec 7, 2021

Where do those provision sketches come from?

from the old provisioning python script
https://github.com/ubidefeo/Arduino-CLI-provisioning

@polldo polldo requested a review from glumia December 9, 2021 13:31
@polldo polldo merged commit fa79956 into main Dec 10, 2021
@polldo polldo deleted the polldo/sync-bins branch December 10, 2021 16:50
polldo pushed a commit that referenced this pull request Sep 2, 2022
This is the first step to decouple actual provisioning binaries from this repo
The provisioning sketches have been introduced in the repo: whenever a change is made on the sketches, the CI will regenerate and upload the new binaries on aws.
polldo pushed a commit that referenced this pull request Sep 2, 2022
This is the first step to decouple actual provisioning binaries from this repo
The provisioning sketches have been introduced in the repo: whenever a change is made on the sketches, the CI will regenerate and upload the new binaries on aws.
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.

3 participants