Commit fcdac55e authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz

work on gitlab-ci integration

parent bb43feb8
Pipeline #347 passed with stages
in 4 minutes and 58 seconds
......@@ -7,21 +7,38 @@ build-stable:
stage: build
except:
- /^upstream/
image: gadl/spot-debuild:stable
script:
- docker pull gadl/spot-debuild:stable
- docker run --rm=true -v $PWD:/remote gadl/spot-debuild:stable /remote/build.sh stable
- ls -l
- ./build.sh stable
- ls -l _build_stable
artifacts:
paths:
- _build_stable/
build-unstable:
stage: build
except:
- /^upstream/
image: gadl/spot-debuild
script:
- docker pull gadl/spot-debuild
- docker run --rm=true -v $PWD:/remote gadl/spot-debuild /remote/build.sh unstable
- ls -l
- ./build.sh unstable
- ls -l _build_unstable
artifacts:
paths:
- _build_unstable/
publish:
only:
- master
stage: publish
dependencies:
- build-stable
- build-unstable
script:
- dput lrde *.changes
- cd _build_stable
- ls -l
- echo dput lrde *.changes
- cd ../_build_unstable
- ls -l
- echo dput lrde *.changes
#!/bin/sh
cd /remote
rm -rf "_build_$1"
mkdir -p "_build_$1"
cd "_build_$1"
git clone https://gitlab.lrde.epita.fr/spot/divine-ltsmin-deb.git
cd divine-ltsmin-deb
case $1 in
......
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