Skip to content
Snippets Groups Projects
Commit e99482ef authored by intrigeri's avatar intrigeri
Browse files

GitLab CI: re-enable jobs that need a privileged runner (reprotest and piuparts).

This reverts commit 2c490767.
parent 2c490767
Branches
Tags
No related merge requests found
......@@ -36,3 +36,36 @@ run lintian:
script:
- 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
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
  • intrigeri @intrigeri

    mentioned in commit 385c7e9a

    By intrigeri on 2018-10-20T19:36:05 (imported from GitLab project)

    ·

    mentioned in commit 385c7e9a

    By intrigeri on 2018-10-20T19:36:05 (imported from GitLab project)

    Toggle commit list
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment