summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYevhen Bondarenko <evgeniy.bondarenko@sentrium.io>2024-10-08 19:13:31 +0200
committerGitHub <noreply@github.com>2024-10-08 19:13:31 +0200
commitb27e9208d16f3a4401d4c7b6228f5896933b837f (patch)
tree9a6abfd4e88fb3623c2706ed5243de88c304b4cf
parent4bc4f38d0c44f1e0ecf5ba6fbd44ada098d481b6 (diff)
downloadvyos-workflow-testing-b27e9208d16f3a4401d4c7b6228f5896933b837f.tar.gz
vyos-workflow-testing-b27e9208d16f3a4401d4c7b6228f5896933b837f.zip
testing
-rw-r--r--.github/workflows/trigger-vpp-build.yml18
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