From bcef7a35e2133cf3937e6eaaa27ccaf279336e5d Mon Sep 17 00:00:00 2001 From: sdischer-sap <129972012+sdischer-sap@users.noreply.github.com> Date: Thu, 28 Nov 2024 14:02:30 +0100 Subject: [PATCH] Ci/renovate tf fix for makefile syntax (#45) - fix regex to include ?= syntax in Makefile - also remove -rc1 prefix to properly match future versions --- cluster/images/crossplane-provider-btp-controller/Dockerfile | 2 +- renovate.json | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/cluster/images/crossplane-provider-btp-controller/Dockerfile b/cluster/images/crossplane-provider-btp-controller/Dockerfile index e0ebaad..9dcdb9a 100644 --- a/cluster/images/crossplane-provider-btp-controller/Dockerfile +++ b/cluster/images/crossplane-provider-btp-controller/Dockerfile @@ -11,7 +11,7 @@ ARG BASEDIR=cluster/images/crossplane-provider-btp-controller/ ARG TERRAFORM_VERSION=1.3.9 ARG TERRAFORM_PROVIDER_SOURCE=SAP/btp -ARG TERRAFORM_PROVIDER_VERSION=1.0.0-rc1 +ARG TERRAFORM_PROVIDER_VERSION=1.0.0 ARG TERRAFORM_PROVIDER_DOWNLOAD_NAME=terraform-provider-btp ARG TERRAFORM_NATIVE_PROVIDER_BINARY=${TERRAFORM_PROVIDER_DOWNLOAD_NAME}_${TERRAFORM_VERSION}_linux_amd64 diff --git a/renovate.json b/renovate.json index 8fe87bc..2f4012c 100644 --- a/renovate.json +++ b/renovate.json @@ -6,7 +6,7 @@ "customManagers": [ { "fileMatch": ["(^|/)Makefile$", "(^|/)Dockerfile$"], - "matchStrings": ["(export|ARG) *TERRAFORM_PROVIDER_VERSION *:?= *(?\\d+\\.\\d+\\.\\d+)"], + "matchStrings": ["(export|ARG) *TERRAFORM_PROVIDER_VERSION *[:|\\?]?= *(?\\d+\\.\\d+\\.\\d+)"], "fileMatch": ["(^|/)Makefile$", "(^|/)Dockerfile$", "(^|/)config.yml$"], "matchStrings": ["(export|ARG|--build-arg=) *TERRAFORM_PROVIDER_VERSION *:?= *(?\\d+\\.\\d+\\.\\d+)"], "datasourceTemplate": "terraform-provider", @@ -15,4 +15,3 @@ } ] } -