-
Notifications
You must be signed in to change notification settings - Fork 214
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 by Bors] - Upload go-sm release builds to R2 #6225
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #6225 +/- ##
========================================
Coverage 82.0% 82.1%
========================================
Files 308 307 -1
Lines 33913 34105 +192
========================================
+ Hits 27829 28012 +183
- Misses 4311 4317 +6
- Partials 1773 1776 +3 ☔ View full report in Codecov by Sentry. |
.github/workflows/release.yml
Outdated
AWS_ACCESS_KEY_ID: ${{ secrets.CLOUDFLARE_GO_SM_BUILDS_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.CLOUDFLARE_GO_SM_BUILDS_SECRET_ACCESS_KEY }} | ||
SOURCE_DIR: build-zip | ||
DEST_DIR: '${{ github.ref_name }}' |
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: the apostrophes aren't needed 🙂
DEST_DIR: '${{ github.ref_name }}' | |
DEST_DIR: ${{ github.ref_name }} |
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 think we need the jakejarvis/s3-sync-action
, it's unmaintained for a few years and doing it ourselves is near trivial (see comments).
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.
Created a test release to see if the new links work: https://github.com/spacemeshos/go-spacemesh/releases/tag/v1.7.0-citest.0-nomain
seems to be working OK
bors merge |
## Motivation Upgrade the release process with R2 uploads to reduce costs and safeguarding against network charges and abuse, while keeping the GCP bucket as a temporary backup. Co-authored-by: Matthias <[email protected]>
Pull request successfully merged into develop. Build succeeded: |
Motivation
Upgrade the release process with R2 uploads to reduce costs and safeguarding against network charges and abuse, while keeping the GCP bucket as a temporary backup.
Description
Introduces a release upload to R2 while maintaining GCP as a backup. This step is part of a larger migration plan that will eventually see the full transition to R2, including the smapp builds.
Test Plan
Test the upload to the GCS Bucket