-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Intent to Deprecate HCLv1 #20195
Comments
Hi, I'm wondering if there will be a solution for the heredoc issue before hcl1 gets removed ? |
Yeah we'll certainly need to do that. |
Wanted to follow up on this after my investigations in #9838. There's no way for us to do this without direct support in HCL. Adding support for this was previously rejected by the core HCL maintainer team, but even if we got past that (probably possible) it's a lot of work at the very "bottom" of the HCL stack, and we don't have the resources to do this work currently. Given that there's a workaround for this already (either manually escaping in the |
This changeset removes support for parsing jobspecs via the long-deprecated HCLv1. Fixes: #20195 Ref: https://hashicorp.atlassian.net/browse/NET-10220
Nomad adopted HCLv2 for Jobspecs in 2020. HCLv2 is not strictly backward compatible with HCLv1, so we have maintained the HCLv1 jobspec parser behind the
nomad job run -hcl1 ...
flag, the job parse HCLv1 field, and thejobspec
Go package.Deprecation Plan
The time has come to deprecate HCLv1.
jobspec
package.TODO
jobspec
package in Nomad 1.8.0 jobspec: add deprecation warnings for removal of HCLv1 #23913Resources
The text was updated successfully, but these errors were encountered: