add per commit oss->ent merge on master and release branches (#8740)

This commit is contained in:
Alvin Huang 2020-10-09 15:49:04 -04:00 committed by GitHub
parent 0419efe9e1
commit 804fef5c7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 23 additions and 1 deletions

View File

@ -831,6 +831,21 @@ jobs:
- run: .circleci/scripts/cherry-picker.sh - run: .circleci/scripts/cherry-picker.sh
- run: *notify-slack-failure - run: *notify-slack-failure
trigger-oss-merge:
docker:
- image: alpine:3.11
steps:
- run: apk add --no-cache --no-progress curl jq
- run:
name: trigger oss merge
command: |
curl -s -X POST \
--header "Circle-Token: ${CIRCLECI_API_TOKEN}" \
--header "Content-Type: application/json" \
-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'
- run: *notify-slack-failure
workflows: workflows:
version: 2 version: 2
go-tests: go-tests:
@ -965,8 +980,15 @@ workflows:
- ember-coverage: - ember-coverage:
requires: requires:
- ember-build-ent - ember-build-ent
cherry-pick: workflow-automation:
jobs: jobs:
- trigger-oss-merge:
context: team-consul
filters:
branches:
only:
- master
- /release\/\d+\.\d+\.x$/
- cherry-picker: - cherry-picker:
context: team-consul context: team-consul
filters: filters: