Skip to content

Commit b1ad238

Browse files
Nagendra Puthanenagendraputhane
authored andcommitted
ci: move package dispatch to dao repo
Move Package dispatch to DAO repo. Run only CI for pushes to VPP repo. Signed-off-by: Nagendra Puthane <[email protected]>
1 parent 8c32025 commit b1ad238

1 file changed

Lines changed: 1 addition & 16 deletions

File tree

.github/workflows/build-cn10k.yml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -180,19 +180,4 @@ jobs:
180180
draft: false
181181
tag_name: vpp-${{ steps.artifacts.outputs.PKG_VERSION_NAME }}-cn10k-${{ steps.artifacts.outputs.MRVL_PKG_VERSION }}-${{ steps.artifacts.outputs.DISTRO }}-${{ steps.artifacts.outputs.TAG }}
182182
files: |
183-
${{ github.workspace }}/artifacts/vpp-${{ steps.artifacts.outputs.PKG_VERSION_NAME }}-cn10k${{ steps.artifacts.outputs.PKG_POSTFIX }}_${{ steps.artifacts.outputs.MRVL_PKG_VERSION }}_arm64.deb
184-
- name: Dispatch package update event
185-
if: ${{ github.event_name == 'push' }}
186-
run: |
187-
curl -L \
188-
-X POST \
189-
-H "Accept: application/vnd.github+json" \
190-
-H "Authorization: Bearer ${{ secrets.PPA_REPO_SECRET }}" \
191-
-H "X-GitHub-Api-Version: 2022-11-28" \
192-
https://api.github.com/repos/marvellembeddedprocessors/packages/dispatches \
193-
-d '{"event_type":"dispatch-event", "client_payload": {"package" : "vpp",
194-
"tag": "vpp-${{ steps.artifacts.outputs.PKG_VERSION_NAME }}-cn10k-${{ steps.artifacts.outputs.MRVL_PKG_VERSION }}-${{ steps.artifacts.outputs.DISTRO }}-${{ steps.artifacts.outputs.TAG }}",
195-
"dpdk_tag" : "dpdk-cn10k-${{ steps.version.outputs.DPDK_BASE_PKG_VERSION }}_${{ steps.version.outputs.DPDK_PKG_VERSION }}-${{ steps.artifacts.outputs.DISTRO }}-${{ steps.version.outputs.DPDK_PKG_VERSION }}",
196-
"has_dpdk" : "true", "distro" : "${{ steps.artifacts.outputs.DISTRO }}",
197-
"platform" : "cn10k",
198-
"devel": "${{ steps.artifacts.outputs.IS_DEVEL }}"}}'
183+
${{ github.workspace }}/artifacts/vpp-${{ steps.artifacts.outputs.PKG_VERSION_NAME }}-cn10k${{ steps.artifacts.outputs.PKG_POSTFIX }}_${{ steps.artifacts.outputs.MRVL_PKG_VERSION }}_arm64.deb

0 commit comments

Comments
 (0)