-
Notifications
You must be signed in to change notification settings - Fork 166
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
release: copy cloudflare assets when promoting #3505
Conversation
While I realize we do not run the playbook for the www server against the live www server, for my own benefit I'm assuming this needs something similar to #3501 to get the aws client and secrets onto the server? |
Actually we probably need to make sure we're okay giving the |
Why would that not be ok? these credentials can only access this r2 bucket and nothing else |
I already uploaded that manually for the initial file sync, but added to the code for the sake of documentation |
I'v deployed all files manually besides |
https://r2.nodejs.org/download/nightly/v21.0.0-nightly2023100285c09f178c/ was deployed, 100% automatically now |
I may be being a tad cautious but most releasers (who have access to build/ansible/www-standalone/resources/scripts/dist-perms Lines 1 to 10 in 726a7ca
While we do generally trust releasers we have had one incident recently where a releaser lost their laptop which meant we had to revoke their ssh keys to |
yes, that is possible.
that will be possible only if we move the entire promotion process to reside inside Cloudflare. (i.e upload to a drafts bucket and promote from within a worker) - but that is a few steps further than where we are at |
updated files manually |
While I believe assets can be copied directly from Jenkins in many cases, I think it is better to start with this approach where everything is promoted from within the www server.
this still doesn't handle the latest soft links. see discussion nodejs/release-cloudflare-worker#33