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

pull/8911/head
Alvin Huang 2020-10-09 16:12:54 -04:00 committed by GitHub
parent 9bb348c6c7
commit 52fd707f3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 14 deletions

View File

@ -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