From: "flichtenheld (Code Review)" Date: Thu, 8 Aug 2024 21:09:34 +0000 References: Reply-To: frank@...2641..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net Message-ID: <881a0b93a6a79409f433b67f5d958e78ea7a4fc5-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="h3wLmo8toOk="; charset=UTF-8 Subject: [Openvpn-devel] [M] Change in openvpn[master]: GHA: Configure Renovate List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: plaisthos Cc: openvpn-devel --h3wLmo8toOk= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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/+/722?usp=3Demail to review the following change. Change subject: GHA: Configure Renovate ...................................................................... GHA: Configure Renovate Maintain GitHub actions and other version references in GHA. Switch some GHA references from branch versions to tag version so the pinning works correctly. Change-Id: I06253be7ed783e3bf30e7df1d6da8ca888016711 Signed-off-by: Frank Lichtenheld --- M .github/workflows/build.yaml A renovate.json 2 files changed, 48 insertions(+), 6 deletions(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/22/722/1 diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 6e361d5..6207c95 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -52,13 +52,13 @@ uses: actions/checkout@...2691... - name: Restore from cache and install vcpkg - uses: lukka/run-vcpkg@...2735... + uses: lukka/run-vcpkg@...2807... with: vcpkgGitCommitId: 8d3649ba34aab36914ddd897958599aa0a91b08e vcpkgJsonGlob: '**/mingw/vcpkg.json' - name: Run CMake with vcpkg.json manifest - uses: lukka/run-cmake@...2637... + uses: lukka/run-cmake@...2808... with: configurePreset: mingw-${{ matrix.arch }} buildPreset: mingw-${{ matrix.arch }} @@ -274,26 +274,26 @@ runs-on: windows-latest steps: - uses: actions/checkout@...2691... - - uses: lukka/get-cmake@...2729... + - uses: lukka/get-cmake@...2809... - 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@...2735... + uses: lukka/run-vcpkg@...2807... with: vcpkgGitCommitId: 8d3649ba34aab36914ddd897958599aa0a91b08e vcpkgJsonGlob: '**/windows/vcpkg.json' - name: Run CMake with vcpkg.json manifest (NO TESTS) - uses: lukka/run-cmake@...2637... + uses: lukka/run-cmake@...2808... 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@...2637... + uses: lukka/run-cmake@...2808... if: ${{ matrix.arch !=3D 'arm64' }} with: configurePreset: win-${{ matrix.arch }}-release @@ -344,6 +344,7 @@ uses: actions/checkout@...2691... with: path: libressl + # versioning=3Dsemver-coerced repository: libressl/portable ref: v3.8.3 - name: "libressl: autogen.sh" @@ -403,6 +404,7 @@ uses: actions/checkout@...2691... with: path: mbedtls + # versioning=3Dsemver-coerced repository: Mbed-TLS/mbedtls ref: v3.5.2 - name: "mbedtls: make no_test" diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..1e69955 --- /dev/null +++ b/renovate.json @@ -0,0 +1,40 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "packageRules": [ + { + "matchDepTypes": [ + "action" + ], + "groupName": "github actions", + "pinDigests": true, + "extends": [ + "schedule:monthly" + ] + }, + { + "matchDepNames": [ + "vcpkg" + ], + "extends": [ + "schedule:monthly" + ] + } + ], + "customManagers": [ + { + "customType": "regex", + "fileMatch": ["^\\.github/workflows/.+\\.ya?ml$"], + "matchStrings": ["vcpkgGitCommitId:\\s*(?.*?)\\= n"], + "currentValueTemplate": "master", + "depNameTemplate": "vcpkg", + "packageNameTemplate": "https://github.com/microsoft/vcpkg", + "datasourceTemplate": "git-refs" + }, + { + "customType": "regex", + "fileMatch": ["^\\.github/workflows/.+\\.ya?ml$"], + "matchStrings": ["versioning=3D(?.*?)\\n\\s*reposi= tory:\\s*(?.*?)\\n\\s*ref:\\s*(?.*?)\\n"], + "datasourceTemplate": "github-tags" + } + ] +} -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/722?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: I06253be7ed783e3bf30e7df1d6da8ca888016711 Gerrit-Change-Number: 722 Gerrit-PatchSet: 1 Gerrit-Owner: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-MessageType: newchange --h3wLmo8toOk= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: plaisthos.

flichtenheld would like plaisthos to review this change.

Vi= ew Change

GHA: Configure Renovate

Maintain GitHub actions and ot= her version references
in GHA.

Switch some GHA references from br= anch versions to
tag version so the pinning works correctly.

Chan= ge-Id: I06253be7ed783e3bf30e7df1d6da8ca888016711
Signed-off-by: Frank Li= chtenheld <frank@...2641...>
---
M .github/workflows/build.yaml=
A renovate.json
2 files changed, 48 insertions(+), 6 deletions(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/22/722=
/1
diff --git a/.github/workflows/build.yaml b/.github/workflows/bu=
ild.yaml
index 6e361d5..6207c95 100644
--- = a/.github/workflows/build.yaml
+++ b/.github/workflows/buil= d.yaml
@@ -52,13 +52,13 @@
uses: a= ctions/checkout@...2691...

- name:= Restore from cache and install vcpkg
- uses: lukka/run-vcpkg@...2735...
+ uses: lukka/run-vcpkg@...2810...= ..
with:
vcpkgGitCommit= Id: 8d3649ba34aab36914ddd897958599aa0a91b08e
vcp= kgJsonGlob: '**/mingw/vcpkg.json'

- name: Run CMake with vcpkg.json manifest
- uses: lukka/run-cmake@...2637...

+ uses: lukka/run-c= make@...2808...
with:
c= onfigurePreset: mingw-${{ matrix.arch }}
buildPr= eset: mingw-${{ matrix.arch }}
@@ -274,26 +274,26 @@=
runs-on: windows-latest
steps:
- uses: actions/checkout@...2691...
- - uses: lukka/get-cmake@...2729...
+ - uses: lukka/g= et-cmake@...2809...

- name: Instal= l rst2html
run: python -m pip install --upgrade pi= p docutils

- name: Restore artifac= ts, or setup vcpkg (do not install any package)
- uses: lukka/run-vcpkg@...2735...+ uses: lukka/run-vcpk= g@...2807...
with:
vcpk= gGitCommitId: 8d3649ba34aab36914ddd897958599aa0a91b08e
= vcpkgJsonGlob: '**/windows/vcpkg.json'

- name: Run CMake with vcpkg.json manifest (NO TESTS)
- uses: lukka/run= -cmake@...2637...
+ = uses: lukka/run-cmake@...2808...
if: ${{ mat= rix.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-cm= ake@...2637...
+ = uses: lukka/run-cmake@...2808...
if: ${{ matrix= .arch !=3D 'arm64' }}
with:
configurePreset: win-${{ matrix.arch }}-release

@@ -344,6 +344,7 @@

uses: actions/checkout@...2375...= 91...
with:
path: libre= ssl
+ # vers= ioning=3Dsemver-coerced
repository: libressl/por= table
ref: v3.8.3
- name:= "libressl: autogen.sh"
@@ -403,6 +404,7 @@
uses: actions/checkout@...2691...
= with:
path: mbedtls
+ # versioning=3Dsemver-coerced
repository: Mbed-TLS/mbedtls
= ref: v3.5.2
- name: "mbedtls: make no_test&= quot;
diff --git a/renovate.json b/renovate.json
= new file mode 100644
index 0000000..1e69955--- /dev/null
+++ b/renovate.json
@@= -0,0 +1,40 @@
+{
+ "$schema"= : "https://docs.renovatebot.com/renovate-schema.json",
= + "packageRules": = [
+ {+ "matchDepTy= pes": [
+ = "action"
+ ],
+ "pinDigests&= quot;: true,
+ = "extends": [
+ "schedule:monthly"
+ ]
+ },
+ {
+ "matchDepNames": [
+ "vcpkg"
<= span style=3D"color: hsl(120, 100%, 40%);">+ ],

+ "extends": [
+ "= ;schedule:monthly"
+ ]
+ = }
+ ],
+ "customManagers&= quot;: [
+ {
+ "cus= tomType": "regex",
+ "fileMatch": ["^\\.github/workflow= s/.+\\.ya?ml$"],
+ "matchStrings": ["vcpkgGitCommitId:\\s*(?<c= urrentDigest>.*?)\\n"],
+ "currentValueTemplate": "master"= ;,
+ "= ;depNameTemplate": "vcpkg",
+ "packageNameTemplate": "h= ttps://github.com/microsoft/vcpkg",
+ "datasourceTemplate": "git-= refs"
+ }= ,
+ {+ "customType= ": "regex",
+ "fileMatch": ["^\\.github/workflows/.+\\.= ya?ml$"],
+ = "matchStrings": ["versioning=3D(?<versioning>.*= ?)\\n\\s*repository:\\s*(?<depName>.*?)\\n\\s*ref:\\s*(?<currentVa= lue>.*?)\\n"],
+ }
+ ]

+}

To view, v= isit chan= ge 722. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I06253be7ed783e3bf30e7df1d6d= a8ca888016711
Gerrit-Change-Number: 722
Gerrit-PatchSet: 1
Gerrit-Owner: flichtenheld <frank@...2723...= .>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-MessageType: newchange
--h3wLmo8toOk=--