summaryrefslogtreecommitdiff
path: root/debian/gitlab-ci.yml
blob: b310db53f40c79a5f43c02721cf3965a69ceb750 (plain)
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
28
---
include:
  - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
  - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml

stages:
  - provisioning
  - build
  - publish
  - test
  - deploy

pages:
  image: registry.salsa.debian.org/salsa-ci-team/ci-image-git-buildpackage:latest
  stage: deploy
  allow_failure: true
  artifacts:
    paths:
      - public
  only:
    - master
  script:
    - mkdir ${CI_PROJECT_DIR}/debian/output/aptly; cd ${CI_PROJECT_DIR}/debian/output/aptly
    - gitlab-ci-aptly
    - cd ${CI_PROJECT_DIR}
    - mv ${CI_PROJECT_DIR}/debian/output/aptly/public .
  dependencies:
    - build