Skip to content

Commit 4b4b781

Browse files
authored
Merge pull request #11 from wayofdev/renovate/configure
2 parents 4b60b9f + fdd049f commit 4b4b781

File tree

3 files changed

+62
-7
lines changed

3 files changed

+62
-7
lines changed

renovate.json

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:base"
5+
],
6+
"prHourlyLimit": 10,
7+
"automerge": true,
8+
"platformAutomerge": true,
9+
"regexManagers": [
10+
{
11+
"fileMatch": ["^src/group_vars/all\\.yml$"],
12+
"matchStrings": [
13+
"wait4x_version:\\s*(?<currentValue>[\\d.]+)"
14+
],
15+
"datasourceTemplate": "docker",
16+
"depNameTemplate": "atkrad/wait4x",
17+
"autoReplaceStringTemplate": "wait4x_version: {{{newValue}}}"
18+
},
19+
{
20+
"fileMatch": ["^src/group_vars/all\\.yml$"],
21+
"matchStrings": [
22+
"goss_version:\\s*(?<currentValue>[\\d.]+)"
23+
],
24+
"datasourceTemplate": "github-releases",
25+
"depNameTemplate": "goss-org/goss",
26+
"autoReplaceStringTemplate": "goss_version: {{{newValue}}}"
27+
},
28+
{
29+
"fileMatch": ["^src/group_vars/all\\.yml$"],
30+
"matchStrings": [
31+
"actionlint:\\s*(?<currentValue>[\\d.]+)"
32+
],
33+
"datasourceTemplate": "docker",
34+
"depNameTemplate": "rhysd/actionlint",
35+
"autoReplaceStringTemplate": "actionlint: {{{newValue}}}"
36+
},
37+
{
38+
"fileMatch": ["^src/group_vars/all\\.yml$"],
39+
"matchStrings": [
40+
"shellcheck:\\s*(?<currentValue>[\\d.]+)"
41+
],
42+
"datasourceTemplate": "docker",
43+
"depNameTemplate": "koalaman/shellcheck-alpine",
44+
"autoReplaceStringTemplate": "shellcheck: {{{newValue}}}"
45+
},
46+
{
47+
"fileMatch": ["^src/group_vars/all\\.yml$"],
48+
"matchStrings": [
49+
"mkcert_version:\\s*(?<currentValue>[\\d.]+)"
50+
],
51+
"datasourceTemplate": "github-releases",
52+
"depNameTemplate": "filosottile/mkcert",
53+
"autoReplaceStringTemplate": "mkcert_version: {{{newValue}}}"
54+
}
55+
]
56+
}

src/Dockerfiles/all/Dockerfile.j2

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ ENV LANG="en_US.UTF-8"
2424
ENV LC_ALL="en_US.UTF-8"
2525
ENV LANGUAGE="en_US.UTF-8"
2626

27-
ENV GOSS_VER=v{{ goss_version }}
2827
ENV GOSS_FILES_STRATEGY=cp
2928

3029
ARG TARGETPLATFORM
@@ -44,7 +43,7 @@ RUN set -eux; \
4443
&& if [ "$TARGETPLATFORM" = "linux/amd64" ]; then ARCHITECTURE=amd64; elif [ "$TARGETPLATFORM" = "linux/arm/v7" ]; then ARCHITECTURE=arm; elif [ "$TARGETPLATFORM" = "linux/arm64" ]; then ARCHITECTURE=arm64; else ARCHITECTURE=amd64; fi \
4544
&& curl -L "https://github.com/FiloSottile/mkcert/releases/download/v{{ mkcert_version }}/mkcert-v{{ mkcert_version }}-linux-${ARCHITECTURE}" -o /usr/local/bin/mkcert \
4645
&& chmod +x /usr/local/bin/mkcert \
47-
&& curl -fsSL https://goss.rocks/install | sh \
46+
&& curl -fsSL https://goss.rocks/install | GOSS_VER=v{{ goss_version }} sh \
4847
&& curl -sSLO https://raw.githubusercontent.com/aelsabbahy/goss/master/extras/dcgoss/dcgoss \
4948
&& mv dcgoss /usr/local/bin \
5049
&& chmod +x /usr/local/bin/dcgoss \

src/group_vars/all.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ system_user_uid: 1000
5353
system_user_gid: 1000
5454
system_shell: bash
5555

56-
wait4x_version: "2"
57-
goss_version: "0.3.20"
58-
mkcert_version: "1.4.4"
59-
actionlint_version: "1.6.22"
60-
shellcheck_version: "0.8.0"
56+
wait4x_version: 2.12.0
57+
goss_version: 0.3.20
58+
mkcert_version: 1.4.4
59+
actionlint_version: 1.6.22
60+
shellcheck_version: 0.8.0
6161

6262
...

0 commit comments

Comments
 (0)