.gitlab-ci.yml 511 Bytes
Newer Older
Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27

stages:
  - build
  - publish

build-stable:
  stage: build
  except:
    - /^upstream/
  script:
    - docker pull gadl/spot-debuild:stable
    - docker run --rm=true -v $PWD:/remote gadl/spot-debuild:stable /remote/build.sh stable

build-unstable:
  stage: build
  except:
    - /^upstream/
  script:
    - docker pull gadl/spot-debuild
    - docker run --rm=true -v $PWD:/remote gadl/spot-debuild /remote/build.sh unstable

publish:
  only:
    - master
  stage: publish
  script:
    - dput lrde *.changes