Skip to content

Commit

Permalink
looks like we also need bash for the deploy step
Browse files Browse the repository at this point in the history
  • Loading branch information
slim-bean committed Sep 9, 2019
1 parent 82a84a5 commit 527caa9
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 make",
"apk add --no-cache curl make bash",
'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 make
- apk add --no-cache curl make bash
- '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 527caa9

Please sign in to comment.