Commit b000ec25 authored by Xavier Guimard's avatar Xavier Guimard

Test ci

parent bef05c6f
Pipeline #6201 passed with stage
in 2 minutes and 35 seconds
......@@ -9,9 +9,7 @@
- result/*
stages:
- build
- sign
- deploy
- autopkgtest
before_script:
- env | grep ^CI_
......@@ -20,64 +18,12 @@ before_script:
- sed -i "1{s/-2) /$suffix) /}" debian/changelog
- sed -i 's/3.0 (quilt)/3.0 (native)/' debian/source/format
build_stretch:
image: buildpkg/debian:stretch
<<: *job_build
build_buster:
autopkgtest:
stage: autopkgtest
image: buildpkg/debian:buster
<<: *job_build
build_disco:
image: buildpkg/ubuntu:disco
<<: *job_build
build_bionic:
image: buildpkg/ubuntu:bionic
<<: *job_build
sign:
image: buildpkg/debian:stretch
stage: sign
# variables:
# SIGN_USER: firstname.lastname@orange.com
# GPG_PRIVATE_KEY:
script:
- cd $CI_PROJECT_DIR
- ci-sign-pkg
dependencies:
- build_stretch
- build_buster
- build_disco
- build_bionic
artifacts:
expire_in: 1 day
paths:
- result/*
only:
- master
pages:
image: buildpkg/debian:stretch
stage: deploy
variables:
# Default page dir
# PAGES_DIR: public
PAGES_HOST: ow2.io
environment:
name: PPA
url: http://${CI_PROJECT_NAMESPACE}.${PAGES_HOST}/${CI_PROJECT_NAME}
script:
- cd $CI_PROJECT_DIR
- ci-pages-ppa
- ci-pages-home
- ci-pages-tree
dependencies:
- sign
artifacts:
expire_in: 1 day
paths:
- public
only:
- master
- env DEBIAN_FRONTEND=noninteractive apt-get -q -y install --no-install-recommends aspcud apt-cudf pkg-perl-autopkgtest
- env DEBIAN_FRONTEND=noninteractive apt-get -q -y --solver aspcud -o APT::Solver::Strict-Pinning=0 -o Debug::pkgProblemResolver=yes build-dep .
- make
- make -j8 autopkgtest
......@@ -386,7 +386,8 @@ portal_test: portal
manager_test: manager
@$(MAKE) -C ${SRCMANAGERDIR} test
autopkgtest: all autopkg_common autopkg_handler autopkg_portal autopkg_manager autopkg_runner
autopkgtest: all
$(MAKE) autopkg_common autopkg_handler autopkg_portal autopkg_manager autopkg_runner
autopkg_%:
./debian/tests/runner build-deps lemonldap-ng-$*
......
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