Skip to content

Commit cb79fb7

Browse files
committed
chore(ci): pin gitlab-ce version for renovate
1 parent 97d8261 commit cb79fb7

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

.renovaterc.json

Lines changed: 11 additions & 0 deletions
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

Lines changed: 4 additions & 2 deletions
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)