Commit 177f411d authored by Dererk's avatar Dererk

Testing docker-machine-kvm runner

parent 3592bfb4
Pipeline #59054 failed with stages
# Warning! This file is autogenerated by salsa pipeline bot. Any change made ---
# over this document will be lost. Customization and changes must be made over include:
# the template yaml. - https://salsa.debian.org/salsa-ci-team/pipeline/raw/docker_machine_kvm_tests/salsa-ci.yml
variables: - https://salsa.debian.org/salsa-ci-team/pipeline/raw/docker_machine_kvm_tests/pipeline-jobs.yml
DEBFULLNAME: "Salsa Pipeline"
DEBEMAIL: "<salsa-pipeline@debian.org>"
DEBIAN_FRONTEND: noninteractive
WORKING_DIR: ./debian/output
stages:
- build
- test
image: debian:unstable
build package:
stage: build
artifacts:
expire_in: 180 day
name: "$CI_BUILD_NAME"
paths:
- ${WORKING_DIR}/
script:
- apt-get update
- apt-get install eatmydata -y
- eatmydata apt-get build-dep -y .
- eatmydata apt-get install git-buildpackage -y
- gbp pull --ignore-branch
- gbp buildpackage --git-ignore-branch --git-export-dir=${WORKING_DIR} -us -uc
run autopkgtest:
stage: test
script:
- apt-get update && apt-get install autopkgtest eatmydata -y --no-install-recommends
- eatmydata autopkgtest ${WORKING_DIR}/*.deb -- null
run lintian:
stage: test
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
# End of include
#################################### Below starts the local customization ###################################
run piuparts:
script:
- echo "piuparts disabled. 3rd party ttf and fonts packages are leaving tons of files after purge. See https://salsa.debian.org/debian/FeedReader/-/jobs/33355"
include: https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
# end of salsa pipeline bot parser
run piuparts:
script:
- echo "piuparts disabled. 3rd party ttf and fonts packages are leaving tons of files after purge. See https://salsa.debian.org/debian/FeedReader/-/jobs/33355"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment