[skip ci] ci: fix trigger-oss-merge yaml spacing (#8916)

This commit is contained in:
Alvin Huang 2020-10-09 16:12:54 -04:00
parent 561636d503
commit 52dfa58230

View File

@ -726,20 +726,20 @@ jobs:
- "c9:04:b7:85:bf:0e:ce:93:5f:b8:0e:68:8e:16:f3:71" - "c9:04:b7:85:bf:0e:ce:93:5f:b8:0e:68:8e:16:f3:71"
- run: .circleci/scripts/cherry-picker.sh - run: .circleci/scripts/cherry-picker.sh
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