1
0
mirror of https://gitlab.com/packaging/gitea synced 2024-12-18 08:03:29 +00:00

fix test install

This commit is contained in:
morph027 2020-06-20 11:13:42 +02:00
parent a8cff58ba0
commit b4157100de
No known key found for this signature in database
GPG Key ID: BF17A54BB873BE58
2 changed files with 3 additions and 1 deletions

View File

@ -60,7 +60,7 @@ test-plain-install:
-v /sys/fs/cgroup:/sys/fs/cgroup:ro
-v $CI_PROJECT_DIR:/src
-e CI_PROJECT_DIR=/src
-e CI_COMMIT_TAG=CI_COMMIT_TAG
-e CI_COMMIT_TAG=$CI_COMMIT_TAG
jrei/systemd-ubuntu:20.04
- docker exec -t systemd-ubuntu /bin/bash /src/.gitlab-ci/test.sh
only:

View File

@ -1,5 +1,7 @@
#!/bin/bash

set -e

VERSION=$(echo "${CI_COMMIT_TAG#*v}" | cut -d'-' -f1)
PATCHLEVEL=$(echo "${CI_COMMIT_TAG}" | cut -d'-' -f2)
apt-get -qq update