Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat(script): Script for rolling out env vars to render runners #2984

Merged
merged 7 commits into from
Nov 14, 2024

Conversation

nalanj
Copy link
Contributor

@nalanj nalanj commented Nov 13, 2024

Describe your changes

To roll out providers updating in runners we needed to be able to ship some new env vars to existing runners. I went ahead and ran this against staging with the new variables we needed to ensure it was working correctly.

Usage:

ENVIRONMENT=staging \
OWNER_ID=<OWNER_ID> \
RENDER_API_KEY=<RENDER_API_KEY> \
KEY=PROVIDERS_RELOAD_INTERVAL \
VALUE=60000 \
node ./scripts/runner-env.js

Issue ticket number and link

https://linear.app/nango/issue/NAN-2105/dynamically-reload-providersyaml

Checklist before requesting a review (skip if just adding/editing APIs & templates)

  • I added tests, otherwise the reason is:
  • I added observability, otherwise the reason is:
  • I added analytics, otherwise the reason is:

Copy link

linear bot commented Nov 13, 2024

@nalanj nalanj self-assigned this Nov 13, 2024
@nalanj nalanj marked this pull request as ready for review November 13, 2024 20:47
@nalanj nalanj added this pull request to the merge queue Nov 14, 2024
Merged via the queue into master with commit be33cf8 Nov 14, 2024
20 checks passed
@nalanj nalanj deleted the alan/nan-2105/runner-env-script branch November 14, 2024 12:55
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants