From ec1be4904a8789deb181341d8d8479279077d421 Mon Sep 17 00:00:00 2001 From: Edward Welch <edward.welch@grafana.com> Date: Mon, 9 Sep 2019 18:10:53 -0400 Subject: [PATCH] adding git to alpine image for drone deploy step --- .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 8925d63e..42f9efa9 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 make bash", + "apk add --no-cache curl make bash git", '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 e049e2c3..705efe41 100644 --- a/.drone/drone.yml +++ b/.drone/drone.yml @@ -429,7 +429,7 @@ kind: pipeline name: deploy steps: - commands: - - apk add --no-cache curl make bash + - apk add --no-cache curl make bash git - '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' -- GitLab