From 4910ee0dc35a3dd231b8c5975bb3eec9dd42c16f Mon Sep 17 00:00:00 2001 From: Max Dymond Date: Sat, 12 Jul 2025 17:04:43 +0100 Subject: [PATCH] ci: fix ldap install location and add renovate rule for openldap --- .github/workflows/linux.yml | 5 +++-- renovate.json | 13 +++++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 6d389d44b8..9c57b4c125 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -59,6 +59,7 @@ env: QUICTLS_VERSION: 3.3.0 # renovate: datasource=github-tags depName=rustls/rustls-ffi versioning=semver registryUrl=https://github.com RUSTLS_VERSION: 0.15.0 + # handled in renovate.json OPENLDAP_VERSION: 2.6.10 jobs: @@ -297,7 +298,7 @@ jobs: - name: 'openldap-static' install_steps: openldap-static install_packages: libssl-dev - configure: --disable-shared --with-openssl --enable-static --with-ldap=/home/runner/openldap --with-ldap-lib=ldap --with-lber-lib=lber + configure: --disable-shared --with-openssl --enable-static --with-ldap=/home/runner/openldap-static --with-ldap-lib=ldap --with-lber-lib=lber steps: - name: 'install prereqs' @@ -461,7 +462,7 @@ jobs: curl --disable --fail --silent --show-error --connect-timeout 15 --max-time 120 --retry 6 --retry-connrefused \ --location "https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-${OPENLDAP_VERSION}.tgz" | tar -xz cd "openldap-${OPENLDAP_VERSION}" - ./configure --enable-static --disable-shared --prefix=/home/runner/openldap + ./configure --enable-static --disable-shared --prefix=/home/runner/openldap-static make make install diff --git a/renovate.json b/renovate.json index c1bdf731cb..efb9064dab 100644 --- a/renovate.json +++ b/renovate.json @@ -95,6 +95,19 @@ "depNameTemplate": "quictls/openssl", "versioningTemplate": "semver", "extractVersionTemplate": "^openssl-(?.*)-quic1$" + }, + { + "customType": "regex", + "managerFilePatterns": [ + "/^.github/workflows/linux.yml$/" + ], + "matchStrings": [ + "OPENLDAP_VERSION: (?.*)\\s" + ], + "datasourceTemplate": "github-tags", + "depNameTemplate": "openldap/openldap", + "versioningTemplate": "semver", + "extractVersionTemplate": "^OPENLDAP_REL_ENG_(?\\d+)_(?\\d+)_(?\\d+)$" } ] } -- 2.47.3