-
Notifications
You must be signed in to change notification settings - Fork 465
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: runner use new image #3468
Conversation
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.
Looks good. Definitely think Thomas should review too.
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.
should we also remove building the older image in build-images.yaml?
packages/jobs/lib/runner/render.ts
Outdated
plan: getPlan(node), | ||
...(node.image.includes('-runner') | ||
? {} | ||
: { envSpecificDetails: { dockerCommand: 'node packages/runner/dist/app.js 80 dockerized-runner' } }) | ||
}, | ||
envVars: [ | ||
{ key: 'PORT', value: '80' }, |
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.
you could have a port
variable and use it here and in the dockerCommand so they are always in sync
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.
good point
Yes I'm just keeping it until the next successful deploy just in case I need to revert |
Changes
Contributes to https://linear.app/nango/issue/NAN-605/use-image-for-runner
Runner: Use unified docker image
Tested in staging https://dashboard.render.com/pserv/srv-cui9s49u0jms739cd95g/settings
It's less transparent since we need to specify a docker command, happy to get suggestion here. I expect that after the migration, we can set it as the default
Fix deprecated runtime configuration
see doc https://api-docs.render.com/reference/create-service
Remove docker login leftovers