Skip to content

Commit b74da48

Browse files
akocbekakocbekIBM
andauthored
ci: update renovate to get logdna updates (#331)
Co-authored-by: [email protected] <[email protected]>
1 parent 2ac1b5b commit b74da48

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ locals {
2020
# LOCALS
2121
cluster_name = data.ibm_container_vpc_cluster.cluster.resource_name # Not publically documented in provider. See https://github.com/IBM-Cloud/terraform-provider-ibm/issues/4485
2222
log_analysis_chart_location = "${path.module}/chart/logdna-agent"
23-
log_analysis_image_tag_digest = "3.9.1-20231225.fb0af936e8df898f@sha256:3d572353ca69c8d0817ba0c9cb80ef269f4e6f524cee3c98ffe18ef9420b253f" # datasource: icr.io/ext/logdna-agent
23+
log_analysis_image_tag_digest = "3.9.1-20231225.fb0af936e8df898f@sha256:3d572353ca69c8d0817ba0c9cb80ef269f4e6f524cee3c98ffe18ef9420b253f" # datasource: icr.io/ext/logdna-agent versioning=regex:^(?<major>\d+)\.(?<minor>\d+)\.(?<patch>\d+)-(?<build>\d{8}).\w+?$
2424
log_analysis_agent_registry = "icr.io/ext/logdna-agent"
2525
log_analysis_agent_tags = var.log_analysis_add_cluster_name ? concat([local.cluster_name], var.log_analysis_agent_tags) : var.log_analysis_agent_tags
2626
log_analysis_host = var.log_analysis_endpoint_type == "private" ? "logs.private.${var.log_analysis_instance_region}.logging.cloud.ibm.com" : "logs.${var.log_analysis_instance_region}.logging.cloud.ibm.com"

renovate.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
{
66
"fileMatch": ["\\.tf$"],
77
"matchStrings": [
8-
"[\\w-]+_image_tag_digest\\s*=\\s*\"(?<currentValue>[\\w.-]+)@(?<currentDigest>sha256:[a-f0-9]+)\"\\s*# datasource: (?<depName>[^\\s]+)"
8+
"[\\w-]+_image_tag_digest\\s*=\\s*\"(?<currentValue>[\\w.-]+)@(?<currentDigest>sha256:[a-f0-9]+)\"\\s*# datasource: (?<depName>[^\\s]+)\\s*( versioning=(?<versioning>.*?))?\\s.*?"
99
],
10-
"datasourceTemplate": "docker"
10+
"datasourceTemplate": "docker",
11+
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
1112
}
1213
],
1314
"packageRules": [

0 commit comments

Comments
 (0)