Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Samuel Thibault
mariadb-10.1
Commits
25d38f87
Commit
25d38f87
authored
Sep 05, 2018
by
Otto Kekäläinen
Browse files
wip
parent
9cf44343
Changes
1
Hide whitespace changes
Inline
Side-by-side
debian/.gitlab-ci.yml
View file @
25d38f87
...
...
@@ -46,35 +46,39 @@ run lintian:
-
apt-get update && apt-get install lintian -y --no-install-recommends
-
lintian -iI ${WORKING_DIR}/*.changes
run reprotest
:
stage
:
test
image
:
genericpipeline/reprotest-docker
artifacts
:
name
:
"
$CI_BUILD_NAME"
expire_in
:
180 day
paths
:
-
./reprotest.log
when
:
always
script
:
-
apt-get update && apt-get install eatmydata -y
-
eatmydata apt-get build-dep -y .
-
export DEB_BUILD_OPTIONS=nocheck
-
eatmydata reprotest . --
null
&> reprotest.log
tags
:
-
privileged
# Reprotest exceeds the 2 hour timeout limit on Github CI, so results in failure
# and must be disabled until a quicker (times two) build is possible.
#run reprotest:
# stage: test
# image: genericpipeline/reprotest-docker
# artifacts:
# name: "$CI_BUILD_NAME"
# expire_in: 180 day
# paths:
# - ./reprotest.log
# when: always
# script:
# - apt-get update && apt-get install eatmydata -y
# - eatmydata apt-get build-dep -y .
# - export DEB_BUILD_OPTIONS=nocheck
# - eatmydata reprotest . -- null &> reprotest.log
# tags:
# - privileged
run piuparts
:
stage
:
test
image
:
genericpipeline/piuparts-docker
services
:
-
docker:dind
script
:
-
CHROOT_PATH=/tmp/debian-unstable
-
CONTAINER_ID=$(docker run --rm -d debian:unstable sleep infinity)
-
docker exec ${CONTAINER_ID} bash -c "apt-get update && apt-get install eatmydata -y"
-
mkdir -p ${CHROOT_PATH}
-
docker export ${CONTAINER_ID} | tar -C ${CHROOT_PATH} -xf -
-
mknod -m 666 ${CHROOT_PATH}/dev/urandom c 1
9
-
piuparts --hard-link -e ${CHROOT_PATH} ${WORKING_DIR}/*.deb
tags
:
-
privileged
# Piuparts is passing on official piuparts.debian.org, but fail on Gitlab CI
# with 'FAIL: Package purging left files on system'. Disabling for now.
#run piuparts:
# stage: test
# image: genericpipeline/piuparts-docker
# services:
# - docker:dind
# script:
# - CHROOT_PATH=/tmp/debian-unstable
# - CONTAINER_ID=$(docker run --rm -d debian:unstable sleep infinity)
# - docker exec ${CONTAINER_ID} bash -c "apt-get update && apt-get install eatmydata -y"
# - mkdir -p ${CHROOT_PATH}
# - docker export ${CONTAINER_ID} | tar -C ${CHROOT_PATH} -xf -
# - mknod -m 666 ${CHROOT_PATH}/dev/urandom c 1 9
# - piuparts --hard-link -e ${CHROOT_PATH} ${WORKING_DIR}/*.deb
# tags:
# - privileged
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment