From: "cron2 (Code Review)" Date: Fri, 27 Sep 2024 09:58:42 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641..., yura.uddr@...277... Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="Vou+O8M6Uus="; charset=UTF-8 Subject: [Openvpn-devel] [M] Change in openvpn[master]: GHA: Pin dependencies List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: flichtenheld , plaisthos , uddr Cc: openvpn-devel --Vou+O8M6Uus= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable cron2 has uploaded a new patch set (#2) to the change originally created by= flichtenheld. ( http://gerrit.openvpn.net/c/openvpn/+/773?usp=3Demail ) The following approvals got outdated and were removed: Code-Review+2 by uddr Change subject: GHA: Pin dependencies ...................................................................... GHA: Pin dependencies Done by renovate. Updates will also be handled by renovate. This makes the builds slightly more deterministic and removes some potential supply-chain attack vectors. GitHub: #610 Change-Id: I92dfbc3a0cc347a51892600bf02b501295ce612b Signed-off-by: Frank Lichtenheld Acked-by: Yuriy Darnobyt Message-Id: <20240927093205.22981-1-frank@...2641...> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg29= 461.html Signed-off-by: Gert Doering --- M .github/workflows/build.yaml M .github/workflows/coverity-scan.yml 2 files changed, 25 insertions(+), 25 deletions(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/73/773/2 diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 361d457..1bc250d 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -13,7 +13,7 @@ - name: Install dependencies run: sudo apt update && sudo apt install -y uncrustify - name: Checkout OpenVPN - uses: actions/checkout@...2691... + uses: actions/checkout@...2813... # v4 with: path: openvpn - name: Show uncrustify version @@ -27,7 +27,7 @@ - name: Show changes on standard output run: git diff working-directory: openvpn - - uses: actions/upload-artifact@...2691... + - uses: actions/upload-artifact@...2814... # v4 with: name: uncrustify-changes.patch path: 'openvpn/uncrustify-changes.patch' @@ -49,22 +49,22 @@ - name: Install dependencies run: sudo apt update && sudo apt install -y mingw-w64 unzip cmake = ninja-build build-essential wget python3-docutils man2html-base - name: Checkout OpenVPN - uses: actions/checkout@...2691... + uses: actions/checkout@...2813... # v4 - name: Restore from cache and install vcpkg - uses: lukka/run-vcpkg@...2807... + uses: lukka/run-vcpkg@...2815... # v11.5 with: vcpkgGitCommitId: 8d3649ba34aab36914ddd897958599aa0a91b08e vcpkgJsonGlob: '**/mingw/vcpkg.json' - name: Run CMake with vcpkg.json manifest - uses: lukka/run-cmake@...2808... + uses: lukka/run-cmake@...2816... # v10.8 with: configurePreset: mingw-${{ matrix.arch }} buildPreset: mingw-${{ matrix.arch }} buildPresetAdditionalArgs: "['--config Debug']" - - uses: actions/upload-artifact@...2691... + - uses: actions/upload-artifact@...2814... # v4 with: name: openvpn-mingw-${{ matrix.arch }} path: | @@ -72,7 +72,7 @@ ${{ github.workspace }}/out/build/mingw/${{ matrix.arch }}/Deb= ug/*.dll !${{ github.workspace }}/out/build/mingw/${{ matrix.arch }}/De= bug/test_*.exe - - uses: actions/upload-artifact@...2691... + - uses: actions/upload-artifact@...2814... # v4 with: name: openvpn-mingw-${{ matrix.arch }}-tests path: | @@ -91,9 +91,9 @@ name: "mingw unittest ${{ matrix.test }} - ${{ matrix.arch }} - OSSL" steps: - name: Checkout OpenVPN - uses: actions/checkout@...2691... + uses: actions/checkout@...2813... # v4 - name: Retrieve mingw unittest - uses: actions/download-artifact@...2691... + uses: actions/download-artifact@...2817... # v4 with: name: openvpn-mingw-${{ matrix.arch }}-tests path: unittests @@ -165,7 +165,7 @@ - name: Install dependencies run: sudo apt update && sudo apt install -y liblzo2-dev libpam0g-d= ev liblz4-dev libcap-ng-dev libnl-genl-3-dev linux-libc-dev man2html libcmo= cka-dev python3-docutils libtool automake autoconf ${SSLPKG} ${PKCS11PKG} - name: Checkout OpenVPN - uses: actions/checkout@...2691... + uses: actions/checkout@...2813... # v4 - name: autoconf run: autoreconf -fvi - name: configure @@ -195,7 +195,7 @@ - name: Install dependencies run: sudo apt update && sudo apt install -y liblzo2-dev libpam0g-d= ev liblz4-dev libcap-ng-dev libnl-genl-3-dev linux-libc-dev man2html clang = libcmocka-dev python3-docutils libtool automake autoconf libmbedtls-dev - name: Checkout OpenVPN - uses: actions/checkout@...2691... + uses: actions/checkout@...2813... # v4 - name: autoconf run: autoreconf -fvi - name: configure @@ -256,7 +256,7 @@ - name: Install dependencies run: brew install openssl@...2560... openssl@...1554... lzo lz4 ma= n2html cmocka libtool automake autoconf libressl - name: Checkout OpenVPN - uses: actions/checkout@...2691... + uses: actions/checkout@...2813... # v4 - name: autoconf run: autoreconf -fvi - name: configure @@ -280,27 +280,27 @@ runs-on: windows-latest steps: - - uses: actions/checkout@...2691... - - uses: lukka/get-cmake@...2809... + - uses: actions/checkout@...2813... # v4 + - uses: lukka/get-cmake@...2818... # v3.30.3 - name: Install rst2html run: python -m pip install --upgrade pip docutils - name: Restore artifacts, or setup vcpkg (do not install any packag= e) - uses: lukka/run-vcpkg@...2807... + uses: lukka/run-vcpkg@...2815... # v11.5 with: vcpkgGitCommitId: 8d3649ba34aab36914ddd897958599aa0a91b08e vcpkgJsonGlob: '**/windows/vcpkg.json' - name: Run CMake with vcpkg.json manifest (NO TESTS) - uses: lukka/run-cmake@...2808... + uses: lukka/run-cmake@...2816... # v10.8 if: ${{ matrix.arch =3D=3D 'arm64' }} with: configurePreset: win-${{ matrix.arch }}-release buildPreset: win-${{ matrix.arch }}-release - name: Run CMake with vcpkg.json manifest - uses: lukka/run-cmake@...2808... + uses: lukka/run-cmake@...2816... # v10.8 if: ${{ matrix.arch !=3D 'arm64' }} with: configurePreset: win-${{ matrix.arch }}-release @@ -308,7 +308,7 @@ testPreset: win-${{ matrix.arch }}-release testPresetAdditionalArgs: "['--output-on-failure']" - - uses: actions/upload-artifact@...2691... + - uses: actions/upload-artifact@...2814... # v4 with: name: openvpn-msvc-${{ matrix.arch }} path: | @@ -348,7 +348,7 @@ - name: Install dependencies run: sudo apt update && sudo apt install -y liblzo2-dev libpam0g-d= ev liblz4-dev linux-libc-dev man2html clang libcmocka-dev python3-docutils = libtool automake autoconf pkg-config libcap-ng-dev libnl-genl-3-dev - name: "libressl: checkout" - uses: actions/checkout@...2691... + uses: actions/checkout@...2813... # v4 with: path: libressl # versioning=3Dsemver-coerced @@ -369,7 +369,7 @@ - name: "ldconfig" run: sudo ldconfig - name: Checkout OpenVPN - uses: actions/checkout@...2691... + uses: actions/checkout@...2813... # v4 - name: autoconf run: autoreconf -fvi - name: configure @@ -410,7 +410,7 @@ - name: Install dependencies run: sudo apt update && sudo apt install -y liblzo2-dev libpam0g-d= ev liblz4-dev linux-libc-dev man2html clang libcmocka-dev python3-docutils = python3-jinja2 python3-jsonschema libtool automake autoconf pkg-config libc= ap-ng-dev libnl-genl-3-dev - name: "mbedtls: checkout" - uses: actions/checkout@...2691... + uses: actions/checkout@...2813... # v4 with: path: mbedtls submodules: true @@ -424,7 +424,7 @@ run: sudo make install DESTDIR=3D/usr working-directory: mbedtls - name: Checkout OpenVPN - uses: actions/checkout@...2691... + uses: actions/checkout@...2813... # v4 - name: autoconf run: autoreconf -fvi - name: configure diff --git a/.github/workflows/coverity-scan.yml b/.github/workflows/coveri= ty-scan.yml index 37b8102..16c979d 100644 --- a/.github/workflows/coverity-scan.yml +++ b/.github/workflows/coverity-scan.yml @@ -13,7 +13,7 @@ steps: - name: Check submission cache id: check_submit - uses: actions/cache/restore@...2691... + uses: actions/cache/restore@...2819... # v4 with: path: | cov-int @@ -25,7 +25,7 @@ - name: Checkout OpenVPN if: steps.check_submit.outputs.cache-hit !=3D 'true' - uses: actions/checkout@...2691... + uses: actions/checkout@...2813... # v4 - name: Download Coverity Build Tool if: steps.check_submit.outputs.cache-hit !=3D 'true' @@ -65,7 +65,7 @@ - name: Cache submission if: steps.check_submit.outputs.cache-hit !=3D 'true' - uses: actions/cache/save@...2691... + uses: actions/cache/save@...2819... # v4 with: path: | cov-int -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/773?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: I92dfbc3a0cc347a51892600bf02b501295ce612b Gerrit-Change-Number: 773 Gerrit-PatchSet: 2 Gerrit-Owner: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-Reviewer: uddr Gerrit-CC: openvpn-devel Gerrit-MessageType: newpatchset --Vou+O8M6Uus= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

cron2 uploaded patch set #2 to the change originally cr= eated by flichtenheld.

View Change

The following approvals got outda= ted and were removed: Code-Review+2 by uddr

GHA: Pin dependencies

Done by renovate. Update= s will also be handled by
renovate.

This makes the builds slightl= y more deterministic and
removes some potential supply-chain attack vect= ors.

GitHub: #610

Change-Id: I92dfbc3a0cc347a51892600bf02b501= 295ce612b
Signed-off-by: Frank Lichtenheld <frank@...2641...>
A= cked-by: Yuriy Darnobyt <yura.uddr@...277...>
Message-Id: <2024= 0927093205.22981-1-frank@...2641...>
URL: https://www.mail-archive.co= m/openvpn-devel@lists.sourceforge.net/msg29461.html
Signed-off-by: Gert = Doering <gert@...1296...>
---
M .github/workflows/build.yamlM .github/workflows/coverity-scan.yml
2 files changed, 25 insertions(+)= , 25 deletions(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn=
 refs/changes/73/773/2
diff --git a/.github/workflows/build.yaml b/=
.github/workflows/build.yaml
index 361d457..1bc250d 100644<= /span>
--- a/.github/workflows/build.yaml
+++ b/.g= ithub/workflows/build.yaml
@@ -13,7 +13,7 @@
- name: Install dependencies

run: sudo ap= t update && sudo apt install -y uncrustify
-= name: Checkout OpenVPN
- uses: actions/checkout@...2691...
+ uses: actions/checkout@...2813... # v4
with:
path: openvpn<= br> - name: Show uncrustify version
@@ -27,7 +2= 7,7 @@
- name: Show changes on standard output
run: git diff
working-director= y: openvpn
- - use= s: actions/upload-artifact@...2691...
+ - uses: actions/upload-artifact@...2814... # v4
with:
name: uncrustify-cha= nges.patch
path: 'openvpn/uncrustify-changes= .patch'
@@ -49,22 +49,22 @@
- na= me: Install dependencies
run: sudo apt update &= ;& sudo apt install -y mingw-w64 unzip cmake ninja-build build-essentia= l wget python3-docutils man2html-base
- name: Checko= ut OpenVPN
- use= s: actions/checkout@...2691...
+ uses: actions/checkout@...2813... # v4
=
- name: Restore from cache and install vcpkg=
- uses: lukka/run-vcpk= g@...2807...
+ = uses: lukka/run-vcpkg@...2815... # v11.5
with:
vcpkgGitCommitId: 8d3649ba34aab36914ddd897958599aa= 0a91b08e
vcpkgJsonGlob: '**/mingw/vcpkg.json= '

- name: Run CMake with vcpkg= .json manifest
- = uses: lukka/run-cmake@...2808...
+ uses: lukka/run-cmake@...2816... # v10.8
with:

configurePreset: mingw-${{ ma= trix.arch }}
buildPreset: mingw-${{ matrix.arch = }}
buildPresetAdditionalArgs: "['--conf= ig Debug']"

- - uses: actions/upload-artifact@...2691...+ - uses: actions/upload-= artifact@...2814... # v4
with:
= name: openvpn-mingw-${{ matrix.arch }}
p= ath: |
@@ -72,7 +72,7 @@
${{ g= ithub.workspace }}/out/build/mingw/${{ matrix.arch }}/Debug/*.dll !${{ github.workspace }}/out/build/mingw/${{ matrix.arc= h }}/Debug/test_*.exe

- - uses: actions/upload-artifact@...2691...+ - uses: actions/upload= -artifact@...2814... # v4
with:
= name: openvpn-mingw-${{ matrix.arch }}-tests
= path: |
@@ -91,9 +91,9 @@
name: = "mingw unittest ${{ matrix.test }} - ${{ matrix.arch }} - OSSL"
steps:
- name: Checkout OpenVPN<= /span>
- uses: actions/= checkout@...2691...
+= uses: actions/checkout@...2813... # v4
- nam= e: Retrieve mingw unittest
- uses: actions/download-artifact@...2691...
+ uses: actions/download-artifact= @...2817... # v4
with:
= name: openvpn-mingw-${{ matrix.arch }}-tests
pat= h: unittests
@@ -165,7 +165,7 @@
- n= ame: Install dependencies
run: sudo apt update &am= p;& sudo apt install -y liblzo2-dev libpam0g-dev liblz4-dev libcap-ng-d= ev libnl-genl-3-dev linux-libc-dev man2html libcmocka-dev python3-docutils = libtool automake autoconf ${SSLPKG} ${PKCS11PKG}
- n= ame: Checkout OpenVPN
-= uses: actions/checkout@...2691...
+ uses: actions/checkout@...2813... # v4=
- name: autoconf
run: autoreconf = -fvi
- name: configure
@@ -195,7 +19= 5,7 @@
- name: Install dependencies
= run: sudo apt update && sudo apt install -y liblzo2-dev li= bpam0g-dev liblz4-dev libcap-ng-dev libnl-genl-3-dev linux-libc-dev man2htm= l clang libcmocka-dev python3-docutils libtool automake autoconf libmbedtls= -dev
- name: Checkout OpenVPN
- uses: actions/checkout@...2691...
+ uses: actions= /checkout@...2813... # v4
- name: autoconf run: autoreconf -fvi
- name: configu= re
@@ -256,7 +256,7 @@
- name: Insta= ll dependencies
run: brew install openssl@...2821...= .. openssl@...1554... lzo lz4 man2html cmocka libtool automake autoconf lib= ressl
- name: Checkout OpenVPN
- uses: actions/checkout@...2691...
+ uses: actions= /checkout@...2813... # v4
- name: autoconf run: autoreconf -fvi
- name: configu= re
@@ -280,27 +280,27 @@

= runs-on: windows-latest
steps:
- - uses: actions/checkout@...2375...= 91...

- - uses: lu= kka/get-cmake@...2809...
+ - uses: actions/checkout@...2813... # v4
+ - uses: lukka/get-cmake@...2818... = # v3.30.3

- name: Install rst2html=
run: python -m pip install --upgrade pip docutils=

- name: Restore artifacts, or set= up vcpkg (do not install any package)
- uses: lukka/run-vcpkg@...2807...
+ uses: lukka/run-vcpkg@...2822...= .. # v11.5
with:
vcpkgG= itCommitId: 8d3649ba34aab36914ddd897958599aa0a91b08e
= vcpkgJsonGlob: '**/windows/vcpkg.json'

- name: Run CMake with vcpkg.json manifest (NO TESTS)
- uses: lukka/run-c= make@...2808...
+ = uses: lukka/run-cmake@...2816... # v10.8
if: $= {{ matrix.arch =3D=3D 'arm64' }}
with:
configurePreset: win-${{ matrix.arch }}-release
buildPreset: win-${{ matrix.arch }}-release<= br>
- name: Run CMake with vcpkg.json manifes= t
- uses: lukka/= run-cmake@...2808...
= + uses: lukka/run-cmake@...2816... # v10.8
= if: ${{ matrix.arch !=3D 'arm64' }}
with:<= /span>
configurePreset: win-${{ matrix.arch }}-release<= /span>
@@ -308,7 +308,7 @@
testPreset: = win-${{ matrix.arch }}-release
testPresetAdditio= nalArgs: "['--output-on-failure']"

- - uses: actions/uplo= ad-artifact@...2691...
- uses: actions/checkout@...2691...<= /span>
+ uses: action= s/checkout@...2813... # v4
with:
= path: libressl
# versioning=3Dsemver-c= oerced
@@ -369,7 +369,7 @@
- name: &= quot;ldconfig"
run: sudo ldconfig
<= span> - name: Checkout OpenVPN

- uses: actions/checkout@...2691...
+ uses: actions/checkout@...2823...= ... # v4
- name: autoconf
r= un: autoreconf -fvi
- name: configure
@@ -410,7 +410,7 @@

- name: Install dependencies
run: sudo apt update && sudo apt install -y= liblzo2-dev libpam0g-dev liblz4-dev linux-libc-dev man2html clang libcmock= a-dev python3-docutils python3-jinja2 python3-jsonschema libtool automake a= utoconf pkg-config libcap-ng-dev libnl-genl-3-dev
- = name: "mbedtls: checkout"
- uses: actions/checkout@...2691...
+ uses: actions/checkout@...2820...= .. # v4
with:
path: mbe= dtls
submodules: true
@@ -424,7 = +424,7 @@
run: sudo make install DESTDIR=3D/usr
working-directory: mbedtls
- = name: Checkout OpenVPN
= - uses: actions/checkout@...2691...
+ uses: actions/checkout@...2813... # v4
- name: autoconf
run: autoreconf= -fvi
- name: configure
diff --git a= /.github/workflows/coverity-scan.yml b/.github/workflows/coverity-scan.yml<= /span>
index 37b8102..16c979d 100644
--- a/.github= /workflows/coverity-scan.yml
+++ b/.github/workflows/coveri= ty-scan.yml
@@ -13,7 +13,7 @@
steps:
- name: Check submission cache
= id: check_submit
- = uses: actions/cache/restore@...2691...
+ uses: actions/cache/restore@...2819... # v= 4
with:
path: |<= br> cov-int
@@ -25,7 +25,7 @@
<= span>

- name: Checkout OpenVPN
= if: steps.check_submit.outputs.cache-hit !=3D 'true'- uses: actions/checkout@= ...2691...
+ u= ses: actions/checkout@...2813... # v4

= - name: Download Coverity Build Tool
if: steps= .check_submit.outputs.cache-hit !=3D 'true'
@@ -65,= 7 +65,7 @@

- name: Cache submissio= n
if: steps.check_submit.outputs.cache-hit !=3D &#= 39;true'
- u= ses: actions/cache/save@...2691...
+ uses: actions/cache/save@...2819... # v4
<= span> with:

path: |
= cov-int

To view, visit change 773. = To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I92dfbc3a0cc347a51892600bf02= b501295ce612b
Gerrit-Change-Number: 773
Gerrit-PatchSet: 2
Gerrit-Owner: flichtenheld <frank@...2723...= .>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-Reviewer: uddr <yura.uddr@...277...&= gt;
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-MessageType: newpatchset
--Vou+O8M6Uus=--