Skip to content
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

Update Nomad dependency #226

Merged
merged 12 commits into from
May 14, 2021
Merged

Update Nomad dependency #226

merged 12 commits into from
May 14, 2021

Conversation

lgfa29
Copy link
Contributor

@lgfa29 lgfa29 commented May 11, 2021

Update Nomad dependency to add support for new jobspec fields.

It also fixes an upstream problem introduced when #203 added support for additional headers for the provider, where a bug in the Nomad api package that caused a panic whenever concurrent access to the header map happened.

A new test and a broken commit are provided to illustrate that this fixes the problem.

Closes #214 #215 #219 #220 #221 #222

jrasell
jrasell previously approved these changes May 12, 2021
Copy link
Member

@jrasell jrasell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1.1.0 also adds cores into the resources stanza; it would be worth adding a test for this as a follow up also. LGTM though!

nomad/data_source_scheduler_config_test.go Outdated Show resolved Hide resolved
@lgfa29 lgfa29 requested a review from jrasell May 13, 2021 01:02
Copy link
Member

@jrasell jrasell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lgfa29 lgfa29 merged commit c8c9dee into main May 14, 2021
@lgfa29 lgfa29 deleted the update-nomad-1.1.0-beta1 branch May 14, 2021 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants