fix
Gitea/homepage/pipeline/head There was a failure building this commit

This commit is contained in:
Georgios Jason Efstathiou
2024-12-23 15:29:13 +01:00
parent c9a95eb81b
commit d596894f9b
Vendored
+1 -1
View File
@@ -25,7 +25,7 @@ pipeline {
} }
} }
stage('Deploy to Nomad) { stage('Deploy to Nomad') {
// First, it should convert the local jobspec.hcl file to JSON. To do so, it must make a POST request to http://nomad.service.consul/v1/jobs/parse with content-type: application/json, // First, it should convert the local jobspec.hcl file to JSON. To do so, it must make a POST request to http://nomad.service.consul/v1/jobs/parse with content-type: application/json,
// content should be { "JobHCL": <job definition> }, where <job definition> is the content of the ./jobspec.hcl file // content should be { "JobHCL": <job definition> }, where <job definition> is the content of the ./jobspec.hcl file
// The response will be a JSON object with a key "Job" containing the parsed job specification. The value of this key is the JSON representation of the job specification. // The response will be a JSON object with a key "Job" containing the parsed job specification. The value of this key is the JSON representation of the job specification.