/
config.yml
772 lines (770 loc) · 24.3 KB
/
config.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
version: 2.1
orbs:
shellcheck: circleci/shellcheck@3.2.0
jobs:
pip-install:
docker:
- image: cimg/python:3.11.7
resource_class: small
steps:
- checkout
- restore_cache:
key: pip-{{ checksum "pyproject.toml" }}-v1
- run:
name: Install pip dependencies
command: |
if [[ -d ".venv" ]]; then
echo "Virtual environment restored from cache, skipping pip install"
else
python3 -m venv .venv
source .venv/bin/activate
pip install -e .[dev-pinned,pinned]
fi
- save_cache:
key: pip-{{ checksum "pyproject.toml" }}-v1
paths:
- .venv
- integreat_cms.egg-info
- /home/circleci/.cache/pip
- persist_to_workspace:
root: .
paths:
- .venv
- integreat_cms.egg-info
black:
docker:
- image: cimg/python:3.11.7
resource_class: small
steps:
- checkout
- attach_workspace:
at: .
- run:
name: Enable virtual environment
command: echo "source .venv/bin/activate" >> $BASH_ENV
- run:
name: Check black code style
command: black --check .
djlint:
docker:
- image: cimg/python:3.11.7
resource_class: small
steps:
- checkout
- attach_workspace:
at: .
- run:
name: Enable virtual environment
command: echo "source .venv/bin/activate" >> $BASH_ENV
- run:
name: Check formatting of Django templates
command: djlint --check --lint integreat_cms
isort:
docker:
- image: cimg/python:3.11.7
resource_class: small
steps:
- checkout
- attach_workspace:
at: .
- run:
name: Enable virtual environment
command: echo "source .venv/bin/activate" >> $BASH_ENV
- run:
name: Check isort code style
command: isort --check .
pylint:
docker:
- image: cimg/python:3.11.7
resource_class: small
steps:
- checkout
- attach_workspace:
at: .
- run:
name: Run pylint
command: ./tools/pylint.sh
ruff:
docker:
- image: cimg/python:3.11.7
resource_class: small
steps:
- checkout
- attach_workspace:
at: .
- run:
name: Enable virtual environment
command: echo "source .venv/bin/activate" >> $BASH_ENV
- run:
name: Run ruff
command: |
ruff check
# ruff format
mypy:
docker:
- image: cimg/python:3.11.7
resource_class: small
steps:
- checkout
- attach_workspace:
at: .
- run:
name: Run my[py]
command: ./tools/mypy.sh
check-release-notes:
docker:
- image: cimg/python:3.11.7
resource_class: small
steps:
- checkout
- attach_workspace:
at: .
- run:
name: Install requirements
command: sudo apt-get update && sudo apt-get install pcregrep
- run:
name: Check release notes in Markdown
command: ./tools/make_release_notes.sh --format=md --all
- run:
name: Check release notes in reStructuredText
command: ./tools/make_release_notes.sh --format=rst --all
- run:
name: Check release notes in raw format
command: ./tools/make_release_notes.sh --format=raw --all
check-translations:
docker:
- image: cimg/python:3.11.7
resource_class: small
steps:
- checkout
- attach_workspace:
at: .
- run:
name: Install translation requirements
command: sudo apt-get update && sudo apt-get install gettext pcregrep
- run:
name: Check translation file for missing or empty entries
command: ./tools/check_translations.sh
compile-translations:
docker:
- image: cimg/python:3.11.7
resource_class: small
steps:
- checkout
- attach_workspace:
at: .
- run:
name: Install gettext
command: sudo apt-get update && sudo apt-get install gettext
- run:
name: Enable virtual environment
command: echo "source .venv/bin/activate" >> $BASH_ENV
- run:
name: Compile translation file
command: |
cd integreat_cms
integreat-cms-cli compilemessages --settings=integreat_cms.core.circleci_settings
- persist_to_workspace:
root: .
paths:
- integreat_cms/locale/*/LC_MESSAGES/django.mo
npm-install:
docker:
- image: "cimg/node:lts"
resource_class: small
steps:
- checkout
- restore_cache:
keys:
- npm-{{ checksum "package-lock.json" }}-v2
- run:
name: Install npm dependencies
command: |
if [[ -d "node_modules" ]]; then
echo "Node modules restored from cache, skipping npm install"
else
npm ci
if [[ -n $(git diff --shortstat package-lock.json) ]]; then
echo "package-lock.json is out of date:"
git --no-pager diff package-lock.json
exit 1
fi
fi
- save_cache:
key: npm-{{ checksum "package-lock.json" }}-v2
paths:
- node_modules
- persist_to_workspace:
root: .
paths:
- node_modules
prettier:
docker:
- image: "cimg/node:lts"
resource_class: small
steps:
- checkout
- attach_workspace:
at: .
- run:
name: Check formatting of CSS & JS files
command: npx prettier --check .
eslint:
docker:
- image: "cimg/node:lts"
resource_class: small
steps:
- checkout
- attach_workspace:
at: .
- run:
name: Lint static CSS, JS & YAML files
command: npx eslint .
shellcheck:
docker:
- image: cimg/base:stable
steps:
- checkout
- shellcheck/install:
version: 0.9.0
- shellcheck/check:
dir: ./tools
external_sources: true
webpack:
docker:
- image: "cimg/node:lts"
steps:
- checkout
- attach_workspace:
at: .
- run:
name: Compile and bundle CSS and JS
command: npm run prod
- persist_to_workspace:
root: .
paths:
- integreat_cms/static/dist
- integreat_cms/webpack-stats.json
check-migrations:
docker:
- image: cimg/python:3.11.7
- image: cimg/postgres:14.1
environment:
POSTGRES_USER: integreat
POSTGRES_DB: integreat
POSTGRES_PASSWORD: password
resource_class: small
steps:
- checkout
- attach_workspace:
at: .
- run:
name: Enable virtual environment
command: echo "source .venv/bin/activate" >> $BASH_ENV
- run:
name: Check for missing migrations
command: integreat-cms-cli makemigrations cms --check --settings=integreat_cms.core.circleci_settings
setup-test-reporter:
docker:
- image: cimg/base:stable
resource_class: small
steps:
- attach_workspace:
at: .
- run:
name: Install CodeClimate Test Reporter
command: |
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
chmod +x ./cc-test-reporter
- run:
name: Notify CodeClimate of a pending report
command: ./cc-test-reporter before-build
- persist_to_workspace:
root: .
paths:
- cc-test-reporter
test:
docker:
- image: cimg/python:3.11.7
- image: cimg/postgres:14.1
environment:
POSTGRES_USER: integreat
POSTGRES_DB: integreat
POSTGRES_PASSWORD: password
resource_class: large
parallelism: 16
steps:
- checkout
- attach_workspace:
at: .
- run:
name: Enable virtual environment
command: echo "source .venv/bin/activate" >> $BASH_ENV
- run:
name: Migrate database
command: integreat-cms-cli migrate --settings=integreat_cms.core.circleci_settings
- run:
name: Run tests
command: pytest --circleci-parallelize --disable-warnings --cov=integreat_cms --cov-report xml --junitxml=test-results/junit.xml --ds=integreat_cms.core.circleci_settings
- run:
name: Format test coverage
command: ./cc-test-reporter format-coverage -t coverage.py -o "coverage/codeclimate.$CIRCLE_NODE_INDEX.json"
- store_test_results:
path: test-results
- store_artifacts:
path: test-results
- persist_to_workspace:
root: .
paths:
- cc-test-reporter
- coverage
- run:
name: Copy CMS log
command: cp integreat_cms/integreat-cms.log integreat-cms.log
when: on_fail
- store_artifacts:
path: integreat-cms.log
upload-test-coverage:
docker:
- image: cimg/base:stable
resource_class: small
steps:
- attach_workspace:
at: .
- run:
name: Install CodeClimate Test Reporter
command: |
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
chmod +x ./cc-test-reporter
- run:
name: Sum coverage data and upload to CodeClimate
command: |
./cc-test-reporter sum-coverage -o - coverage/codeclimate.*.json | ./cc-test-reporter upload-coverage --debug --input -
build-package:
docker:
- image: cimg/python:3.11.7
resource_class: small
steps:
- checkout
- attach_workspace:
at: .
- run:
name: Enable virtual environment
command: echo "source .venv/bin/activate" >> $BASH_ENV
- run:
name: Use alternative README.md file
command: mv integreat_cms/README.md .
- run:
name: Build integreat-cms package
command: python3 -m build
- persist_to_workspace:
root: .
paths:
- dist
publish-package:
docker:
- image: cimg/python:3.11.7
resource_class: small
steps:
- checkout
- attach_workspace:
at: .
- run:
name: Enable virtual environment
command: echo "source .venv/bin/activate" >> $BASH_ENV
- run:
name: Publish integreat-cms package to (Test-)PyPI
command: twine upload --non-interactive ./dist/integreat_cms-*.tar.gz
build-documentation:
docker:
- image: cimg/python:3.11.7
resource_class: large
steps:
- checkout
- attach_workspace:
at: .
- run:
name: Install requirements
command: sudo apt-get update && sudo apt-get install pcregrep
- run:
name: Generate documentation
command: ./tools/make_docs.sh
- persist_to_workspace:
root: .
paths:
- docs/dist
deploy-documentation:
docker:
- image: cimg/python:3.11.7
resource_class: small
environment:
BRANCH: gh-pages
DOC_DIR: docs/dist
TMP_DIR: .gh-pages
steps:
- attach_workspace:
at: .
- add_ssh_keys:
fingerprints: aa:6c:35:24:8a:80:d8:6a:f3:d7:b1:b3:49:42:a2:b3
- run:
name: Add GitHub's Public SSH Key to known hosts
command: echo 'github.com ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCj7ndNxQowgcQnjshcLrqPEiiphnt+VTTvDP6mHBL9j1aNUkY4Ue1gvwnGLVlOhGeYrnZaMgRK6+PKCUXaDbC7qtbW8gIkhL7aGCsOr/C56SJMy/BCZfxd1nWzAOxSDPgVsmerOBYfNqltV9/hWCqBywINIR+5dIg6JTJ72pcEpEjcYgXkE2YEFXV1JHnsKgbLWNlhScqb2UmyRkQyytRLtL+38TGxkxCflmO+5Z8CSSNY7GidjMIZ7Q4zMjA2n1nGrlTDkzwDCsw+wqFPGQA179cnfGWOWRVruj16z6XyvxvjJwbz0wQZ75XK5tKSb7FNyeIEs4TT4jk+S4dhPeAUC5y+bDYirYgM4GC7uEnztnZyaVWQ7B381AK4Qdrwt51ZqExKbQpTUNn+EjqoTwvqNj4kqx5QUCI0ThS/YkOxJCXmPUWZbhjpCg56i+2aB6CmK2JGhn57K5mj0MNdBXA4/WnwH6XoPWJzK5Nyu2zB3nAZp+S5hpQs+p1vN1/wsjk=' >> ~/.ssh/known_hosts
- run:
name: Prepare git config
command: |
git config --global user.name DigitalfabrikMember
git config --global user.email 41921676+DigitalfabrikMember@users.noreply.github.com
- run:
name: Clone existing gh-pages branch into temporary directory
command: git clone --depth=1 $CIRCLE_REPOSITORY_URL -b $BRANCH $TMP_DIR
- run:
when: on_fail
name: Initialize gh-pages branch in new temporary git directory
command: |
git init $TMP_DIR
cd $TMP_DIR
git remote add origin $CIRCLE_REPOSITORY_URL
git checkout -b $BRANCH
- run:
name: Copy documentation into temporary directory
command: |
rm -rfv ${TMP_DIR}/*
cp -Rv ${TMP_DIR}/../${DOC_DIR}/. $TMP_DIR
- run:
name: Push documentation to GitHub Pages
command: |
cd $TMP_DIR
git add --all
git commit -m "Update documentation of commit ${CIRCLE_SHA1} [skip ci]" || true
git push origin $BRANCH
bump-dev-version:
docker:
- image: cimg/python:3.11.7
resource_class: small
steps:
- checkout
- attach_workspace:
at: .
- run:
name: Enable virtual environment
command: echo "source .venv/bin/activate" >> $BASH_ENV
- run:
name: Bump version
command: |
# Install recent version of pip
echo "Upgrade pip to make sure 'pip index' is available"
pip install --upgrade pip
# Check which versions of integreat-cms are available on the TestPyPI repository
AVAILABLE_VERSIONS=$(pip index versions integreat-cms --pre -i https://test.pypi.org/simple/)
echo "Current available versions on TestPyPI: ${AVAILABLE_VERSIONS}"
CURRENT_ALPHA_VERSION=$(echo "${AVAILABLE_VERSIONS}" | head -n 1)
echo "Most recent version on TestPyPI: ${CURRENT_ALPHA_VERSION}"
CURRENT_ALPHA_VERSION=$(echo "${CURRENT_ALPHA_VERSION}" | sed "s/integreat-cms (\([^()]*\)a0)/\1-alpha/")
echo "Version converted to alternative format: ${CURRENT_ALPHA_VERSION}"
# Get current prod version
CURRENT_VERSION=$(python -c "import integreat_cms; print(integreat_cms.__version__)")
echo "Current production version: ${CURRENT_VERSION}"
# Bump version to current alpha version if it is newer
# Attention: exit(True) in Python means exit(1) which is False in Bash :)
if python -c "from bumpver.version import parse_version; exit(parse_version('${CURRENT_VERSION}') > parse_version('${CURRENT_ALPHA_VERSION}'))"; then
echo "Bump to the currently existing version"
bumpver update -n --set-version="${CURRENT_ALPHA_VERSION}" --no-commit
fi
# Bump version to next alpha version
echo "Bump to the next version"
bumpver update -n -t alpha --no-commit
- persist_to_workspace:
root: .
paths:
- pyproject.toml
- integreat_cms/__init__.py
bump-version:
docker:
- image: cimg/python:3.11.7
resource_class: small
steps:
- checkout
- attach_workspace:
at: .
- run:
name: Install requirements
command: sudo apt-get update && sudo apt-get install pcregrep
- run:
name: Enable virtual environment
command: echo "source .venv/bin/activate" >> $BASH_ENV
- run:
name: Request installation access token to authorize as Deliverino app
command: echo "export DELIVERINO_ACCESS_TOKEN=$(./.circleci/scripts/get_access_token.py)" >> $BASH_ENV
- run:
name: Config git repository to commit & push as Deliverino app
command: |
git config user.name "deliverino[bot]"
git config user.email "62934656+deliverino[bot]@users.noreply.github.com"
git remote set-url origin "https://x-access-token:$DELIVERINO_ACCESS_TOKEN@github.com/digitalfabrik/integreat-cms.git"
- run:
name: Bump version
command: bumpver update --tag=final
- run:
name: Get tag of newly created version
command: |
eval $(bumpver show --env -n)
echo "export CURRENT_VERSION=$CURRENT_VERSION" >> $BASH_ENV
- run:
name: Update release notes
command: |
# Move "unreleased" entries to new version directory
OLD_DIR="integreat_cms/release_notes/current/unreleased"
NEW_DIR="integreat_cms/release_notes/$(echo "${CURRENT_VERSION}" | cut -c1-4)"
mkdir -p "${NEW_DIR}"
git mv "${OLD_DIR}" "${NEW_DIR}/${CURRENT_VERSION}"
git commit --amend --no-edit
- run:
name: Tag and push commit
command: |
# Get most recent release notes
RELEASE_NOTES=$(./tools/make_release_notes.sh --format=raw --no-subheading)
git tag --annotate "${CURRENT_VERSION}" --message "${RELEASE_NOTES}"
git push origin --follow-tags "${CURRENT_VERSION}" HEAD
- run:
name: Merge version bump into develop
command: git checkout develop && git merge main --commit --no-edit && git push
create-release:
docker:
- image: cimg/python:3.11.7
resource_class: small
steps:
- checkout
- attach_workspace:
at: .
- run:
name: Install requirements
command: sudo apt-get update && sudo apt-get install pcregrep
- run:
name: Enable virtual environment
command: echo "source .venv/bin/activate" >> $BASH_ENV
- run:
name: Request installation access token to authorize as Deliverino app
command: echo "export DELIVERINO_ACCESS_TOKEN=$(./.circleci/scripts/get_access_token.py)" >> $BASH_ENV
- run:
name: Get previous version tag
command: |
PREV_TAG=$(git describe --abbrev=0 --tags "${CIRCLE_TAG}^") || true
echo "export PREV_TAG=\"${PREV_TAG}\"" >> $BASH_ENV
- run:
name: Get release notes
command: |
RELEASE_NOTES=$(./tools/make_release_notes.sh --format=raw --no-heading --no-subheading | sed "s/\"/'/g")
echo "export RELEASE_NOTES=\"${RELEASE_NOTES}\"" >> $BASH_ENV
- run:
name: Get contributors
command: |
CONTRIBUTORS=$(./.circleci/scripts/get_contributors.py "${DELIVERINO_ACCESS_TOKEN}" "${PREV_TAG}" "${CIRCLE_TAG}" -v)
echo "export CONTRIBUTORS=\"${CONTRIBUTORS}\"" >> $BASH_ENV
- run:
name: Create release as Deliverino app
command: ./.circleci/scripts/create_release.py "${DELIVERINO_ACCESS_TOKEN}" "${CIRCLE_TAG}" "${PREV_TAG}" "${RELEASE_NOTES}" "${CONTRIBUTORS}" ./dist/integreat_cms-*.tar.gz
notify-mattermost:
docker:
- image: cimg/base:stable
resource_class: small
steps:
- checkout
- run:
name: Install requirements
command: sudo apt-get update && sudo apt-get install pcregrep
- run:
name: Notify mattermost about release
command: |
# Get most recent release notes
RELEASE_NOTES=$(./tools/make_release_notes.sh --format=md --no-heading --no-subheading | sed "s/\"/'/g")
# Build notification message
MM_MESSAGE="##### Integreat CMS version [${CIRCLE_TAG}](https://github.com/digitalfabrik/integreat-cms/releases/tag/${CIRCLE_TAG}) has been released successfully :tada:\n\n###### **Release Notes:**\n\n${RELEASE_NOTES}"
# Send message to mattermost
STATUS=$(curl -o /dev/null -s -w "%{http_code}\n" -X POST -H 'Content-type: application/json' \
--data \
"{
\"channel\": \"releases\",
\"username\": \"circleci\",
\"icon_emoji\": \":integreat:\",
\"text\": \"${MM_MESSAGE}\"
}" "${MM_WEBHOOK}")
if [ "$STATUS" -ne "200" ]; then
echo "Notification not sent due to an error (HTTP status: ${STATUS})."
exit 1
fi
echo "Notification sent!"
workflows:
develop:
jobs:
- pip-install:
filters:
branches:
ignore: main
- npm-install:
filters:
branches:
ignore: main
- prettier:
requires:
- npm-install
- webpack:
requires:
- npm-install
- check-migrations:
requires:
- pip-install
- setup-test-reporter:
context: codeclimate
filters:
branches:
ignore: main
- test:
requires:
- pip-install
- webpack
- compile-translations
- setup-test-reporter
- upload-test-coverage:
context: codeclimate
requires:
- test
filters:
branches:
only: /^(?!pull\/).*$/
- check-release-notes:
filters:
branches:
ignore: main
- check-translations:
requires:
- pip-install
- compile-translations:
requires:
- pip-install
- bump-dev-version:
filters:
branches:
only:
- develop
- /.*-publish-dev-package/
requires:
- pip-install
- build-package:
name: build-dev-package
requires:
- webpack
- compile-translations
- bump-dev-version
- publish-package:
name: publish-dev-package
context: pypi-test
filters:
branches:
only:
- develop
- /.*-publish-dev-package/
requires:
- build-dev-package
- black:
requires:
- pip-install
- djlint:
requires:
- pip-install
- isort:
requires:
- pip-install
- pylint:
requires:
- pip-install
- ruff:
requires:
- pip-install
- mypy:
requires:
- pip-install
- eslint:
requires:
- npm-install
- shellcheck:
filters:
branches:
ignore: main
- build-documentation:
requires:
- pip-install
- deploy-documentation:
requires:
- build-documentation
filters:
branches:
only: develop
main:
jobs:
- pip-install:
name: pip-install-main
filters:
branches:
only: main
- bump-version:
context: deliverino
requires:
- pip-install-main
deploy:
jobs:
- pip-install:
name: pip-install-deploy
filters:
tags:
only: /.*/
branches:
ignore: /.*/
- npm-install:
name: npm-install-deploy
filters:
tags:
only: /.*/
branches:
ignore: /.*/
- webpack:
name: webpack-deploy
requires:
- npm-install-deploy
filters:
tags:
only: /.*/
- compile-translations:
name: compile-translations-deploy
requires:
- pip-install-deploy
filters:
tags:
only: /.*/
- build-package:
requires:
- webpack-deploy
- compile-translations-deploy
filters:
tags:
only: /.*/
- publish-package:
context: pypi
requires:
- build-package
filters:
tags:
only: /.*/
- create-release:
context: deliverino
requires:
- publish-package
filters:
tags:
only: /.*/
- notify-mattermost:
context: mattermost
requires:
- create-release
filters:
tags:
only: /.*/