|
1
|
|
-image: gajim-master:latest
|
|
2
|
|
-
|
|
3
|
1
|
workflow:
|
|
4
|
2
|
rules:
|
|
5
|
3
|
- if: $NIGHTLY_BUILD
|
| ... |
... |
@@ -14,16 +12,23 @@ stages: |
|
14
|
12
|
- publish
|
|
15
|
13
|
|
|
16
|
14
|
test-other:
|
|
|
15
|
+ image: gajim-test
|
|
17
|
16
|
stage: test
|
|
18
|
17
|
script:
|
|
19
|
|
- - codespell gajim
|
|
20
|
|
- - pip3 install build
|
|
21
|
18
|
- python3 -m build
|
|
22
|
19
|
- python3 ./pep517build/build_metadata.py
|
|
23
|
20
|
- appstream-util validate dist/metadata/org.gajim.Gajim.appdata.xml
|
|
24
|
21
|
interruptible: true
|
|
25
|
22
|
|
|
|
23
|
+test-codespell:
|
|
|
24
|
+ image: gajim-test
|
|
|
25
|
+ stage: test
|
|
|
26
|
+ script:
|
|
|
27
|
+ - codespell gajim
|
|
|
28
|
+ interruptible: true
|
|
|
29
|
+
|
|
26
|
30
|
test-pyright:
|
|
|
31
|
+ image: gajim-test
|
|
27
|
32
|
stage: test
|
|
28
|
33
|
rules:
|
|
29
|
34
|
- changes:
|
| ... |
... |
@@ -32,32 +37,31 @@ test-pyright: |
|
32
|
37
|
- pip3 install git+https://dev.gajim.org/gajim/python-nbxmpp.git
|
|
33
|
38
|
- pip3 install git+https://dev.gajim.org/gajim/omemo-dr.git
|
|
34
|
39
|
- pip3 install --config-settings=config=Gtk3,Gdk3,GtkSource4 git+https://github.com/pygobject/pygobject-stubs.git
|
|
35
|
|
- - npm install pyright@1.1.302
|
|
36
|
|
- - node_modules/.bin/pyright --version
|
|
37
|
|
- - node_modules/.bin/pyright
|
|
|
40
|
+ - pyright
|
|
38
|
41
|
interruptible: true
|
|
39
|
42
|
|
|
40
|
43
|
test-ruff:
|
|
|
44
|
+ image: gajim-test
|
|
41
|
45
|
stage: test
|
|
42
|
46
|
rules:
|
|
43
|
47
|
- changes:
|
|
44
|
48
|
- "**/*.py"
|
|
45
|
49
|
script:
|
|
46
|
|
- - pip3 install ruff==0.0.259
|
|
47
|
50
|
- ruff .
|
|
48
|
51
|
interruptible: true
|
|
49
|
52
|
|
|
50
|
53
|
test-isort:
|
|
|
54
|
+ image: gajim-test
|
|
51
|
55
|
stage: test
|
|
52
|
56
|
rules:
|
|
53
|
57
|
- changes:
|
|
54
|
58
|
- "**/*.py"
|
|
55
|
59
|
script:
|
|
56
|
|
- - pip3 install isort==5.12.0
|
|
57
|
60
|
- isort --check .
|
|
58
|
61
|
interruptible: true
|
|
59
|
62
|
|
|
60
|
63
|
test-unittest:
|
|
|
64
|
+ image: gajim-test
|
|
61
|
65
|
stage: test
|
|
62
|
66
|
script:
|
|
63
|
67
|
- pip3 install -I git+https://dev.gajim.org/gajim/python-nbxmpp.git
|
| ... |
... |
@@ -73,7 +77,7 @@ test-unittest: |
|
73
|
77
|
interruptible: true
|
|
74
|
78
|
|
|
75
|
79
|
build-unix:
|
|
76
|
|
- image: gajim-build:latest
|
|
|
80
|
+ image: gajim-build
|
|
77
|
81
|
stage: build
|
|
78
|
82
|
dependencies: []
|
|
79
|
83
|
rules:
|
| ... |
... |
@@ -91,7 +95,7 @@ build-unix: |
|
91
|
95
|
- dist/gajim-*.whl
|
|
92
|
96
|
|
|
93
|
97
|
build-debian-nightly:
|
|
94
|
|
- image: gajim-build:latest
|
|
|
98
|
+ image: gajim-build
|
|
95
|
99
|
stage: build
|
|
96
|
100
|
variables:
|
|
97
|
101
|
REV: "1"
|
| ... |
... |
@@ -114,7 +118,7 @@ build-debian-nightly: |
|
114
|
118
|
- debian_build/*
|
|
115
|
119
|
|
|
116
|
120
|
build-windows:
|
|
117
|
|
- image: gajim-build:latest
|
|
|
121
|
+ image: gajim-build
|
|
118
|
122
|
stage: build
|
|
119
|
123
|
dependencies: []
|
|
120
|
124
|
rules:
|
| ... |
... |
@@ -135,7 +139,7 @@ build-windows: |
|
135
|
139
|
- windows_build/*.json
|
|
136
|
140
|
|
|
137
|
141
|
build-windows-nightly:
|
|
138
|
|
- image: gajim-build:latest
|
|
|
142
|
+ image: gajim-build
|
|
139
|
143
|
stage: build
|
|
140
|
144
|
dependencies: []
|
|
141
|
145
|
rules:
|
| ... |
... |
@@ -157,7 +161,7 @@ build-windows-nightly: |
|
157
|
161
|
- windows_build/*.json
|
|
158
|
162
|
|
|
159
|
163
|
deploy-unix:
|
|
160
|
|
- image: gajim-deploy:latest
|
|
|
164
|
+ image: gajim-deploy
|
|
161
|
165
|
stage: deploy
|
|
162
|
166
|
dependencies:
|
|
163
|
167
|
- build-unix
|
| ... |
... |
@@ -174,7 +178,7 @@ deploy-unix: |
|
174
|
178
|
"$(find dist/gajim-*.tar.gz)"
|
|
175
|
179
|
|
|
176
|
180
|
deploy-unix-nightly:
|
|
177
|
|
- image: gajim-deploy:latest
|
|
|
181
|
+ image: gajim-deploy
|
|
178
|
182
|
stage: deploy
|
|
179
|
183
|
dependencies:
|
|
180
|
184
|
- build-unix
|
| ... |
... |
@@ -197,7 +201,7 @@ deploy-unix-nightly: |
|
197
|
201
|
"$(find dist/gajim-*.tar.gz)"
|
|
198
|
202
|
|
|
199
|
203
|
deploy-debian-nightly:
|
|
200
|
|
- image: gajim-deploy:latest
|
|
|
204
|
+ image: gajim-deploy
|
|
201
|
205
|
stage: deploy
|
|
202
|
206
|
dependencies:
|
|
203
|
207
|
- build-debian-nightly
|
| ... |
... |
@@ -220,7 +224,7 @@ deploy-debian-nightly: |
|
220
|
224
|
debian_build
|
|
221
|
225
|
|
|
222
|
226
|
deploy-windows:
|
|
223
|
|
- image: gajim-deploy:latest
|
|
|
227
|
+ image: gajim-deploy
|
|
224
|
228
|
stage: deploy
|
|
225
|
229
|
dependencies:
|
|
226
|
230
|
- build-windows
|
| ... |
... |
@@ -238,7 +242,7 @@ deploy-windows: |
|
238
|
242
|
windows_build
|
|
239
|
243
|
|
|
240
|
244
|
deploy-windows-nightly:
|
|
241
|
|
- image: gajim-deploy:latest
|
|
|
245
|
+ image: gajim-deploy
|
|
242
|
246
|
stage: deploy
|
|
243
|
247
|
dependencies:
|
|
244
|
248
|
- build-windows-nightly
|
| ... |
... |
@@ -263,7 +267,7 @@ deploy-windows-nightly: |
|
263
|
267
|
windows_build
|
|
264
|
268
|
|
|
265
|
269
|
deploy-flatpak:
|
|
266
|
|
- image: gajim-deploy:latest
|
|
|
270
|
+ image: gajim-deploy
|
|
267
|
271
|
stage: deploy
|
|
268
|
272
|
dependencies: []
|
|
269
|
273
|
rules:
|
| ... |
... |
@@ -286,7 +290,7 @@ deploy-flatpak: |
|
286
|
290
|
- git push
|
|
287
|
291
|
|
|
288
|
292
|
publish-website:
|
|
289
|
|
- image: gajim-publish:latest
|
|
|
293
|
+ image: gajim-publish
|
|
290
|
294
|
stage: publish
|
|
291
|
295
|
dependencies: []
|
|
292
|
296
|
rules:
|
| ... |
... |
@@ -305,7 +309,7 @@ publish-website: |
|
305
|
309
|
- git push
|
|
306
|
310
|
|
|
307
|
311
|
publish-release:
|
|
308
|
|
- image: gajim-publish:latest
|
|
|
312
|
+ image: gajim-publish
|
|
309
|
313
|
stage: publish
|
|
310
|
314
|
dependencies: []
|
|
311
|
315
|
rules:
|