mirror of https://github.com/hashicorp/boundary
parent
b9a393d10b
commit
4b6a16034e
@ -0,0 +1,7 @@
|
||||
executor: go-machine-medium
|
||||
steps:
|
||||
- checkout
|
||||
- run:
|
||||
name: "Trigger Merge to Enterprise"
|
||||
command: |
|
||||
./scripts/trigger-merge-to-ent
|
||||
@ -0,0 +1,6 @@
|
||||
jobs:
|
||||
- trigger-merge-to-ent:
|
||||
filters:
|
||||
branches:
|
||||
only:
|
||||
- main
|
||||
@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [[ -z "${CIRCLE_REPOSITORY_URL}" ]]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [[ "${CIRCLE_REPOSITORY_URL}" == *"boundary-enterprise"* ]]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [[ -z ${CIRCLE_CI_ENT_TOK} ]]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
curl -u ${CIRCLE_CI_ENT_TOK}: \
|
||||
-d 'build_parameters[CIRCLE_JOB]=merge-oss-main' \
|
||||
https://circleci.com/api/v1.1/project/github/hashicorp/boundary-enterprise/tree/main
|
||||
Loading…
Reference in new issue