diff options
author | cfalcon <cfalcon@cells.es> | 2019-01-31 12:14:45 +0100 |
---|---|---|
committer | cfalcon <cfalcon@cells.es> | 2019-01-31 12:14:45 +0100 |
commit | 3796690341e8a2c98f7668b9f40d1c27a21bde9b (patch) | |
tree | 3fff213210a5f913622a07d1ca77dd55695d3bc3 | |
parent | f14c40b45592283176817aacf9338d739bad5961 (diff) |
Use salsa-ci-team gitlab-ci file
-rw-r--r-- | debian/.gitlab-ci.yml | 66 | ||||
-rw-r--r-- | debian/gitlab-ci.yml | 6 |
2 files changed, 6 insertions, 66 deletions
diff --git a/debian/.gitlab-ci.yml b/debian/.gitlab-ci.yml deleted file mode 100644 index e54c4710..00000000 --- a/debian/.gitlab-ci.yml +++ /dev/null @@ -1,66 +0,0 @@ -variables: - DEBFULLNAME: "Carlos Pascual" - DEBEMAIL: "<cpascual@cells.es>" - DEBIAN_FRONTEND: noninteractive - DOCKER_DRIVER: overlay2 - 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 - - git config --global user.name $DEBFULLNAME - - git config --global user.email $DEBEMAIL - - gbp pull --ignore-branch - - DEB_BUILD_OPTIONS=nocheck 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: inakimalerba/reprotest-docker:latest -# script: -# - apt-get update && apt-get install eatmydata -y -# - eatmydata apt-get build-dep -y . -# - eatmydata reprotest . -- null -# tags: -# - privileged - -#run piuparts: -# stage: test -# image: agustinhenze/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 - -# - piuparts --hard-link -e ${CHROOT_PATH} ${WORKING_DIR}/*.deb -# tags: -# - privileged diff --git a/debian/gitlab-ci.yml b/debian/gitlab-ci.yml new file mode 100644 index 00000000..f73329df --- /dev/null +++ b/debian/gitlab-ci.yml @@ -0,0 +1,6 @@ +include: + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml + +variables: + RELEASE: 'unstable' |