Skip to content

Commit

Permalink
add make to the alpine image used by drone to call the circle job for…
Browse files Browse the repository at this point in the history
… deployments (we use make to enumerate the image names)
  • Loading branch information
slim-bean authored and Ed Welch committed Sep 9, 2019
1 parent 9bce5d7 commit 82a84a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .drone/drone.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -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'
]
}
Expand Down
2 changes: 1 addition & 1 deletion .drone/drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 82a84a5

Please sign in to comment.