mirror of
https://github.com/OpenVPN/openvpn.git
synced 2024-09-19 19:42:30 +02:00
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 <frank@lichtenheld.com> Acked-by: Yuriy Darnobyt <yura.uddr@gmail.com> Message-Id: <20240906151243.69549-1-frank@lichtenheld.com> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg29087.html Signed-off-by: Gert Doering <gert@greenie.muc.de>
This commit is contained in:
parent
dac076fe40
commit
4788aaba07
14
.github/workflows/build.yaml
vendored
14
.github/workflows/build.yaml
vendored
@ -52,13 +52,13 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Restore from cache and install vcpkg
|
- name: Restore from cache and install vcpkg
|
||||||
uses: lukka/run-vcpkg@v11
|
uses: lukka/run-vcpkg@v11.5
|
||||||
with:
|
with:
|
||||||
vcpkgGitCommitId: 8d3649ba34aab36914ddd897958599aa0a91b08e
|
vcpkgGitCommitId: 8d3649ba34aab36914ddd897958599aa0a91b08e
|
||||||
vcpkgJsonGlob: '**/mingw/vcpkg.json'
|
vcpkgJsonGlob: '**/mingw/vcpkg.json'
|
||||||
|
|
||||||
- name: Run CMake with vcpkg.json manifest
|
- name: Run CMake with vcpkg.json manifest
|
||||||
uses: lukka/run-cmake@v10
|
uses: lukka/run-cmake@v10.7
|
||||||
with:
|
with:
|
||||||
configurePreset: mingw-${{ matrix.arch }}
|
configurePreset: mingw-${{ matrix.arch }}
|
||||||
buildPreset: mingw-${{ matrix.arch }}
|
buildPreset: mingw-${{ matrix.arch }}
|
||||||
@ -274,26 +274,26 @@ jobs:
|
|||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: lukka/get-cmake@latest
|
- uses: lukka/get-cmake@v3.30.1
|
||||||
|
|
||||||
- name: Install rst2html
|
- name: Install rst2html
|
||||||
run: python -m pip install --upgrade pip docutils
|
run: python -m pip install --upgrade pip docutils
|
||||||
|
|
||||||
- name: Restore artifacts, or setup vcpkg (do not install any package)
|
- name: Restore artifacts, or setup vcpkg (do not install any package)
|
||||||
uses: lukka/run-vcpkg@v11
|
uses: lukka/run-vcpkg@v11.5
|
||||||
with:
|
with:
|
||||||
vcpkgGitCommitId: 8d3649ba34aab36914ddd897958599aa0a91b08e
|
vcpkgGitCommitId: 8d3649ba34aab36914ddd897958599aa0a91b08e
|
||||||
vcpkgJsonGlob: '**/windows/vcpkg.json'
|
vcpkgJsonGlob: '**/windows/vcpkg.json'
|
||||||
|
|
||||||
- name: Run CMake with vcpkg.json manifest (NO TESTS)
|
- name: Run CMake with vcpkg.json manifest (NO TESTS)
|
||||||
uses: lukka/run-cmake@v10
|
uses: lukka/run-cmake@v10.7
|
||||||
if: ${{ matrix.arch == 'arm64' }}
|
if: ${{ matrix.arch == 'arm64' }}
|
||||||
with:
|
with:
|
||||||
configurePreset: win-${{ matrix.arch }}-release
|
configurePreset: win-${{ matrix.arch }}-release
|
||||||
buildPreset: win-${{ matrix.arch }}-release
|
buildPreset: win-${{ matrix.arch }}-release
|
||||||
|
|
||||||
- name: Run CMake with vcpkg.json manifest
|
- name: Run CMake with vcpkg.json manifest
|
||||||
uses: lukka/run-cmake@v10
|
uses: lukka/run-cmake@v10.7
|
||||||
if: ${{ matrix.arch != 'arm64' }}
|
if: ${{ matrix.arch != 'arm64' }}
|
||||||
with:
|
with:
|
||||||
configurePreset: win-${{ matrix.arch }}-release
|
configurePreset: win-${{ matrix.arch }}-release
|
||||||
@ -344,6 +344,7 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
path: libressl
|
path: libressl
|
||||||
|
# versioning=semver-coerced
|
||||||
repository: libressl/portable
|
repository: libressl/portable
|
||||||
ref: v3.8.3
|
ref: v3.8.3
|
||||||
- name: "libressl: autogen.sh"
|
- name: "libressl: autogen.sh"
|
||||||
@ -403,6 +404,7 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
path: mbedtls
|
path: mbedtls
|
||||||
|
# versioning=semver-coerced
|
||||||
repository: Mbed-TLS/mbedtls
|
repository: Mbed-TLS/mbedtls
|
||||||
ref: v3.5.2
|
ref: v3.5.2
|
||||||
- name: "mbedtls: make no_test"
|
- name: "mbedtls: make no_test"
|
||||||
|
40
renovate.json
Normal file
40
renovate.json
Normal file
@ -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"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user