Skip to content
Snippets Groups Projects
Commit ad09525d authored by ale's avatar ale
Browse files

Switch CI to the standard pipeline

parent b56f4cec
No related branches found
No related tags found
No related merge requests found
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"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment