patch 'ci: update versions of actions in GHA' has been queued to stable release 22.11.5

luca.boccassi at gmail.com luca.boccassi at gmail.com
Thu Mar 7 02:30:35 CET 2024


Hi,

FYI, your patch has been queued to stable release 22.11.5

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 03/09/24. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Queued patches are on a temporary branch at:
https://github.com/bluca/dpdk-stable

This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/8661160ad34e2d8f91e80e0e1c6f52fb292acce6

Thanks.

Luca Boccassi

---
>From 8661160ad34e2d8f91e80e0e1c6f52fb292acce6 Mon Sep 17 00:00:00 2001
From: David Marchand <david.marchand at redhat.com>
Date: Wed, 31 Jan 2024 18:44:36 +0100
Subject: [PATCH] ci: update versions of actions in GHA

[ upstream commit 2ea7994ae39ff979b15899ec9eb9c68c944d4b11 ]

GitHub started deprecating GHA actions based on Node 16 [1].
For now, only warnings are raised, but we might as well switch to v4
versions of the common actions, now.

Link: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/

Signed-off-by: David Marchand <david.marchand at redhat.com>
Acked-by: Aaron Conole <aconole at redhat.com>
---
 .github/workflows/build.yml | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 8bd8f57513..c08f6ae827 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -64,7 +64,7 @@ jobs:
 
     steps:
     - name: Checkout sources
-      uses: actions/checkout at v3
+      uses: actions/checkout at v4
     - name: Generate cache keys
       id: get_ref_keys
       run: |
@@ -72,7 +72,7 @@ jobs:
         echo 'libabigail=libabigail-${{ env.LIBABIGAIL_VERSION }}-${{ matrix.config.os }}' >> $GITHUB_OUTPUT
         echo 'abi=abi-${{ matrix.config.os }}-${{ matrix.config.compiler }}-${{ matrix.config.cross }}-${{ env.LIBABIGAIL_VERSION }}-${{ env.REF_GIT_TAG }}' >> $GITHUB_OUTPUT
     - name: Retrieve ccache cache
-      uses: actions/cache at v3
+      uses: actions/cache at v4
       with:
         path: ~/.ccache
         key: ${{ steps.get_ref_keys.outputs.ccache }}-${{ github.ref }}
@@ -80,13 +80,13 @@ jobs:
           ${{ steps.get_ref_keys.outputs.ccache }}-refs/heads/main
     - name: Retrieve libabigail cache
       id: libabigail-cache
-      uses: actions/cache at v3
+      uses: actions/cache at v4
       if: env.ABI_CHECKS == 'true'
       with:
         path: libabigail
         key: ${{ steps.get_ref_keys.outputs.libabigail }}
     - name: Retrieve ABI reference cache
-      uses: actions/cache at v3
+      uses: actions/cache at v4
       if: env.ABI_CHECKS == 'true'
       with:
         path: reference
@@ -133,7 +133,7 @@ jobs:
       run: .ci/linux-build.sh
     - name: Upload logs on failure
       if: failure()
-      uses: actions/upload-artifact at v3
+      uses: actions/upload-artifact at v4
       with:
         name: meson-logs-${{ join(matrix.config.*, '-') }}
         path: |
@@ -161,7 +161,7 @@ jobs:
         echo 'image=image-${{ matrix.config.image }}-'$(date -u +%Y-%m-%d) >> $GITHUB_OUTPUT
     - name: Retrieve image cache
       id: image_cache
-      uses: actions/cache at v3
+      uses: actions/cache at v4
       with:
         path: ~/.image
         key: ${{ steps.get_keys.outputs.image }}
@@ -207,7 +207,7 @@ jobs:
 
     steps:
     - name: Checkout sources
-      uses: actions/checkout at v3
+      uses: actions/checkout at v4
     - name: Generate various keys
       id: get_keys
       run: |
@@ -215,7 +215,7 @@ jobs:
         echo 'logs=meson-logs-${{ join(matrix.config.*, '-') }}' | tr -d ':' >> $GITHUB_OUTPUT
     - name: Retrieve image cache
       id: image_cache
-      uses: actions/cache at v3
+      uses: actions/cache at v4
       with:
         path: ~/.image
         key: ${{ needs.prepare-container-images.outputs.image }}
@@ -225,7 +225,7 @@ jobs:
         echo 'Image ${{ matrix.config.image }} is not cached.'
         false
     - name: Retrieve ccache cache
-      uses: actions/cache at v3
+      uses: actions/cache at v4
       with:
         path: ~/.ccache
         key: ${{ steps.get_keys.outputs.ccache }}-${{ github.ref }}
@@ -262,7 +262,7 @@ jobs:
       run: docker kill dpdk
     - name: Upload logs on failure
       if: failure()
-      uses: actions/upload-artifact at v3
+      uses: actions/upload-artifact at v4
       with:
         name: ${{ steps.get_keys.outputs.logs }}
         path: |
-- 
2.39.2

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2024-03-07 01:05:36.601755705 +0000
+++ 0018-ci-update-versions-of-actions-in-GHA.patch	2024-03-07 01:05:34.694937810 +0000
@@ -1 +1 @@
-From 2ea7994ae39ff979b15899ec9eb9c68c944d4b11 Mon Sep 17 00:00:00 2001
+From 8661160ad34e2d8f91e80e0e1c6f52fb292acce6 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 2ea7994ae39ff979b15899ec9eb9c68c944d4b11 ]
+
@@ -12,2 +13,0 @@
-Cc: stable at dpdk.org
-
@@ -21 +21 @@
-index 421207c241..776fbf6f30 100644
+index 8bd8f57513..c08f6ae827 100644
@@ -24 +24 @@
-@@ -72,7 +72,7 @@ jobs:
+@@ -64,7 +64,7 @@ jobs:
@@ -33 +33 @@
-@@ -80,7 +80,7 @@ jobs:
+@@ -72,7 +72,7 @@ jobs:
@@ -35 +35 @@
-         echo 'abi=abi-${{ matrix.config.os }}-${{ matrix.config.compiler }}-${{ matrix.config.cross }}-${{ env.REF_GIT_TAG }}' >> $GITHUB_OUTPUT
+         echo 'abi=abi-${{ matrix.config.os }}-${{ matrix.config.compiler }}-${{ matrix.config.cross }}-${{ env.LIBABIGAIL_VERSION }}-${{ env.REF_GIT_TAG }}' >> $GITHUB_OUTPUT
@@ -42 +42 @@
-@@ -88,13 +88,13 @@ jobs:
+@@ -80,13 +80,13 @@ jobs:
@@ -58 +58 @@
-@@ -143,7 +143,7 @@ jobs:
+@@ -133,7 +133,7 @@ jobs:
@@ -67 +67 @@
-@@ -171,7 +171,7 @@ jobs:
+@@ -161,7 +161,7 @@ jobs:
@@ -76 +76 @@
-@@ -218,7 +218,7 @@ jobs:
+@@ -207,7 +207,7 @@ jobs:
@@ -85 +85 @@
-@@ -226,7 +226,7 @@ jobs:
+@@ -215,7 +215,7 @@ jobs:
@@ -94 +94 @@
-@@ -236,7 +236,7 @@ jobs:
+@@ -225,7 +225,7 @@ jobs:
@@ -103 +103 @@
-@@ -276,7 +276,7 @@ jobs:
+@@ -262,7 +262,7 @@ jobs:


More information about the stable mailing list