Merge pull request #66 from hashicorp/oss/merge-main-deb9bba3ef364fecdb30a5266a7c71d5e1a4fa8d

[main] OSS to ENT merge of (deb9bba)
This commit is contained in:
Zhihe Li authored and GitHub committed 2023-02-13 19:14:24 -05:00
commit ec63519058
2 files changed
+18 -13

No files matched your search

+9 -7
View File
@@ -1,6 +1,5 @@
name: "Trigger Test Boundary UI release"
on:
workflow_dispatch:
inputs:
@@ -9,15 +8,18 @@ on:
required: true
jobs:
trigger-circleci-release:
trigger-gha-release:
runs-on: ubuntu-latest
steps:
- name: Trigger Release job
- name: Release description
if: github.event_name == 'workflow_dispatch'
run: |
echo "Triggering Test release using BRANCH and TEST_TAG ${{ github.event.inputs.branch }}"
- name: Trigger Release workflow in boundary-ui-releases
run: |
export GITHUB_TOKEN="${{ secrets.ELEVATED_GITHUB_TOKEN }}"
gh workflow run release.yml \
--repo hashicorp/boundary-ui-releases \
--ref main \
-f TAG="${{ github.event.inputs.branch }}"
curl -u ${{ secrets.CIRCLE_TOKEN }}: -X POST --header "Content-Type: application/json" \
-d '{ "branch": "main", "parameters": {"TAG": "'${{ github.event.inputs.branch }}'" }}' \
https://circleci.com/api/v2/project/github/hashicorp/boundary-ui-releases/pipeline
+9 -6
View File
@@ -6,14 +6,17 @@ on:
- '*'
jobs:
trigger-circleci-release:
trigger-gha-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Trigger Release job
- name: Release description
run: |
echo "Triggering release with a TAG ${GITHUB_REF#refs/tags/}"
curl -u ${{ secrets.CIRCLE_TOKEN }}: -X POST --header "Content-Type: application/json" \
-d '{ "branch": "main", "parameters": {"TAG": "'${GITHUB_REF#refs/tags/}'" }}' \
https://circleci.com/api/v2/project/github/hashicorp/boundary-ui-releases/pipeline
- name: Trigger Release workflow in boundary-ui-releases
run: |
export GITHUB_TOKEN="${{ secrets.ELEVATED_GITHUB_TOKEN }}"
gh workflow run release.yml \
--repo hashicorp/boundary-ui-releases \
--ref main \
-f TAG="${GITHUB_REF#refs/tags/}"