From 0f9c05b3a2fcb7f4669c3be74a397518f738b0e7 Mon Sep 17 00:00:00 2001 From: Edward Welch Date: Mon, 9 Sep 2019 17:46:39 -0400 Subject: [PATCH] add make to the alpine image used by drone to call the circle job for deployments (we use make to enumerate the image names) --- .drone/drone.jsonnet | 2 +- .drone/drone.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone/drone.jsonnet b/.drone/drone.jsonnet index 8d594c48c1a18..ac55ca13bde50 100644 --- a/.drone/drone.jsonnet +++ b/.drone/drone.jsonnet @@ -130,7 +130,7 @@ local drone = [ CIRLCE_TOKEN: {from_secret: "circle_token"} }, commands: [ - "apk add --no-cache curl", + "apk add --no-cache curl make", '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 f832d84a926fa..5bfdf7831ae65 100644 --- a/.drone/drone.yml +++ b/.drone/drone.yml @@ -429,7 +429,7 @@ kind: pipeline name: deploy steps: - commands: - - apk add --no-cache curl + - apk add --no-cache curl make - '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'