forked from 3liz/py-qgis-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
70 lines (60 loc) · 975 Bytes
/
.gitlab-ci.yml
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
variables:
FACTORY_PRODUCT_NAME: pyqgis-server
FACTORY_PACKAGE_TYPE: application
stages:
- test
- build
- docker
- deploy
- release
- post_release
#-----------------
# Tests
#-----------------
.tests:
stage: test
script:
- make manifest test FLAVOR=$QGIS_FLAVOR
tags:
- infrav3-dind
tests:release:
extends: .tests
variables:
QGIS_FLAVOR: release
tests:ltr:
extends: .tests
variables:
QGIS_FLAVOR: ltr
#---------------
# Build
#---------------
build:
stage: build
script:
- make dist deliver
environment:
name: snap
tags:
- infrav3-plain
only:
refs:
- tags
- master
except:
- schedules
- triggers
# Docker build
include: '/docker/.gitlab-ci.yml'
tickets:
stage: post_release
only:
- tags
needs:
- "release:release"
- "release:ltr"
image:
name: registry.snap.lizlan:5000/infra/ci-tools:latest
script:
- create_ticket.py
tags:
- factory-plain