-
-
Notifications
You must be signed in to change notification settings - Fork 229
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 command to sync tool to store configs into local dev R2 #3865
Closed
danyx23
wants to merge
4
commits into
use-r2-in-cf-functions
from
danyx23/add-subcommand-to-sync-graphers-to-r2
Closed
Add command to sync tool to store configs into local dev R2 #3865
danyx23
wants to merge
4
commits into
use-r2-in-cf-functions
from
danyx23/add-subcommand-to-sync-graphers-to-r2
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Quick links (staging server):
Login:
SVG tester:Number of differences (default views): 0 ✅ Edited: 2024-08-15 15:09:34 UTC |
danyx23
force-pushed
the
use-r2-grapher-configs-in-cf-functions
branch
from
August 13, 2024 13:47
f8b200f
to
87f0855
Compare
danyx23
force-pushed
the
danyx23/add-subcommand-to-sync-graphers-to-r2
branch
from
August 13, 2024 13:47
8648fc0
to
ed7d910
Compare
This was referenced Aug 13, 2024
This stack of pull requests is managed by Graphite. Learn more about stacking. |
danyx23
changed the base branch from
use-r2-grapher-configs-in-cf-functions
to
use-r2-in-cf-functions
August 13, 2024 13:51
danyx23
force-pushed
the
use-r2-in-cf-functions
branch
from
August 13, 2024 14:49
87f0855
to
1eb1643
Compare
danyx23
force-pushed
the
danyx23/add-subcommand-to-sync-graphers-to-r2
branch
from
August 13, 2024 14:49
ed7d910
to
a7ad2fb
Compare
danyx23
force-pushed
the
use-r2-in-cf-functions
branch
from
August 13, 2024 16:36
1eb1643
to
9ceb138
Compare
danyx23
force-pushed
the
danyx23/add-subcommand-to-sync-graphers-to-r2
branch
from
August 13, 2024 16:36
a7ad2fb
to
03be17a
Compare
danyx23
force-pushed
the
use-r2-in-cf-functions
branch
from
August 13, 2024 16:55
9ceb138
to
e002f95
Compare
danyx23
force-pushed
the
danyx23/add-subcommand-to-sync-graphers-to-r2
branch
from
August 13, 2024 16:55
03be17a
to
57be3d9
Compare
danyx23
force-pushed
the
use-r2-in-cf-functions
branch
from
August 13, 2024 20:21
e002f95
to
72aa0f2
Compare
danyx23
force-pushed
the
danyx23/add-subcommand-to-sync-graphers-to-r2
branch
from
August 13, 2024 20:21
57be3d9
to
cc54317
Compare
danyx23
force-pushed
the
use-r2-in-cf-functions
branch
from
August 13, 2024 20:50
72aa0f2
to
da94610
Compare
danyx23
force-pushed
the
danyx23/add-subcommand-to-sync-graphers-to-r2
branch
from
August 13, 2024 20:50
cc54317
to
22eaef8
Compare
danyx23
changed the title
Create a PR that changes the script in ./devTools/syncGraphersToR2 so that it supports multiple commands
Add command to sync tool to store configs into local dev R2
Aug 13, 2024
danyx23
force-pushed
the
danyx23/add-subcommand-to-sync-graphers-to-r2
branch
from
August 14, 2024 09:46
22eaef8
to
958e4fa
Compare
and a sync tool
old behavior is sync, new is saving single files to the local dev R2 bucket using the wrangler cli
danyx23
force-pushed
the
use-r2-in-cf-functions
branch
from
August 15, 2024 15:00
da94610
to
ff6fe4c
Compare
danyx23
force-pushed
the
danyx23/add-subcommand-to-sync-graphers-to-r2
branch
from
August 15, 2024 15:00
958e4fa
to
e35e11e
Compare
danyx23
force-pushed
the
use-r2-in-cf-functions
branch
from
August 15, 2024 17:01
ff6fe4c
to
1a54936
Compare
This was referenced Aug 19, 2024
This was referenced Aug 26, 2024
This was referenced Sep 5, 2024
Merged
This was referenced Oct 4, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
So far, the syncGraphersToR2 tool lets you sync all needed entries from the chart_configs table to an actual R2 bucket. This is useful for production and staging servers but in local dev the R2 bindings currently can't connect to an actual R2 bucket and instead simulate one using a local folder.
This PR adds a tool to store single chart configs by slug from the database into the local R2 bucket by invoking the wrangler cli tool for storing R2 objects.