Commit ad09525d authored by ale's avatar ale

Switch CI to the standard pipeline

parent b56f4cec
stages:
- test
- build_src
- build_pkg
- upload
run_tests:
stage: test
image: "ai/test:base"
script:
- "apt-get install -q -y autoconf automake libtool pkg-config apache2-dev apache2 swig libpam0g-dev python-dev python-setuptools python-mox python-flask python-flup python-werkzeug python-nose python-m2crypto python-beautifulsoup"
- "./autogen.sh && ./configure --enable-pam-sso --enable-mod-sso && make check"
build:src:
stage: build_src
image: "ai/build:base"
script: "build-dsc"
artifacts:
paths:
- build-deb/
only:
- master
build:src-stretch:
stage: build_src
image: "ai/build:stretch"
script: "build-dsc"
artifacts:
paths:
- build-deb/
only:
- master
- nonce
build:pkg:
stage: build_pkg
image: "ai/build:base"
script: "build-deb"
dependencies:
- build:src
artifacts:
paths:
- output-deb/
only:
- master
build:pkg-stretch:
stage: build_pkg
image: "ai/build:stretch"
script: "build-deb"
dependencies:
- build:src-stretch
artifacts:
paths:
- output-deb/
only:
- master
- nonce
upload:pkg:
stage: upload
image: "ai/pkg:base"
script: "upload-packages"
dependencies:
- build:pkg
only:
- master
upload:pkg-stretch:
stage: upload
image: "ai/pkg:base"
script: "upload-packages --repository=stretch-ai"
dependencies:
- build:pkg-stretch
only:
- master
upload:pkg-nonce:
stage: upload
image: "ai/pkg:base"
script: "upload-packages --repository=ai3"
dependencies:
- build:pkg-stretch
only:
- nonce
include: "https://git.autistici.org/ai3/build-deb/raw/master/ci-common.yml"
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