Change in openvpn[master]: GHA: Configure Renovate
A message that is not in the archive (sent off-list or not yet received): gerrit.1723151372000.I06253be7ed783e3bf30e7df1d6da8ca888016711@...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/+/722?usp=email
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.
---
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
.github/workflows/build.yaml +8 -6
@@ -52,13 +52,13 @@ uses: actions/[email protected]... - name: Restore from cache and install vcpkg - uses: lukka/[email protected]... + uses: lukka/[email protected]... with: vcpkgGitCommitId: 8d3649ba34aab36914ddd897958599aa0a91b08e vcpkgJsonGlob: '**/mingw/vcpkg.json' - name: Run CMake with vcpkg.json manifest - uses: lukka/[email protected]... + uses: lukka/[email protected]... with: configurePreset: mingw-${{ matrix.arch }} buildPreset: mingw-${{ matrix.arch }}
@@ -274,26 +274,26 @@ runs-on: windows-latest steps: - uses: actions/[email protected]... - - uses: lukka/[email protected]... + - uses: lukka/[email protected]... - 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]... with: vcpkgGitCommitId: 8d3649ba34aab36914ddd897958599aa0a91b08e vcpkgJsonGlob: '**/windows/vcpkg.json' - name: Run CMake with vcpkg.json manifest (NO TESTS) - uses: lukka/[email protected]... + uses: lukka/[email protected]... 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]... if: ${{ matrix.arch != 'arm64' }} with: configurePreset: win-${{ matrix.arch }}-release
@@ -344,6 +344,7 @@ uses: actions/[email protected]... with: path: libressl + # versioning=semver-coerced repository: libressl/portable ref: v3.8.3 - name: "libressl: autogen.sh"
@@ -403,6 +404,7 @@ uses: actions/[email protected]... with: path: mbedtls + # versioning=semver-coerced repository: Mbed-TLS/mbedtls ref: v3.5.2 - name: "mbedtls: make no_test"
renovate.json new file +40 -0
@@ -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*(?<currentDigest>.*?)\\n"], + "currentValueTemplate": "master", + "depNameTemplate": "vcpkg", + "packageNameTemplate": "https://github.com/microsoft/vcpkg", + "datasourceTemplate": "git-refs" + }, + { + "customType": "regex", + "fileMatch": ["^\\.github/workflows/.+\\.ya?ml$"], + "matchStrings": ["versioning=(?<versioning>.*?)\\n\\s*repository:\\s*(?<depName>.*?)\\n\\s*ref:\\s*(?<currentValue>.*?)\\n"], + "datasourceTemplate": "github-tags" + } + ] +}
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/722?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: I06253be7ed783e3bf30e7df1d6da8ca888016711
Gerrit-Change-Number: 722
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/+/722?usp=email )
Change subject: GHA: Configure Renovate
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/722?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: I06253be7ed783e3bf30e7df1d6da8ca888016711
Gerrit-Change-Number: 722
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: Fri, 06 Sep 2024 12:30:08 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
PATCH 1/1 GHA: Configure Renovate
In reply to a message not in the archiveFrom: OpenVPN Renovate <[email protected]...>
Maintain GitHub actions and other version references in GHA.
Switch some GHA references from branch versions to tag version so the pinning works correctly.
---
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/+/722
This mail reflects revision 1 of this Change.
Acked-by according to Gerrit (reflected above):
Yuriy Darnobyt <[email protected]...>
.github/workflows/build.yaml +8 -6
@@ -52,13 +52,13 @@ uses: actions/[email protected]... - name: Restore from cache and install vcpkg - uses: lukka/[email protected]... + uses: lukka/[email protected]... with: vcpkgGitCommitId: 8d3649ba34aab36914ddd897958599aa0a91b08e vcpkgJsonGlob: '**/mingw/vcpkg.json' - name: Run CMake with vcpkg.json manifest - uses: lukka/[email protected]... + uses: lukka/[email protected]... with: configurePreset: mingw-${{ matrix.arch }} buildPreset: mingw-${{ matrix.arch }}
@@ -274,26 +274,26 @@ runs-on: windows-latest steps: - uses: actions/[email protected]... - - uses: lukka/[email protected]... + - uses: lukka/[email protected]... - 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]... with: vcpkgGitCommitId: 8d3649ba34aab36914ddd897958599aa0a91b08e vcpkgJsonGlob: '**/windows/vcpkg.json' - name: Run CMake with vcpkg.json manifest (NO TESTS) - uses: lukka/[email protected]... + uses: lukka/[email protected]... 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]... if: ${{ matrix.arch != 'arm64' }} with: configurePreset: win-${{ matrix.arch }}-release
@@ -344,6 +344,7 @@ uses: actions/[email protected]... with: path: libressl + # versioning=semver-coerced repository: libressl/portable ref: v3.8.3 - name: "libressl: autogen.sh"
@@ -403,6 +404,7 @@ uses: actions/[email protected]... with: path: mbedtls + # versioning=semver-coerced repository: Mbed-TLS/mbedtls ref: v3.5.2 - name: "mbedtls: make no_test"
renovate.json new file +40 -0
@@ -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*(?<currentDigest>.*?)\\n"], + "currentValueTemplate": "master", + "depNameTemplate": "vcpkg", + "packageNameTemplate": "https://github.com/microsoft/vcpkg", + "datasourceTemplate": "git-refs" + }, + { + "customType": "regex", + "fileMatch": ["^\\.github/workflows/.+\\.ya?ml$"], + "matchStrings": ["versioning=(?<versioning>.*?)\\n\\s*repository:\\s*(?<depName>.*?)\\n\\s*ref:\\s*(?<currentValue>.*?)\\n"], + "datasourceTemplate": "github-tags" + } + ] +}
[Openvpn-devel] [PATCH applied] Re: GHA: Configure Renovate
Your patch has been applied to the master branch.
The Author info in gerrit is a bit funny, but from the context it's clear that Frank wrote this - and we want persons in the git log, not robots :-) - so adjusted the From: before committing.
Lightly tested the GHA changes by building in my GH repo.
commit 4788aaba0739eeaae853d31075ae533a9228a61b
Author: Frank Lichtenheld Date: Fri Sep 6 17:12:43 2024 +0200
GHA: Configure Renovate
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]/msg29087.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/+/722?usp=email )
The following approvals got outdated and were removed:
Code-Review+2 by uddr
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.
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg29087.html
---
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/2
.github/workflows/build.yaml +8 -6
@@ -52,13 +52,13 @@ uses: actions/[email protected]... - name: Restore from cache and install vcpkg - uses: lukka/[email protected]... + uses: lukka/[email protected]... with: vcpkgGitCommitId: 8d3649ba34aab36914ddd897958599aa0a91b08e vcpkgJsonGlob: '**/mingw/vcpkg.json' - name: Run CMake with vcpkg.json manifest - uses: lukka/[email protected]... + uses: lukka/[email protected]... with: configurePreset: mingw-${{ matrix.arch }} buildPreset: mingw-${{ matrix.arch }}
@@ -274,26 +274,26 @@ runs-on: windows-latest steps: - uses: actions/[email protected]... - - uses: lukka/[email protected]... + - uses: lukka/[email protected]... - 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]... with: vcpkgGitCommitId: 8d3649ba34aab36914ddd897958599aa0a91b08e vcpkgJsonGlob: '**/windows/vcpkg.json' - name: Run CMake with vcpkg.json manifest (NO TESTS) - uses: lukka/[email protected]... + uses: lukka/[email protected]... 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]... if: ${{ matrix.arch != 'arm64' }} with: configurePreset: win-${{ matrix.arch }}-release
@@ -344,6 +344,7 @@ uses: actions/[email protected]... with: path: libressl + # versioning=semver-coerced repository: libressl/portable ref: v3.8.3 - name: "libressl: autogen.sh"
@@ -403,6 +404,7 @@ uses: actions/[email protected]... with: path: mbedtls + # versioning=semver-coerced repository: Mbed-TLS/mbedtls ref: v3.5.2 - name: "mbedtls: make no_test"
renovate.json new file +40 -0
@@ -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*(?<currentDigest>.*?)\\n"], + "currentValueTemplate": "master", + "depNameTemplate": "vcpkg", + "packageNameTemplate": "https://github.com/microsoft/vcpkg", + "datasourceTemplate": "git-refs" + }, + { + "customType": "regex", + "fileMatch": ["^\\.github/workflows/.+\\.ya?ml$"], + "matchStrings": ["versioning=(?<versioning>.*?)\\n\\s*repository:\\s*(?<depName>.*?)\\n\\s*ref:\\s*(?<currentValue>.*?)\\n"], + "datasourceTemplate": "github-tags" + } + ] +}
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/722?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: I06253be7ed783e3bf30e7df1d6da8ca888016711
Gerrit-Change-Number: 722
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/+/722?usp=email )
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.
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg29087.html
---
M .github/workflows/build.yaml
A renovate.json
2 files changed, 48 insertions(+), 6 deletions(-)
.github/workflows/build.yaml +8 -6
@@ -52,13 +52,13 @@ uses: actions/[email protected]... - name: Restore from cache and install vcpkg - uses: lukka/[email protected]... + uses: lukka/[email protected]... with: vcpkgGitCommitId: 8d3649ba34aab36914ddd897958599aa0a91b08e vcpkgJsonGlob: '**/mingw/vcpkg.json' - name: Run CMake with vcpkg.json manifest - uses: lukka/[email protected]... + uses: lukka/[email protected]... with: configurePreset: mingw-${{ matrix.arch }} buildPreset: mingw-${{ matrix.arch }}
@@ -274,26 +274,26 @@ runs-on: windows-latest steps: - uses: actions/[email protected]... - - uses: lukka/[email protected]... + - uses: lukka/[email protected]... - 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]... with: vcpkgGitCommitId: 8d3649ba34aab36914ddd897958599aa0a91b08e vcpkgJsonGlob: '**/windows/vcpkg.json' - name: Run CMake with vcpkg.json manifest (NO TESTS) - uses: lukka/[email protected]... + uses: lukka/[email protected]... 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]... if: ${{ matrix.arch != 'arm64' }} with: configurePreset: win-${{ matrix.arch }}-release
@@ -344,6 +344,7 @@ uses: actions/[email protected]... with: path: libressl + # versioning=semver-coerced repository: libressl/portable ref: v3.8.3 - name: "libressl: autogen.sh"
@@ -403,6 +404,7 @@ uses: actions/[email protected]... with: path: mbedtls + # versioning=semver-coerced repository: Mbed-TLS/mbedtls ref: v3.5.2 - name: "mbedtls: make no_test"
renovate.json new file +40 -0
@@ -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*(?<currentDigest>.*?)\\n"], + "currentValueTemplate": "master", + "depNameTemplate": "vcpkg", + "packageNameTemplate": "https://github.com/microsoft/vcpkg", + "datasourceTemplate": "git-refs" + }, + { + "customType": "regex", + "fileMatch": ["^\\.github/workflows/.+\\.ya?ml$"], + "matchStrings": ["versioning=(?<versioning>.*?)\\n\\s*repository:\\s*(?<depName>.*?)\\n\\s*ref:\\s*(?<currentValue>.*?)\\n"], + "datasourceTemplate": "github-tags" + } + ] +}
Signature · 13 lines
To view, visit http://gerrit.openvpn.net/c/openvpn/+/722?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: I06253be7ed783e3bf30e7df1d6da8ca888016711 Gerrit-Change-Number: 722 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