(v2.5.1) Uploading LSF Application Environment
Validate and Push the Customized Environment to the MGMT_SERVER
Validate the JSON asset with
jq:jq . env0.jsonYou will see well-formatted JSON if
jqcan read the file, indicating no errors. If you see an error message, that means the JSON is not valid.
When the JSON is valid, the file can be pushed to the MGMT_SERVER:
curl -d "@env0.json" -H 'Content-Type: application/json' -X PUT http://${MGMT_SERVER_IP}:5000/v1/env