From: "cron2 (Code Review)" Date: Sun, 8 Sep 2024 12:12:01 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641..., yura.uddr@...277... Message-ID: <71aa3bb9bd93de25e147291e1f9084e2154111c9-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="04G8DzIX7sA="; 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: flichtenheld Cc: uddr , plaisthos , openvpn-devel --04G8DzIX7sA= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/72= 2?usp=3Demail ) 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 Acked-by: Yuriy Darnobyt Message-Id: <20240906151243.69549-1-frank@...2641...> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg29= 087.html Signed-off-by: Gert Doering --- M .github/workflows/build.yaml A renovate.json 2 files changed, 48 insertions(+), 6 deletions(-) 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" + } + ] +} --=20 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: 2 Gerrit-Owner: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-Reviewer: uddr Gerrit-CC: openvpn-devel Gerrit-MessageType: merged --04G8DzIX7sA= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

cron2 submitted this change.

View Change

GHA: Configure Renovate

Maintain GitHub= actions and other version references
in GHA.

Switch some GHA ref= erences from branch versions to
tag version so the pinning works correct= ly.

Change-Id: I06253be7ed783e3bf30e7df1d6da8ca888016711
Signed-o= ff-by: Frank Lichtenheld <frank@...2641...>
Acked-by: Yuriy Darnob= yt <yura.uddr@...277...>
Message-Id: <20240906151243.69549-1-fr= ank@...2641...>
URL: https://www.mail-archive.com/openvpn-devel@...1697...= .sourceforge.net/msg29087.html
Signed-off-by: Gert Doering <gert@...1386...= 296...>
---
M .github/workflows/build.yaml
A renovate.json
2= files changed, 48 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml=

index 6e361d5..6207c95 100644
--- a/.githu= b/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -52,13 +52,13 @@
uses: actions/c= heckout@...2691...

- name: Restore= from cache and install vcpkg
- uses: lukka/run-vcpkg@...2735...
+ uses: lukka/run-vcpkg@...2807...
with:
vcpkgGitCommitId: 8d36= 49ba34aab36914ddd897958599aa0a91b08e
vcpkgJsonGl= ob: '**/mingw/vcpkg.json'

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

with:
configure= Preset: mingw-${{ matrix.arch }}
buildPreset: mi= ngw-${{ 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 rst2ht= ml
run: python -m pip install --upgrade pip docuti= ls

- name: Restore artifacts, or s= etup vcpkg (do not install any package)
- uses: lukka/run-vcpkg@...2735...
+ uses: lukka/run-vcpkg@...2811...= 7...
with:
vcpkgGitComm= itId: 8d3649ba34aab36914ddd897958599aa0a91b08e
v= cpkgJsonGlob: '**/windows/vcpkg.json'

<= span> - name: Run CMake with vcpkg.json manifest (NO TESTS)- uses: lukka/run-cmake@...220...= ..2637...
+ us= es: 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@...1665...= 637...
+ uses:= lukka/run-cmake@...2808...
if: ${{ matrix.arch != =3D 'arm64' }}
with:
= configurePreset: win-${{ matrix.arch }}-release
@@ -3= 44,6 +344,7 @@
uses: actions/checkout@...2691...
with:
path: libressl
+ # versioning= =3Dsemver-coerced
repository: libressl/portable<= /span>
ref: v3.8.3
- name: "= ;libressl: autogen.sh"
@@ -403,6 +404,7 @@
<= span> uses: actions/checkout@...2691...

wi= th:
path: mbedtls
+ # versioning=3Dsemver-coerced
= repository: Mbed-TLS/mbedtls
re= f: v3.5.2
- name: "mbedtls: make no_test"<= /span>
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": &quo= t;https://docs.renovatebot.com/renovate-schema.json",
+ "packageRules": [
+ {
+ "matchDepTypes&qu= ot;: [

+ = "action"
+ ],
+ = "groupName": "github actions",
+ "pinDigests":= true,

+ &= quot;extends": [
+ "schedule:monthly"
+ ]
+ },
+ {
+ "matchDepNames": [
+ "vcpkg"
+ ],
+ "extends": [=
+ "sche= dule:monthly"
+ = ]
+ = }
+ ],
= + "customManagers"= : [
+ {=
+ "customTy= pe": "regex",
+ "fileMatch": ["^\\.github/workflows/.+\= \.ya?ml$"],
+ = "matchStrings": ["vcpkgGitCommitId:\\s*(?<curren= tDigest>.*?)\\n"],
+ "currentValueTemplate": "master",

+ "depN= ameTemplate": "vcpkg",
+ "packageNameTemplate": "https:= //github.com/microsoft/vcpkg",
+ "datasourceTemplate": "git-refs&= quot;
+ },
+ {
+ "customType"= ;: "regex",

+ "fileMatch": ["^\\.github/workflows/.+\\.ya?ml= $"],
+ = "matchStrings": ["versioning=3D(?<versioning>.*?)\\n= \\s*repository:\\s*(?<depName>.*?)\\n\\s*ref:\\s*(?<currentValue&g= t;.*?)\\n"],
+ = "datasourceTemplate": "github-tags"+ }
+ ]
+}

To view, visit = change 72= 2. 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: 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: merged
--04G8DzIX7sA=--