Skip to content

fix(runner): align entrypoint scripts, retrieve agent_id if configured via JIT #66

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

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

rafalgalaw
Copy link
Collaborator

If runner was configured via JIT, the file under /runner/.runner which contains the agent_id has a different format compared to registering the runner via registration token, so the agent_id reported back to garm was null. This has been addressed now.
Also check_runner did not continue until max_retry on non-zero exit or pipefail.

@rafalgalaw rafalgalaw merged commit dc28c86 into main Aug 12, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants