Skip to content

Commit c82495e

Browse files
committed
ci: Fix commit message for update-dp workflow, add delay
The delay is to give time to CI runners to build and publish the new compile-env packages. Alternatively, we could trigger the workflow when new packages are published, but: - I'm not sure the action would effectively trigger, given that the package is already created and pushed by a GitHub workflow run (I think it disables "recursive" actions, like when automated PRs don't trigger CI runs, to prevent infinite loops. - It's more involved to figure out when to run: only on release builds (that take longer than debug builds)? And only on packages from commits that are present in the main branch? Doable, but more work. Signed-off-by: Quentin Monnet <qmo@qmon.net>
1 parent 0009948 commit c82495e

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

.github/workflows/update-dp.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ jobs:
4545
run: |
4646
./scripts/bump.sh
4747
48+
- name: "Give time for new packages to be published"
49+
run: |
50+
sleep 45
51+
4852
- name: "Generate GitHub App token for the dataplane repository"
4953
id: "app-token"
5054
uses: "actions/create-github-app-token@v1"
@@ -63,13 +67,17 @@ jobs:
6367
automated
6468
dependencies
6569
signoff: "true"
66-
commit-message: "bump(dpdk-sys): automated bump of dpdk-sys"
67-
sign-commits: "true"
68-
body: |
70+
commit-message: |
71+
bump(dpdk-sys): automated bump of dpdk-sys
72+
6973
Automated bump from dpdk-sys,
7074
triggered by push to 'main' in source repository.
7175
72-
Commit: ${{ github.sha }}
76+
Commit: githedgehog/dpdk-sys@${{ github.sha }}
77+
sign-commits: "true"
78+
body: |
79+
Automated bump from dpdk-sys
80+
Commit: githedgehog/dpdk-sys@${{ github.sha }}
7381
7482
- name: "Setup tmate session for debug"
7583
if: ${{ failure() && github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}

0 commit comments

Comments
 (0)