mirror of https://github.com/hashicorp/consul
[skip ci] ci: fix trigger-oss-merge yaml spacing (#8916)
parent
9bb348c6c7
commit
52fd707f3d
|
@ -831,20 +831,20 @@ jobs:
|
||||||
- run: .circleci/scripts/cherry-picker.sh
|
- run: .circleci/scripts/cherry-picker.sh
|
||||||
- run: *notify-slack-failure
|
- run: *notify-slack-failure
|
||||||
|
|
||||||
trigger-oss-merge:
|
trigger-oss-merge:
|
||||||
docker:
|
docker:
|
||||||
- image: alpine:3.11
|
- image: alpine:3.11
|
||||||
steps:
|
steps:
|
||||||
- run: apk add --no-cache --no-progress curl jq
|
- run: apk add --no-cache --no-progress curl jq
|
||||||
- run:
|
- run:
|
||||||
name: trigger oss merge
|
name: trigger oss merge
|
||||||
command: |
|
command: |
|
||||||
curl -s -X POST \
|
curl -s -X POST \
|
||||||
--header "Circle-Token: ${CIRCLECI_API_TOKEN}" \
|
--header "Circle-Token: ${CIRCLECI_API_TOKEN}" \
|
||||||
--header "Content-Type: application/json" \
|
--header "Content-Type: application/json" \
|
||||||
-d '{"build_parameters": {"CIRCLE_JOB": "oss-merge"}}' \
|
-d '{"build_parameters": {"CIRCLE_JOB": "oss-merge"}}' \
|
||||||
"https://circleci.com/api/v1.1/project/github/hashicorp/consul-enterprise/tree/${CIRCLE_BRANCH}" | jq -r '.build_url'
|
"https://circleci.com/api/v1.1/project/github/hashicorp/consul-enterprise/tree/${CIRCLE_BRANCH}" | jq -r '.build_url'
|
||||||
- run: *notify-slack-failure
|
- run: *notify-slack-failure
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
|
|
Loading…
Reference in New Issue