From a725f1b1112cce1104aa23c1c157ef21cc212f21 Mon Sep 17 00:00:00 2001 From: Yevhen Bondarenko Date: Wed, 9 Oct 2024 12:21:44 +0200 Subject: testing --- .github/workflows/trigger-hvinfo-build.yml | 18 ++++++++++++++++++ .github/workflows/trigger-vpp-build.yml | 18 ------------------ 2 files changed, 18 insertions(+), 18 deletions(-) create mode 100644 .github/workflows/trigger-hvinfo-build.yml delete mode 100644 .github/workflows/trigger-vpp-build.yml diff --git a/.github/workflows/trigger-hvinfo-build.yml b/.github/workflows/trigger-hvinfo-build.yml new file mode 100644 index 0000000..9cc4f0b --- /dev/null +++ b/.github/workflows/trigger-hvinfo-build.yml @@ -0,0 +1,18 @@ +name: Trigger hvinfo build + +on: + workflow_dispatch: + +jobs: + trigger_build: + runs-on: ubuntu-latest + steps: + - name: Trigger hvinfo 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":"hvinfo", "gpg_key_id": "${{ secrets.GPG_KEY_ID }}", "package_branch": "current", "pat":"${{ secrets.PAT }}"}}' \ No newline at end of file diff --git a/.github/workflows/trigger-vpp-build.yml b/.github/workflows/trigger-vpp-build.yml deleted file mode 100644 index 909d4e0..0000000 --- a/.github/workflows/trigger-vpp-build.yml +++ /dev/null @@ -1,18 +0,0 @@ -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": "vpp-testing", "inputs":{"package_name":"vpp", "gpg_key_id": "${{ secrets.GPG_KEY_ID }}", "package_branch": "current", "pat":"${{ secrets.PAT }}"}}' \ No newline at end of file -- cgit v1.2.3