Skip to content

Commit eab39d2

Browse files
committed
update deps automatically with renovate
Add --output-dir as flag as this is required by the new commodore version. The output dir now has to be created first. Also a $HOME/.gitconfig file is required by the docker run command.
1 parent c8e7cf0 commit eab39d2

File tree

4 files changed

+37
-4
lines changed

4 files changed

+37
-4
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
export SSH_AUTH_SOCK=/tmp/ssh_agent.sock
2121
touch $SSH_AUTH_SOCK
2222
23+
touch ${HOME}/.gitconfig
24+
2325
set -x
2426
set +e
2527
source commodore_command.sh

commodore_command.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/usr/bin/env bash
22

3-
COMMODORE_VERSION="v1.3.2"
3+
# renovate: datasource=docker depName=projectsyn/commodore
4+
COMMODORE_VERSION="v1.29.0"
45

56
commodore() {
67
LIEUTENANT_URL=$(curl http://localhost:4040/api/tunnels --silent | jq -r '.["tunnels"][0]["public_url"]')

docs/modules/ROOT/pages/index.adoc

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,12 @@ There are many https://github.com/topics/commodore-component[Commodore Component
1212

1313
This tutorial has been prepared with the following versions of Syn components in mind:
1414

15-
* Commodore: 1.3.2
16-
* Lieutenant API: 0.9.1
17-
* Lieutenant Operator: 1.3.0
15+
// renovate: datasource=docker depName=projectsyn/commodore
16+
* Commodore: 1.29.0
17+
// renovate: datasource=docker depName=projectsyn/lieutenant-api
18+
* Lieutenant API: 0.12.2
19+
// renovate: datasource=docker depName=projectsyn/lieutenant-operator
20+
* Lieutenant Operator: 1.11.11
1821

1922
Project Syn is moving fast, and we will update this tutorial accordingly as new features and capabilities are made available by the development team.
2023

renovate.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"extends": [
3+
"config:recommended"
4+
],
5+
"rebaseWhen": "conflicted",
6+
"labels": ["renovate"],
7+
"packageRules": [
8+
{
9+
"matchDepNames": "/.*/",
10+
"groupName": "dependencies"
11+
}
12+
],
13+
"customManagers": [
14+
{
15+
"customType": "regex",
16+
"managerFilePatterns": [
17+
"/.*\\.sh$/",
18+
"/.*\\.adoc$/"
19+
],
20+
"matchStrings": [
21+
"renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s.*?_VERSION=\"?(?<currentValue>[^\"]*)[\"|\\s]",
22+
"renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s.*?: (?<currentValue>.*)\\s"
23+
],
24+
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
25+
}
26+
]
27+
}

0 commit comments

Comments
 (0)