Skip to content

Commit 838da2b

Browse files
authored
Use renovate for evergreen Kibana clients (#1357)
1 parent b7b42df commit 838da2b

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

generated/kbapi/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
SHELL := /bin/bash
33
ROOT_DIR := $(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
44

5-
github_ref ?= refs/heads/main
5+
github_ref ?= 5c4f76696e63bf9e9a53d55521f4c18faa02ccf2
66
oas_url := https://raw.githubusercontent.com/elastic/kibana/$(github_ref)/oas_docs/output/kibana.yaml
77

88
.PHONY: all

renovate.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,21 @@
33
"extends": [
44
"local>elastic/renovate-config"
55
],
6+
"customManagers": [
7+
{
8+
"customType": "regex",
9+
"managerFilePatterns": ["/^generated/kbapi/Makefile$/"],
10+
"matchStrings": ["github_ref \\?= (?<currentDigest>.*?)\\n"],
11+
"currentValueTemplate": "main",
12+
"depNameTemplate": "kibana-openapi-spec",
13+
"packageNameTemplate": "https://github.com/elastic/kibana",
14+
"datasourceTemplate": "git-refs"
15+
}
16+
],
17+
"postUpgradeTasks": {
18+
"commands": ["make -C generated/kbapi all"],
19+
"fileFilters": ["generated/kbapi/Makefile"]
20+
},
621
"automerge": true,
722
"automergeStrategy": "squash",
823
"automergeType": "branch",

0 commit comments

Comments
 (0)