mirror of
https://gitlab.com/packaging/gitea
synced 2024-12-18 08:03:29 +00:00
fix test install
This commit is contained in:
parent
a8cff58ba0
commit
b4157100de
@ -60,7 +60,7 @@ test-plain-install:
|
|||||||
-v /sys/fs/cgroup:/sys/fs/cgroup:ro
|
-v /sys/fs/cgroup:/sys/fs/cgroup:ro
|
||||||
-v $CI_PROJECT_DIR:/src
|
-v $CI_PROJECT_DIR:/src
|
||||||
-e 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
|
jrei/systemd-ubuntu:20.04
|
||||||
- docker exec -t systemd-ubuntu /bin/bash /src/.gitlab-ci/test.sh
|
- docker exec -t systemd-ubuntu /bin/bash /src/.gitlab-ci/test.sh
|
||||||
only:
|
only:
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
VERSION=$(echo "${CI_COMMIT_TAG#*v}" | cut -d'-' -f1)
|
VERSION=$(echo "${CI_COMMIT_TAG#*v}" | cut -d'-' -f1)
|
||||||
PATCHLEVEL=$(echo "${CI_COMMIT_TAG}" | cut -d'-' -f2)
|
PATCHLEVEL=$(echo "${CI_COMMIT_TAG}" | cut -d'-' -f2)
|
||||||
apt-get -qq update
|
apt-get -qq update
|
||||||
|
Loading…
Reference in New Issue
Block a user