diff options
author | Yevhen Bondarenko <evgeniy.bondarenko@sentrium.io> | 2024-10-08 19:13:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-08 19:13:31 +0200 |
commit | b27e9208d16f3a4401d4c7b6228f5896933b837f (patch) | |
tree | 9a6abfd4e88fb3623c2706ed5243de88c304b4cf | |
parent | 4bc4f38d0c44f1e0ecf5ba6fbd44ada098d481b6 (diff) | |
download | vyos-workflow-testing-b27e9208d16f3a4401d4c7b6228f5896933b837f.tar.gz vyos-workflow-testing-b27e9208d16f3a4401d4c7b6228f5896933b837f.zip |
testing
-rw-r--r-- | .github/workflows/trigger-vpp-build.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/trigger-vpp-build.yml b/.github/workflows/trigger-vpp-build.yml new file mode 100644 index 0000000..8ddfd97 --- /dev/null +++ b/.github/workflows/trigger-vpp-build.yml @@ -0,0 +1,18 @@ +name: Trigger VPP build
+
+on:
+ workflow_dispatch:
+
+jobs:
+ trigger_build:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Trigger VPP build
+ run: |
+ curl -L \
+ -X POST \
+ -H "Accept: application/vnd.github+json" \
+ -H "Authorization: Bearer ${{ secrets.PAT }}" \
+ -H "X-GitHub-Api-Version: 2022-11-28" \
+ https://api.github.com/repos/${{ secrets.REMOTE_OWNER }}/${{ secrets.REMOTE_REUSE_REPO }}/actions/workflows/build-package.yml/dispatches \
+ -d '{"ref": "main", "inputs":{"package_name":"vpp", "gpg_key_id": "${{ secrets.GPG_KEY_ID }}", "package_branch": "current", "pat":"${{ secrets.PAT }}"}}'
\ No newline at end of file |