diff --git a/.drone/drone.jsonnet b/.drone/drone.jsonnet index 135f13ec64b3..bc4e6bc48816 100644 --- a/.drone/drone.jsonnet +++ b/.drone/drone.jsonnet @@ -130,7 +130,7 @@ local drone = [ CIRLCE_TOKEN: {from_secret: "circle_token"} }, commands: [ - 'curl -s --header "Content-Type: application/json" --data "{\"build_parameters\": {\"CIRCLE_JOB\": \"deploy\", \"IMAGE_NAMES\": \"$(make print-images)\"}}" --request POST https://circleci.com/api/v1.1/project/github/raintank/deployment_tools/tree/master?circle-token=$CIRCLE_TOKEN' + 'curl -s --header "Content-Type: application/json" --data "{\\"build_parameters\\": {\\"CIRCLE_JOB\\": \\"deploy\\", \\"IMAGE_NAMES\\": \\"$(make print-images)\\"}}" --request POST https://circleci.com/api/v1.1/project/github/raintank/deployment_tools/tree/master?circle-token=$CIRCLE_TOKEN' ] } ], diff --git a/.drone/drone.yml b/.drone/drone.yml index 84078a9507bf..35fae368247c 100644 --- a/.drone/drone.yml +++ b/.drone/drone.yml @@ -429,9 +429,9 @@ kind: pipeline name: deploy steps: - commands: - - 'curl -s --header "Content-Type: application/json" --data "{"build_parameters": - {"CIRCLE_JOB": "deploy", "IMAGE_NAMES": "$(make print-images)"}}" --request POST - https://circleci.com/api/v1.1/project/github/raintank/deployment_tools/tree/master?circle-token=$CIRCLE_TOKEN' + - 'curl -s --header "Content-Type: application/json" --data "{\"build_parameters\": + {\"CIRCLE_JOB\": \"deploy\", \"IMAGE_NAMES\": \"$(make print-images)\"}}" --request + POST https://circleci.com/api/v1.1/project/github/raintank/deployment_tools/tree/master?circle-token=$CIRCLE_TOKEN' environment: CIRLCE_TOKEN: from_secret: circle_token