Change in openvpn[master]: GHA: Pin dependencies
A message that is not in the archive (sent off-list or not yet received): gerrit.1727349719000.I92dfbc3a0cc347a51892600bf02b501295ce612b@...2715...
Attention is currently required from: plaisthos.
Hello plaisthos,
I'd like you to do a code review.
Please visit
http://gerrit.openvpn.net/c/openvpn/+/773?usp=email
to review the following change.
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
---
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/1
.github/workflows/build.yaml +22 -22
@@ -13,7 +13,7 @@ - name: Install dependencies run: sudo apt update && sudo apt install -y uncrustify - name: Checkout OpenVPN - uses: actions/[email protected]... + uses: actions/[email protected]... # 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/[email protected]... + - uses: actions/[email protected]... # 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/[email protected]... + uses: actions/[email protected]... # v4 - name: Restore from cache and install vcpkg - uses: lukka/[email protected]... + uses: lukka/[email protected]... # v11.5 with: vcpkgGitCommitId: 8d3649ba34aab36914ddd897958599aa0a91b08e vcpkgJsonGlob: '**/mingw/vcpkg.json' - name: Run CMake with vcpkg.json manifest - uses: lukka/[email protected]... + uses: lukka/[email protected]... # v10.8 with: configurePreset: mingw-${{ matrix.arch }} buildPreset: mingw-${{ matrix.arch }} buildPresetAdditionalArgs: "['--config Debug']" - - uses: actions/[email protected]... + - uses: actions/[email protected]... # v4 with: name: openvpn-mingw-${{ matrix.arch }} path: |
@@ -72,7 +72,7 @@ ${{ github.workspace }}/out/build/mingw/${{ matrix.arch }}/Debug/*.dll !${{ github.workspace }}/out/build/mingw/${{ matrix.arch }}/Debug/test_*.exe - - uses: actions/[email protected]... + - uses: actions/[email protected]... # 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/[email protected]... + uses: actions/[email protected]... # v4 - name: Retrieve mingw unittest - uses: actions/[email protected]... + uses: actions/[email protected]... # 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-dev liblz4-dev libcap-ng-dev libnl-genl-3-dev linux-libc-dev man2html libcmocka-dev python3-docutils libtool automake autoconf ${SSLPKG} ${PKCS11PKG} - name: Checkout OpenVPN - uses: actions/[email protected]... + uses: actions/[email protected]... # 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-dev 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/[email protected]... + uses: actions/[email protected]... # v4 - name: autoconf run: autoreconf -fvi - name: configure
@@ -256,7 +256,7 @@ - name: Install dependencies run: brew install [email protected]... [email protected]... lzo lz4 man2html cmocka libtool automake autoconf libressl - name: Checkout OpenVPN - uses: actions/[email protected]... + uses: actions/[email protected]... # v4 - name: autoconf run: autoreconf -fvi - name: configure
@@ -280,27 +280,27 @@ runs-on: windows-latest steps: - - uses: actions/[email protected]... - - uses: lukka/[email protected]... + - uses: actions/[email protected]... # v4 + - uses: lukka/[email protected]... # v3.30.3 - name: Install rst2html run: python -m pip install --upgrade pip docutils - name: Restore artifacts, or setup vcpkg (do not install any package) - uses: lukka/[email protected]... + uses: lukka/[email protected]... # v11.5 with: vcpkgGitCommitId: 8d3649ba34aab36914ddd897958599aa0a91b08e vcpkgJsonGlob: '**/windows/vcpkg.json' - name: Run CMake with vcpkg.json manifest (NO TESTS) - uses: lukka/[email protected]... + uses: lukka/[email protected]... # v10.8 if: ${{ matrix.arch == 'arm64' }} with: configurePreset: win-${{ matrix.arch }}-release buildPreset: win-${{ matrix.arch }}-release - name: Run CMake with vcpkg.json manifest - uses: lukka/[email protected]... + uses: lukka/[email protected]... # v10.8 if: ${{ matrix.arch != 'arm64' }} with: configurePreset: win-${{ matrix.arch }}-release
@@ -308,7 +308,7 @@ testPreset: win-${{ matrix.arch }}-release testPresetAdditionalArgs: "['--output-on-failure']" - - uses: actions/[email protected]... + - uses: actions/[email protected]... # 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-dev 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/[email protected]... + uses: actions/[email protected]... # v4 with: path: libressl # versioning=semver-coerced
@@ -369,7 +369,7 @@ - name: "ldconfig" run: sudo ldconfig - name: Checkout OpenVPN - uses: actions/[email protected]... + uses: actions/[email protected]... # 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-dev liblz4-dev linux-libc-dev man2html clang libcmocka-dev python3-docutils python3-jinja2 python3-jsonschema libtool automake autoconf pkg-config libcap-ng-dev libnl-genl-3-dev - name: "mbedtls: checkout" - uses: actions/[email protected]... + uses: actions/[email protected]... # v4 with: path: mbedtls submodules: true
@@ -424,7 +424,7 @@ run: sudo make install DESTDIR=/usr working-directory: mbedtls - name: Checkout OpenVPN - uses: actions/[email protected]... + uses: actions/[email protected]... # v4 - name: autoconf run: autoreconf -fvi - name: configure
.github/workflows/coverity-scan.yml +3 -3
@@ -13,7 +13,7 @@ steps: - name: Check submission cache id: check_submit - uses: actions/cache/[email protected]... + uses: actions/cache/[email protected]... # v4 with: path: | cov-int
@@ -25,7 +25,7 @@ - name: Checkout OpenVPN if: steps.check_submit.outputs.cache-hit != 'true' - uses: actions/[email protected]... + uses: actions/[email protected]... # v4 - name: Download Coverity Build Tool if: steps.check_submit.outputs.cache-hit != 'true'
@@ -65,7 +65,7 @@ - name: Cache submission if: steps.check_submit.outputs.cache-hit != 'true' - uses: actions/cache/[email protected]... + uses: actions/cache/[email protected]... # v4 with: path: | cov-int
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/773?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I92dfbc3a0cc347a51892600bf02b501295ce612b
Gerrit-Change-Number: 773
Gerrit-PatchSet: 1
Gerrit-Owner: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-MessageType: newchange
Attention is currently required from: flichtenheld, plaisthos.
uddr has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/773?usp=email )
Change subject: GHA: Pin dependencies
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/773?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I92dfbc3a0cc347a51892600bf02b501295ce612b
Gerrit-Change-Number: 773
Gerrit-PatchSet: 1
Gerrit-Owner: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: uddr <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: flichtenheld <[email protected]...>
Gerrit-Comment-Date: Thu, 26 Sep 2024 11:47:49 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
PATCH 1/1 GHA: Pin dependencies
In reply to a message not in the archiveDone 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
---
This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master.
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/773
This mail reflects revision 1 of this Change.
Acked-by according to Gerrit (reflected above):
Yuriy Darnobyt <[email protected]...>
.github/workflows/build.yaml +22 -22
@@ -13,7 +13,7 @@ - name: Install dependencies run: sudo apt update && sudo apt install -y uncrustify - name: Checkout OpenVPN - uses: actions/[email protected]... + uses: actions/[email protected]... # 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/[email protected]... + - uses: actions/[email protected]... # 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/[email protected]... + uses: actions/[email protected]... # v4 - name: Restore from cache and install vcpkg - uses: lukka/[email protected]... + uses: lukka/[email protected]... # v11.5 with: vcpkgGitCommitId: 8d3649ba34aab36914ddd897958599aa0a91b08e vcpkgJsonGlob: '**/mingw/vcpkg.json' - name: Run CMake with vcpkg.json manifest - uses: lukka/[email protected]... + uses: lukka/[email protected]... # v10.8 with: configurePreset: mingw-${{ matrix.arch }} buildPreset: mingw-${{ matrix.arch }} buildPresetAdditionalArgs: "['--config Debug']" - - uses: actions/[email protected]... + - uses: actions/[email protected]... # v4 with: name: openvpn-mingw-${{ matrix.arch }} path: |
@@ -72,7 +72,7 @@ ${{ github.workspace }}/out/build/mingw/${{ matrix.arch }}/Debug/*.dll !${{ github.workspace }}/out/build/mingw/${{ matrix.arch }}/Debug/test_*.exe - - uses: actions/[email protected]... + - uses: actions/[email protected]... # 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/[email protected]... + uses: actions/[email protected]... # v4 - name: Retrieve mingw unittest - uses: actions/[email protected]... + uses: actions/[email protected]... # 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-dev liblz4-dev libcap-ng-dev libnl-genl-3-dev linux-libc-dev man2html libcmocka-dev python3-docutils libtool automake autoconf ${SSLPKG} ${PKCS11PKG} - name: Checkout OpenVPN - uses: actions/[email protected]... + uses: actions/[email protected]... # 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-dev 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/[email protected]... + uses: actions/[email protected]... # v4 - name: autoconf run: autoreconf -fvi - name: configure
@@ -256,7 +256,7 @@ - name: Install dependencies run: brew install [email protected]... [email protected]... lzo lz4 man2html cmocka libtool automake autoconf libressl - name: Checkout OpenVPN - uses: actions/[email protected]... + uses: actions/[email protected]... # v4 - name: autoconf run: autoreconf -fvi - name: configure
@@ -280,27 +280,27 @@ runs-on: windows-latest steps: - - uses: actions/[email protected]... - - uses: lukka/[email protected]... + - uses: actions/[email protected]... # v4 + - uses: lukka/[email protected]... # v3.30.3 - name: Install rst2html run: python -m pip install --upgrade pip docutils - name: Restore artifacts, or setup vcpkg (do not install any package) - uses: lukka/[email protected]... + uses: lukka/[email protected]... # v11.5 with: vcpkgGitCommitId: 8d3649ba34aab36914ddd897958599aa0a91b08e vcpkgJsonGlob: '**/windows/vcpkg.json' - name: Run CMake with vcpkg.json manifest (NO TESTS) - uses: lukka/[email protected]... + uses: lukka/[email protected]... # v10.8 if: ${{ matrix.arch == 'arm64' }} with: configurePreset: win-${{ matrix.arch }}-release buildPreset: win-${{ matrix.arch }}-release - name: Run CMake with vcpkg.json manifest - uses: lukka/[email protected]... + uses: lukka/[email protected]... # v10.8 if: ${{ matrix.arch != 'arm64' }} with: configurePreset: win-${{ matrix.arch }}-release
@@ -308,7 +308,7 @@ testPreset: win-${{ matrix.arch }}-release testPresetAdditionalArgs: "['--output-on-failure']" - - uses: actions/[email protected]... + - uses: actions/[email protected]... # 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-dev 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/[email protected]... + uses: actions/[email protected]... # v4 with: path: libressl # versioning=semver-coerced
@@ -369,7 +369,7 @@ - name: "ldconfig" run: sudo ldconfig - name: Checkout OpenVPN - uses: actions/[email protected]... + uses: actions/[email protected]... # 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-dev liblz4-dev linux-libc-dev man2html clang libcmocka-dev python3-docutils python3-jinja2 python3-jsonschema libtool automake autoconf pkg-config libcap-ng-dev libnl-genl-3-dev - name: "mbedtls: checkout" - uses: actions/[email protected]... + uses: actions/[email protected]... # v4 with: path: mbedtls submodules: true
@@ -424,7 +424,7 @@ run: sudo make install DESTDIR=/usr working-directory: mbedtls - name: Checkout OpenVPN - uses: actions/[email protected]... + uses: actions/[email protected]... # v4 - name: autoconf run: autoreconf -fvi - name: configure
.github/workflows/coverity-scan.yml +3 -3
@@ -13,7 +13,7 @@ steps: - name: Check submission cache id: check_submit - uses: actions/cache/[email protected]... + uses: actions/cache/[email protected]... # v4 with: path: | cov-int
@@ -25,7 +25,7 @@ - name: Checkout OpenVPN if: steps.check_submit.outputs.cache-hit != 'true' - uses: actions/[email protected]... + uses: actions/[email protected]... # v4 - name: Download Coverity Build Tool if: steps.check_submit.outputs.cache-hit != 'true'
@@ -65,7 +65,7 @@ - name: Cache submission if: steps.check_submit.outputs.cache-hit != 'true' - uses: actions/cache/[email protected]... + uses: actions/cache/[email protected]... # v4 with: path: | cov-int
[Openvpn-devel] [PATCH applied] Re: GHA: Pin dependencies
Not tested further... Frank and Yuriy understand what this about (and no OpenVPN code touched)
Your patch has been applied to the master branch.
commit 2ad9325d1bbd980dffe1f8c9e7b79768e75bf7fc
Author: Frank Lichtenheld Date: Fri Sep 27 11:32:05 2024 +0200
GHA: Pin dependencies
Signed-off-by: Frank Lichtenheld <[email protected]...>
Acked-by: Yuriy Darnobyt <[email protected]...>
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg29461.html
Signed-off-by: Gert Doering <[email protected]...>--
kind regards,
Gert Doering
cron2 has uploaded a new patch set (#2) to the change originally created by flichtenheld. ( http://gerrit.openvpn.net/c/openvpn/+/773?usp=email )
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
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg29461.html
---
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
.github/workflows/build.yaml +22 -22
@@ -13,7 +13,7 @@ - name: Install dependencies run: sudo apt update && sudo apt install -y uncrustify - name: Checkout OpenVPN - uses: actions/[email protected]... + uses: actions/[email protected]... # 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/[email protected]... + - uses: actions/[email protected]... # 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/[email protected]... + uses: actions/[email protected]... # v4 - name: Restore from cache and install vcpkg - uses: lukka/[email protected]... + uses: lukka/[email protected]... # v11.5 with: vcpkgGitCommitId: 8d3649ba34aab36914ddd897958599aa0a91b08e vcpkgJsonGlob: '**/mingw/vcpkg.json' - name: Run CMake with vcpkg.json manifest - uses: lukka/[email protected]... + uses: lukka/[email protected]... # v10.8 with: configurePreset: mingw-${{ matrix.arch }} buildPreset: mingw-${{ matrix.arch }} buildPresetAdditionalArgs: "['--config Debug']" - - uses: actions/[email protected]... + - uses: actions/[email protected]... # v4 with: name: openvpn-mingw-${{ matrix.arch }} path: |
@@ -72,7 +72,7 @@ ${{ github.workspace }}/out/build/mingw/${{ matrix.arch }}/Debug/*.dll !${{ github.workspace }}/out/build/mingw/${{ matrix.arch }}/Debug/test_*.exe - - uses: actions/[email protected]... + - uses: actions/[email protected]... # 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/[email protected]... + uses: actions/[email protected]... # v4 - name: Retrieve mingw unittest - uses: actions/[email protected]... + uses: actions/[email protected]... # 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-dev liblz4-dev libcap-ng-dev libnl-genl-3-dev linux-libc-dev man2html libcmocka-dev python3-docutils libtool automake autoconf ${SSLPKG} ${PKCS11PKG} - name: Checkout OpenVPN - uses: actions/[email protected]... + uses: actions/[email protected]... # 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-dev 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/[email protected]... + uses: actions/[email protected]... # v4 - name: autoconf run: autoreconf -fvi - name: configure
@@ -256,7 +256,7 @@ - name: Install dependencies run: brew install [email protected]... [email protected]... lzo lz4 man2html cmocka libtool automake autoconf libressl - name: Checkout OpenVPN - uses: actions/[email protected]... + uses: actions/[email protected]... # v4 - name: autoconf run: autoreconf -fvi - name: configure
@@ -280,27 +280,27 @@ runs-on: windows-latest steps: - - uses: actions/[email protected]... - - uses: lukka/[email protected]... + - uses: actions/[email protected]... # v4 + - uses: lukka/[email protected]... # v3.30.3 - name: Install rst2html run: python -m pip install --upgrade pip docutils - name: Restore artifacts, or setup vcpkg (do not install any package) - uses: lukka/[email protected]... + uses: lukka/[email protected]... # v11.5 with: vcpkgGitCommitId: 8d3649ba34aab36914ddd897958599aa0a91b08e vcpkgJsonGlob: '**/windows/vcpkg.json' - name: Run CMake with vcpkg.json manifest (NO TESTS) - uses: lukka/[email protected]... + uses: lukka/[email protected]... # v10.8 if: ${{ matrix.arch == 'arm64' }} with: configurePreset: win-${{ matrix.arch }}-release buildPreset: win-${{ matrix.arch }}-release - name: Run CMake with vcpkg.json manifest - uses: lukka/[email protected]... + uses: lukka/[email protected]... # v10.8 if: ${{ matrix.arch != 'arm64' }} with: configurePreset: win-${{ matrix.arch }}-release
@@ -308,7 +308,7 @@ testPreset: win-${{ matrix.arch }}-release testPresetAdditionalArgs: "['--output-on-failure']" - - uses: actions/[email protected]... + - uses: actions/[email protected]... # 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-dev 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/[email protected]... + uses: actions/[email protected]... # v4 with: path: libressl # versioning=semver-coerced
@@ -369,7 +369,7 @@ - name: "ldconfig" run: sudo ldconfig - name: Checkout OpenVPN - uses: actions/[email protected]... + uses: actions/[email protected]... # 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-dev liblz4-dev linux-libc-dev man2html clang libcmocka-dev python3-docutils python3-jinja2 python3-jsonschema libtool automake autoconf pkg-config libcap-ng-dev libnl-genl-3-dev - name: "mbedtls: checkout" - uses: actions/[email protected]... + uses: actions/[email protected]... # v4 with: path: mbedtls submodules: true
@@ -424,7 +424,7 @@ run: sudo make install DESTDIR=/usr working-directory: mbedtls - name: Checkout OpenVPN - uses: actions/[email protected]... + uses: actions/[email protected]... # v4 - name: autoconf run: autoreconf -fvi - name: configure
.github/workflows/coverity-scan.yml +3 -3
@@ -13,7 +13,7 @@ steps: - name: Check submission cache id: check_submit - uses: actions/cache/[email protected]... + uses: actions/cache/[email protected]... # v4 with: path: | cov-int
@@ -25,7 +25,7 @@ - name: Checkout OpenVPN if: steps.check_submit.outputs.cache-hit != 'true' - uses: actions/[email protected]... + uses: actions/[email protected]... # v4 - name: Download Coverity Build Tool if: steps.check_submit.outputs.cache-hit != 'true'
@@ -65,7 +65,7 @@ - name: Cache submission if: steps.check_submit.outputs.cache-hit != 'true' - uses: actions/cache/[email protected]... + uses: actions/cache/[email protected]... # v4 with: path: | cov-int
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/773?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I92dfbc3a0cc347a51892600bf02b501295ce612b
Gerrit-Change-Number: 773
Gerrit-PatchSet: 2
Gerrit-Owner: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: uddr <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-MessageType: newpatchset
cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/773?usp=email )
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
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg29461.html
---
M .github/workflows/build.yaml
M .github/workflows/coverity-scan.yml
2 files changed, 25 insertions(+), 25 deletions(-)
.github/workflows/build.yaml +22 -22
@@ -13,7 +13,7 @@ - name: Install dependencies run: sudo apt update && sudo apt install -y uncrustify - name: Checkout OpenVPN - uses: actions/[email protected]... + uses: actions/[email protected]... # 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/[email protected]... + - uses: actions/[email protected]... # 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/[email protected]... + uses: actions/[email protected]... # v4 - name: Restore from cache and install vcpkg - uses: lukka/[email protected]... + uses: lukka/[email protected]... # v11.5 with: vcpkgGitCommitId: 8d3649ba34aab36914ddd897958599aa0a91b08e vcpkgJsonGlob: '**/mingw/vcpkg.json' - name: Run CMake with vcpkg.json manifest - uses: lukka/[email protected]... + uses: lukka/[email protected]... # v10.8 with: configurePreset: mingw-${{ matrix.arch }} buildPreset: mingw-${{ matrix.arch }} buildPresetAdditionalArgs: "['--config Debug']" - - uses: actions/[email protected]... + - uses: actions/[email protected]... # v4 with: name: openvpn-mingw-${{ matrix.arch }} path: |
@@ -72,7 +72,7 @@ ${{ github.workspace }}/out/build/mingw/${{ matrix.arch }}/Debug/*.dll !${{ github.workspace }}/out/build/mingw/${{ matrix.arch }}/Debug/test_*.exe - - uses: actions/[email protected]... + - uses: actions/[email protected]... # 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/[email protected]... + uses: actions/[email protected]... # v4 - name: Retrieve mingw unittest - uses: actions/[email protected]... + uses: actions/[email protected]... # 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-dev liblz4-dev libcap-ng-dev libnl-genl-3-dev linux-libc-dev man2html libcmocka-dev python3-docutils libtool automake autoconf ${SSLPKG} ${PKCS11PKG} - name: Checkout OpenVPN - uses: actions/[email protected]... + uses: actions/[email protected]... # 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-dev 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/[email protected]... + uses: actions/[email protected]... # v4 - name: autoconf run: autoreconf -fvi - name: configure
@@ -256,7 +256,7 @@ - name: Install dependencies run: brew install [email protected]... [email protected]... lzo lz4 man2html cmocka libtool automake autoconf libressl - name: Checkout OpenVPN - uses: actions/[email protected]... + uses: actions/[email protected]... # v4 - name: autoconf run: autoreconf -fvi - name: configure
@@ -280,27 +280,27 @@ runs-on: windows-latest steps: - - uses: actions/[email protected]... - - uses: lukka/[email protected]... + - uses: actions/[email protected]... # v4 + - uses: lukka/[email protected]... # v3.30.3 - name: Install rst2html run: python -m pip install --upgrade pip docutils - name: Restore artifacts, or setup vcpkg (do not install any package) - uses: lukka/[email protected]... + uses: lukka/[email protected]... # v11.5 with: vcpkgGitCommitId: 8d3649ba34aab36914ddd897958599aa0a91b08e vcpkgJsonGlob: '**/windows/vcpkg.json' - name: Run CMake with vcpkg.json manifest (NO TESTS) - uses: lukka/[email protected]... + uses: lukka/[email protected]... # v10.8 if: ${{ matrix.arch == 'arm64' }} with: configurePreset: win-${{ matrix.arch }}-release buildPreset: win-${{ matrix.arch }}-release - name: Run CMake with vcpkg.json manifest - uses: lukka/[email protected]... + uses: lukka/[email protected]... # v10.8 if: ${{ matrix.arch != 'arm64' }} with: configurePreset: win-${{ matrix.arch }}-release
@@ -308,7 +308,7 @@ testPreset: win-${{ matrix.arch }}-release testPresetAdditionalArgs: "['--output-on-failure']" - - uses: actions/[email protected]... + - uses: actions/[email protected]... # 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-dev 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/[email protected]... + uses: actions/[email protected]... # v4 with: path: libressl # versioning=semver-coerced
@@ -369,7 +369,7 @@ - name: "ldconfig" run: sudo ldconfig - name: Checkout OpenVPN - uses: actions/[email protected]... + uses: actions/[email protected]... # 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-dev liblz4-dev linux-libc-dev man2html clang libcmocka-dev python3-docutils python3-jinja2 python3-jsonschema libtool automake autoconf pkg-config libcap-ng-dev libnl-genl-3-dev - name: "mbedtls: checkout" - uses: actions/[email protected]... + uses: actions/[email protected]... # v4 with: path: mbedtls submodules: true
@@ -424,7 +424,7 @@ run: sudo make install DESTDIR=/usr working-directory: mbedtls - name: Checkout OpenVPN - uses: actions/[email protected]... + uses: actions/[email protected]... # v4 - name: autoconf run: autoreconf -fvi - name: configure
.github/workflows/coverity-scan.yml +3 -3
@@ -13,7 +13,7 @@ steps: - name: Check submission cache id: check_submit - uses: actions/cache/[email protected]... + uses: actions/cache/[email protected]... # v4 with: path: | cov-int
@@ -25,7 +25,7 @@ - name: Checkout OpenVPN if: steps.check_submit.outputs.cache-hit != 'true' - uses: actions/[email protected]... + uses: actions/[email protected]... # v4 - name: Download Coverity Build Tool if: steps.check_submit.outputs.cache-hit != 'true'
@@ -65,7 +65,7 @@ - name: Cache submission if: steps.check_submit.outputs.cache-hit != 'true' - uses: actions/cache/[email protected]... + uses: actions/cache/[email protected]... # v4 with: path: | cov-int
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/773?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I92dfbc3a0cc347a51892600bf02b501295ce612b
Gerrit-Change-Number: 773
Gerrit-PatchSet: 2
Gerrit-Owner: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: uddr <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-MessageType: merged