Skip to content

Commit e6a9ba9

Browse files
authored
Merge pull request #1164 from nejch/master
chore(ci): pin gitlab-ce version for renovate
2 parents 97d8261 + cb79fb7 commit e6a9ba9

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

.renovaterc.json

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"regexManagers": [
3+
{
4+
"fileMatch": ["^tools/build_test_env.sh$"],
5+
"matchStrings": ["DEFAULT_GITLAB_TAG=(?<currentValue>.*?)\n"],
6+
"depNameTemplate": "gitlab/gitlab-ce",
7+
"datasourceTemplate": "docker",
8+
"versioningTemplate": "loose"
9+
}
10+
]
11+
}

tools/build_test_env.sh

+4-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@ try() { "$@" || fatal "'$@' failed"; }
2828
REUSE_CONTAINER=
2929
NOVENV=
3030
API_VER=4
31-
GITLAB_IMAGE="${GITLAB_IMAGE:-gitlab/gitlab-ce}"
32-
GITLAB_TAG="${GITLAB_TAG:-latest}"
31+
DEFAULT_GITLAB_IMAGE=gitlab/gitlab-ce
32+
DEFAULT_GITLAB_TAG=13.3.0-ce.1
33+
GITLAB_IMAGE="${GITLAB_IMAGE:-$DEFAULT_GITLAB_IMAGE}"
34+
GITLAB_TAG="${GITLAB_TAG:-$DEFAULT_GITLAB_TAG}"
3335
VENV_CMD="python3 -m venv"
3436
while getopts :knp:a:i:t: opt "$@"; do
3537
case $opt in

0 commit comments

Comments
 (0)