Commit 6fd99d19 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz

work on gitlab-ci integration

parent bb43feb8
Pipeline #348 failed with stages
in 8 minutes and 27 seconds
...@@ -7,21 +7,40 @@ build-stable: ...@@ -7,21 +7,40 @@ build-stable:
stage: build stage: build
except: except:
- /^upstream/ - /^upstream/
image: gadl/spot-debuild:stable
script: script:
- docker pull gadl/spot-debuild:stable - ls -l
- docker run --rm=true -v $PWD:/remote gadl/spot-debuild:stable /remote/build.sh stable - ./build.sh stable
- ls -l _build_stable
artifacts:
paths:
- _build_stable/
build-unstable: build-unstable:
stage: build stage: build
except: except:
- /^upstream/ - /^upstream/
image: gadl/spot-debuild
script: script:
- docker pull gadl/spot-debuild - ls -l
- docker run --rm=true -v $PWD:/remote gadl/spot-debuild /remote/build.sh unstable - ./build.sh unstable
- ls -l _build_unstable
artifacts:
paths:
- _build_unstable/
publish: publish:
only: only:
- master - master
stage: publish stage: publish
dependencies:
- build-stable
- build-unstable
script: script:
- cd _build_stable
- ls -l
- dput lrde *.changes - dput lrde *.changes
- cd ../_build_unstable
- ls -l
- dput lrde *.changes
#!/bin/sh #!/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 git clone https://gitlab.lrde.epita.fr/spot/divine-ltsmin-deb.git
cd divine-ltsmin-deb cd divine-ltsmin-deb
case $1 in case $1 in
......
divine-ltsmin (1.3-2) unstable; urgency=medium
* Setup gitlab CI.
-- Alexandre Duret-Lutz <adl@lrde.epita.fr> Wed, 24 Jan 2018 17:50:08 +0100
divine-ltsmin (1.3-1) unstable; urgency=medium divine-ltsmin (1.3-1) unstable; urgency=medium
* Update to version 1.3. * Update to version 1.3.
......
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