Skip to content
Snippets Groups Projects
Commit 4384371b authored by Edward Welch's avatar Edward Welch Committed by Ed Welch
Browse files

use the loki-build-image for calling circle, this is the same as what the...

use the loki-build-image for calling circle, this is the same as what the circle job we are replacing did
parent ec1be490
No related branches found
No related tags found
No related merge requests found
......@@ -125,12 +125,11 @@ local drone = [
steps: [
{
name: "trigger",
image: 'alpine',
image: 'grafana/loki-build-image:%s' % build_image_version,
environment: {
CIRLCE_TOKEN: {from_secret: "circle_token"}
},
commands: [
"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'
]
}
......
......@@ -429,14 +429,13 @@ kind: pipeline
name: deploy
steps:
- commands:
- 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'
environment:
CIRLCE_TOKEN:
from_secret: circle_token
image: alpine
image: grafana/loki-build-image:0.5.0
name: trigger
trigger:
ref:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment