-
Notifications
You must be signed in to change notification settings - Fork 1
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
Remove unused vars #27
Conversation
@@ -19,16 +19,10 @@ let | |||
secretsImportScript = pkgs.writeScript "secrets-import" '' | |||
#! /bin/sh | |||
set -eu | |||
NETLIFY_AUTH_TOKEN="$(cat /run/keys/netlify-auth-token)" |
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.
Note that the 'prod' build server also builds and deploys other Granola repos besides 'mina-indexer'. They require this Netlify token.
CLOUDFLARE_ACCOUNT_ID="$(cat /run/keys/cloudflare-account-id)" | ||
export CLOUDFLARE_ACCOUNT_ID | ||
CLOUDFLARE_API_TOKEN="$(cat /run/keys/cloudflare-api-token)" | ||
export CLOUDFLARE_API_TOKEN | ||
LINODE_OBJ_ACCESS_KEY="$(cat /run/keys/linode-access-key)" |
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.
These keys should be left on the box because we may want to build (rollback) to a build that requires the Linode object store.
chown bk:keys /run/keys/cloudflare-account-id && | ||
chown bk:keys /run/keys/cloudflare-api-token && | ||
chown bk:keys /run/keys/linode-access-key && | ||
chown bk:keys /run/keys/linode-secret-key && | ||
chmod 0400 /run/keys/buildkite-agent-token && |
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.
This line was probably an accidental deletion.
These changes have in fact not been made on the machines. It sounds like we should just leave these variables intact; closing. |
Remove outdated/unused variables