gitlab-projects-settings 6.2.0__tar.gz → 6.4.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/.coveragerc +4 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/.cz.yaml +23 -18
- gitlab_projects_settings-6.4.0/.gitlab-ci.yml +500 -0
- gitlab_projects_settings-6.4.0/.gitmodules +4 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/.pre-commit-config.yaml +34 -15
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/.vscode/extensions.json +1 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/.vscode/settings.json +7 -9
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/CHANGELOG.md +138 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/LICENSE +1 -1
- {gitlab_projects_settings-6.2.0/gitlab_projects_settings.egg-info → gitlab_projects_settings-6.4.0}/PKG-INFO +7 -5
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/README.md +2 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/containers/pages/Dockerfile +4 -1
- gitlab_projects_settings-6.4.0/containers/rehost/images.txt +6 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/docs/.pages.in +1 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/docs/prepare.sh +8 -1
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0/gitlab_projects_settings.egg-info}/PKG-INFO +7 -5
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/gitlab_projects_settings.egg-info/SOURCES.txt +3 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/gitlab_projects_settings.egg-info/requires.txt +3 -2
- gitlab_projects_settings-6.4.0/gitlab_projects_settings.egg-info/scm_file_list.json +76 -0
- gitlab_projects_settings-6.4.0/gitlab_projects_settings.egg-info/scm_version.json +8 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/mkdocs.yml +4 -1
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/requirements/pages.txt +2 -1
- gitlab_projects_settings-6.4.0/requirements/quality.txt +6 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/requirements/runtime.txt +3 -2
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/setup.py +1 -2
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/sonar-project.properties +1 -1
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/src/cli/entrypoint.py +83 -38
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/src/features/gitlab.py +42 -12
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/src/package/settings.py +2 -2
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/src/package/updates.py +7 -1
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/src/package/version.py +10 -4
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/src/system/platform.py +4 -4
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/src/types/strings.py +0 -9
- gitlab_projects_settings-6.2.0/.gitlab-ci.yml +0 -930
- gitlab_projects_settings-6.2.0/containers/rehost/images.txt +0 -6
- gitlab_projects_settings-6.2.0/requirements/quality.txt +0 -6
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/.gitattributes +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/.gitignore +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/.markdownlint.json +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/.style.yapf +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/config/cliff.toml +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/containers/build/Dockerfile +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/containers/codestyle/Dockerfile +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/containers/deploy/Dockerfile +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/containers/test-coverage-linux/Dockerfile +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/containers/test-coverage-windows/Dockerfile +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/containers/test-linux/Dockerfile +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/docs/assets/images/favicon.png +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/docs/assets/scripts/mkdocs-exporter.js +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/docs/assets/stylesheets/custom.css +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/docs/assets/stylesheets/pdf.scss +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/docs/robots.txt +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/docs/templates/covers/back.html.j2 +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/docs/templates/covers/front.html.j2 +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/gitlab_projects_settings.egg-info/dependency_links.txt +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/gitlab_projects_settings.egg-info/entry_points.txt +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/gitlab_projects_settings.egg-info/top_level.txt +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/mypy.ini +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/requirements/build.txt +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/requirements/coverage.txt +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/requirements/deploy.txt +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/requirements/tests.txt +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/setup.cfg +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/src/__init__.py +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/src/__main__.py +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/src/cli/__init__.py +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/src/cli/main.py +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/src/features/__init__.py +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/src/package/__init__.py +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/src/package/bundle.py +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/src/prints/__init__.py +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/src/prints/boxes.py +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/src/prints/colors.py +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/src/prints/themes.py +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/src/system/__init__.py +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/src/types/__init__.py +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/src/types/environments.py +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/src/types/gitlab.py +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/src/types/namespaces.py +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/tests/arguments/test.sh +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/tests/colors/test.sh +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/tests/macos/test.sh +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/tests/settings/test.sh +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/tests/versions/test.sh +0 -0
- {gitlab_projects_settings-6.2.0 → gitlab_projects_settings-6.4.0}/tests/windows/test.sh +0 -0
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
---
|
|
2
2
|
commitizen:
|
|
3
|
-
|
|
4
3
|
# commitizen configurations
|
|
5
4
|
always_signoff: true
|
|
6
5
|
bump_message: 'docs(changelog): regenerate release tag changes history'
|
|
@@ -21,6 +20,7 @@ commitizen:
|
|
|
21
20
|
# - Breaking change reimplemented with the standard '!' scope suffix
|
|
22
21
|
# - Questions simplified for professional usage
|
|
23
22
|
# - Type 'security' implemented for security related commits
|
|
23
|
+
# - Type 'deps' implemented for dependencies related commits
|
|
24
24
|
# - Accept temporary commits starting with 'wip' or 'WIP'
|
|
25
25
|
name: cz_customize
|
|
26
26
|
customize:
|
|
@@ -50,8 +50,10 @@ commitizen:
|
|
|
50
50
|
- security: Changes resolve security related issues
|
|
51
51
|
- test: Adding missing or correcting existing tests
|
|
52
52
|
- build: Changes to the build system or dependencies (example: makefile, pip, docker)
|
|
53
|
+
- deps: Changes to the dependencies (example: requirements, package, renovate)
|
|
53
54
|
- ci: Changes to CI configuration files and scripts (example: gitlab-ci)
|
|
54
55
|
- improvement: Changes that improve sources without any impact
|
|
56
|
+
- revert: Changes that revert a previous commit
|
|
55
57
|
- wip: Temporary commits meant for local developments and rebases
|
|
56
58
|
|
|
57
59
|
### Commit scope
|
|
@@ -88,7 +90,7 @@ commitizen:
|
|
|
88
90
|
{% if body %}\n{{body}}{% endif %}\
|
|
89
91
|
{% if footer %}\n{{footer}}{% endif %}\
|
|
90
92
|
{% if body or footer %}\n---{% endif %}\
|
|
91
|
-
|
|
93
|
+
"
|
|
92
94
|
questions:
|
|
93
95
|
- type: list
|
|
94
96
|
name: prefix
|
|
@@ -124,6 +126,9 @@ commitizen:
|
|
|
124
126
|
- value: build
|
|
125
127
|
name: 'build: Changes to the build system or dependencies (example: makefile, pip, docker)'
|
|
126
128
|
key: b
|
|
129
|
+
- value: deps
|
|
130
|
+
name: 'deps: Changes to the dependencies (example: requirements, package, renovate)'
|
|
131
|
+
key: n
|
|
127
132
|
- value: ci
|
|
128
133
|
name: 'ci: Changes to CI configuration files and scripts (example: gitlab-ci)'
|
|
129
134
|
key: c
|
|
@@ -144,7 +149,7 @@ commitizen:
|
|
|
144
149
|
name: body
|
|
145
150
|
message: 'Additional contextual message (Empty to skip) :'
|
|
146
151
|
default: 'Issue: #...'
|
|
147
|
-
filter: '
|
|
152
|
+
filter: 'break_multiple_line'
|
|
148
153
|
- type: input
|
|
149
154
|
name: footer
|
|
150
155
|
message: 'Footer information and references (Empty to skip) :'
|
|
@@ -161,28 +166,28 @@ commitizen:
|
|
|
161
166
|
<footer>
|
|
162
167
|
schema_pattern: "\
|
|
163
168
|
(?s)\
|
|
164
|
-
^(
|
|
169
|
+
^([Ww][Ii][Pp]).*$\
|
|
165
170
|
|\
|
|
166
|
-
(fix|feat|chore|docs|style|refactor|perf|test|build|ci|improvement|
|
|
171
|
+
(fix|feat|chore|docs|style|refactor|perf|security|test|build|deps|ci|improvement|revert)\
|
|
167
172
|
(\\([^\\n\\r]+\\))\
|
|
168
173
|
!?\
|
|
169
174
|
:\
|
|
170
|
-
|
|
171
|
-
([^\\n\\r]
|
|
175
|
+
[ ]\
|
|
176
|
+
([^\\n\\r ][^\\n\\r]*)\
|
|
172
177
|
((\\n\\n.*)|(\\s*))?\
|
|
173
178
|
(\\n[^\\n\r]+-by:.*)*\
|
|
174
179
|
$\
|
|
175
|
-
|
|
180
|
+
"
|
|
176
181
|
|
|
177
182
|
# commitizen styles
|
|
178
183
|
style:
|
|
179
|
-
- [
|
|
180
|
-
- [
|
|
181
|
-
- [
|
|
182
|
-
- [
|
|
183
|
-
- [
|
|
184
|
-
- [
|
|
185
|
-
- [
|
|
186
|
-
- [
|
|
187
|
-
- [
|
|
188
|
-
- [
|
|
184
|
+
- ['qmark', 'fg:#FF9D00 bold']
|
|
185
|
+
- ['question', 'bold']
|
|
186
|
+
- ['answer', 'fg:#FF9D00 bold']
|
|
187
|
+
- ['pointer', 'fg:#FF9D00 bold']
|
|
188
|
+
- ['highlighted', 'fg:#FF9D00 bold']
|
|
189
|
+
- ['selected', 'fg:#CC5454']
|
|
190
|
+
- ['separator', 'fg:#CC5454']
|
|
191
|
+
- ['instruction', '']
|
|
192
|
+
- ['text', '']
|
|
193
|
+
- ['disabled', 'fg:#858585 italic']
|
|
@@ -0,0 +1,500 @@
|
|
|
1
|
+
include:
|
|
2
|
+
- component: gitlab.com/RadianDevCore/tools/pre-commit-crocodile/commits@8.2.0
|
|
3
|
+
inputs:
|
|
4
|
+
stage: prepare
|
|
5
|
+
- project: RadianDevCore/gitlab-ci/components
|
|
6
|
+
file: /templates/clean.yml
|
|
7
|
+
ref: main
|
|
8
|
+
inputs:
|
|
9
|
+
stage: development
|
|
10
|
+
paths: ./build ./dist ./*.egg-info ./.eggs
|
|
11
|
+
- project: RadianDevCore/gitlab-ci/components
|
|
12
|
+
file: /templates/changelog.yml
|
|
13
|
+
ref: main
|
|
14
|
+
inputs:
|
|
15
|
+
stage: development
|
|
16
|
+
- project: RadianDevCore/gitlab-ci/components
|
|
17
|
+
file: /templates/gitlab-protections.yml
|
|
18
|
+
ref: main
|
|
19
|
+
inputs:
|
|
20
|
+
stage: development
|
|
21
|
+
- project: RadianDevCore/gitlab-ci/components
|
|
22
|
+
file: /templates/registry.yml
|
|
23
|
+
ref: main
|
|
24
|
+
inputs:
|
|
25
|
+
stage: registry
|
|
26
|
+
- project: RadianDevCore/gitlab-ci/components
|
|
27
|
+
file: /templates/python-codestyle.yml
|
|
28
|
+
ref: main
|
|
29
|
+
inputs:
|
|
30
|
+
stage: prepare
|
|
31
|
+
image: registry.gitlab.com/radiandevcore/tools/gitlab-projects-settings/gitlab-projects-settings:codestyle
|
|
32
|
+
paths: ./src/*.py ./src/*/*.py ./setup.py
|
|
33
|
+
- project: RadianDevCore/gitlab-ci/components
|
|
34
|
+
file: /templates/python-lint.yml
|
|
35
|
+
ref: main
|
|
36
|
+
inputs:
|
|
37
|
+
stage: prepare
|
|
38
|
+
image: registry.gitlab.com/radiandevcore/tools/gitlab-projects-settings/gitlab-projects-settings:codestyle
|
|
39
|
+
paths: ./src/ ./setup.py
|
|
40
|
+
- project: RadianDevCore/gitlab-ci/components
|
|
41
|
+
file: /templates/python-typings.yml
|
|
42
|
+
ref: main
|
|
43
|
+
inputs:
|
|
44
|
+
stage: prepare
|
|
45
|
+
image: registry.gitlab.com/radiandevcore/tools/gitlab-projects-settings/gitlab-projects-settings:codestyle
|
|
46
|
+
paths: ./src/ ./setup.py
|
|
47
|
+
- project: RadianDevCore/gitlab-ci/components
|
|
48
|
+
file: /templates/python-build.yml
|
|
49
|
+
ref: main
|
|
50
|
+
inputs:
|
|
51
|
+
stage: build
|
|
52
|
+
image: registry.gitlab.com/radiandevcore/tools/gitlab-projects-settings/gitlab-projects-settings:build
|
|
53
|
+
- project: RadianDevCore/gitlab-ci/components
|
|
54
|
+
file: /templates/python-install.yml
|
|
55
|
+
ref: main
|
|
56
|
+
inputs:
|
|
57
|
+
stage: build
|
|
58
|
+
- project: RadianDevCore/gitlab-ci/components
|
|
59
|
+
file: /templates/python-readme.yml
|
|
60
|
+
ref: main
|
|
61
|
+
inputs:
|
|
62
|
+
stage: build
|
|
63
|
+
- project: RadianDevCore/gitlab-ci/components
|
|
64
|
+
file: /templates/python-test.yml
|
|
65
|
+
ref: main
|
|
66
|
+
inputs:
|
|
67
|
+
stage: test
|
|
68
|
+
package: gitlab-projects-settings
|
|
69
|
+
timeout: 10m
|
|
70
|
+
- project: RadianDevCore/gitlab-ci/components
|
|
71
|
+
file: /templates/python-coverage.yml
|
|
72
|
+
ref: main
|
|
73
|
+
inputs:
|
|
74
|
+
stage: test
|
|
75
|
+
package: gitlab-projects-settings
|
|
76
|
+
- project: RadianDevCore/gitlab-ci/components
|
|
77
|
+
file: /templates/python-quality.yml
|
|
78
|
+
ref: main
|
|
79
|
+
inputs:
|
|
80
|
+
stage: quality
|
|
81
|
+
image: registry.gitlab.com/radiandevcore/tools/gitlab-projects-settings/gitlab-projects-settings:test-coverage-linux
|
|
82
|
+
- project: RadianDevCore/gitlab-ci/components
|
|
83
|
+
file: /templates/sonarcloud.yml
|
|
84
|
+
ref: main
|
|
85
|
+
inputs:
|
|
86
|
+
stage: quality
|
|
87
|
+
image: registry.gitlab.com/radiandevcore/tools/gitlab-projects-settings/sonarsource/sonar-scanner-cli:latest
|
|
88
|
+
- project: RadianDevCore/gitlab-ci/components
|
|
89
|
+
file: /templates/python-deploy.yml
|
|
90
|
+
ref: main
|
|
91
|
+
inputs:
|
|
92
|
+
stage: deploy
|
|
93
|
+
image: registry.gitlab.com/radiandevcore/tools/gitlab-projects-settings/gitlab-projects-settings:deploy
|
|
94
|
+
- project: RadianDevCore/gitlab-ci/components
|
|
95
|
+
file: /templates/pages.yml
|
|
96
|
+
ref: main
|
|
97
|
+
inputs:
|
|
98
|
+
stage: deploy
|
|
99
|
+
image: registry.gitlab.com/radiandevcore/tools/gitlab-projects-settings/gitlab-projects-settings:pages
|
|
100
|
+
pdf: gitlab-projects-settings
|
|
101
|
+
watch: ./config/* ./docs/.* ./docs/* ./mkdocs.yml ./README.md
|
|
102
|
+
|
|
103
|
+
stages:
|
|
104
|
+
- development
|
|
105
|
+
- registry
|
|
106
|
+
- prepare
|
|
107
|
+
- build
|
|
108
|
+
- test
|
|
109
|
+
- quality
|
|
110
|
+
- deploy
|
|
111
|
+
|
|
112
|
+
variables:
|
|
113
|
+
CI_LOCAL_ENGINE: 'docker,auto'
|
|
114
|
+
CI_LOCAL_REAL_PATHS: 'true'
|
|
115
|
+
CI_LOCAL_SOCKETS: 'true'
|
|
116
|
+
REGISTRY_HOST: registry.gitlab.com
|
|
117
|
+
REGISTRY_NAMESPACE: radiandevcore/tools
|
|
118
|
+
REGISTRY_PROJECT: gitlab-projects-settings
|
|
119
|
+
|
|
120
|
+
.local:
|
|
121
|
+
include:
|
|
122
|
+
'RadianDevCore/gitlab-ci/components': '.gitlab-ci.d'
|
|
123
|
+
no_regex: true
|
|
124
|
+
version: 12.0
|
|
125
|
+
volumes:
|
|
126
|
+
- ${HOME}/.docker/config.json:/root/.docker/config.json:ro
|
|
127
|
+
|
|
128
|
+
registry:build:
|
|
129
|
+
extends:
|
|
130
|
+
- .registry:container
|
|
131
|
+
variables:
|
|
132
|
+
BASEIMAGE_NAME: python:3.13-alpine
|
|
133
|
+
CONTAINER_FOLDER: build
|
|
134
|
+
CONTAINER_IMAGE_TAG: build
|
|
135
|
+
rules:
|
|
136
|
+
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
|
137
|
+
changes:
|
|
138
|
+
- containers/build/Dockerfile
|
|
139
|
+
- containers/rehost/images.txt
|
|
140
|
+
- requirements/build.txt
|
|
141
|
+
- requirements/runtime.txt
|
|
142
|
+
|
|
143
|
+
registry:codestyle:
|
|
144
|
+
extends:
|
|
145
|
+
- .registry:container
|
|
146
|
+
variables:
|
|
147
|
+
BASEIMAGE_NAME: python:3.13-alpine
|
|
148
|
+
CONTAINER_FOLDER: codestyle
|
|
149
|
+
CONTAINER_IMAGE_TAG: codestyle
|
|
150
|
+
rules:
|
|
151
|
+
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
|
152
|
+
changes:
|
|
153
|
+
- containers/codestyle/Dockerfile
|
|
154
|
+
- containers/rehost/images.txt
|
|
155
|
+
- requirements/quality.txt
|
|
156
|
+
- requirements/runtime.txt
|
|
157
|
+
- requirements/tests.txt
|
|
158
|
+
|
|
159
|
+
registry:deploy:
|
|
160
|
+
extends:
|
|
161
|
+
- .registry:container
|
|
162
|
+
variables:
|
|
163
|
+
BASEIMAGE_NAME: python:3.13-alpine
|
|
164
|
+
CONTAINER_FOLDER: deploy
|
|
165
|
+
CONTAINER_IMAGE_TAG: deploy
|
|
166
|
+
rules:
|
|
167
|
+
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
|
168
|
+
changes:
|
|
169
|
+
- containers/deploy/Dockerfile
|
|
170
|
+
- containers/rehost/images.txt
|
|
171
|
+
- requirements/deploy.txt
|
|
172
|
+
|
|
173
|
+
registry:pages:
|
|
174
|
+
extends:
|
|
175
|
+
- .registry:container
|
|
176
|
+
variables:
|
|
177
|
+
BASEIMAGE_NAME: python:3.13-slim
|
|
178
|
+
CONTAINER_FOLDER: pages
|
|
179
|
+
CONTAINER_IMAGE_TAG: pages
|
|
180
|
+
rules:
|
|
181
|
+
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
|
182
|
+
changes:
|
|
183
|
+
- containers/pages/Dockerfile
|
|
184
|
+
- containers/rehost/images.txt
|
|
185
|
+
- requirements/coverage.txt
|
|
186
|
+
- requirements/pages.txt
|
|
187
|
+
|
|
188
|
+
registry:test-coverage-linux:
|
|
189
|
+
extends:
|
|
190
|
+
- .registry:container
|
|
191
|
+
variables:
|
|
192
|
+
BASEIMAGE_NAME: python:3.13
|
|
193
|
+
CONTAINER_FOLDER: test-coverage-linux
|
|
194
|
+
CONTAINER_IMAGE_TAG: test-coverage-linux
|
|
195
|
+
rules:
|
|
196
|
+
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
|
197
|
+
changes:
|
|
198
|
+
- containers/rehost/images.txt
|
|
199
|
+
- containers/test-coverage-linux/Dockerfile
|
|
200
|
+
- requirements/coverage.txt
|
|
201
|
+
- requirements/runtime.txt
|
|
202
|
+
- requirements/tests.txt
|
|
203
|
+
|
|
204
|
+
registry:test-coverage-windows:
|
|
205
|
+
extends:
|
|
206
|
+
- .registry:container
|
|
207
|
+
variables:
|
|
208
|
+
BASEIMAGE_NAME: tobix/pywine:3.10
|
|
209
|
+
CONTAINER_FOLDER: test-coverage-windows
|
|
210
|
+
CONTAINER_IMAGE_TAG: test-coverage-windows
|
|
211
|
+
rules:
|
|
212
|
+
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
|
213
|
+
changes:
|
|
214
|
+
- containers/rehost/images.txt
|
|
215
|
+
- containers/test-coverage-windows/Dockerfile
|
|
216
|
+
- requirements/coverage.txt
|
|
217
|
+
- requirements/runtime.txt
|
|
218
|
+
- requirements/tests.txt
|
|
219
|
+
|
|
220
|
+
registry:test-oldest:
|
|
221
|
+
extends:
|
|
222
|
+
- .registry:container
|
|
223
|
+
variables:
|
|
224
|
+
BASEIMAGE_NAME: python:3.10
|
|
225
|
+
CONTAINER_FOLDER: test-linux
|
|
226
|
+
CONTAINER_IMAGE_TAG: test-oldest
|
|
227
|
+
rules:
|
|
228
|
+
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
|
229
|
+
changes:
|
|
230
|
+
- containers/rehost/images.txt
|
|
231
|
+
- containers/test-linux/Dockerfile
|
|
232
|
+
- requirements/tests.txt
|
|
233
|
+
|
|
234
|
+
registry:test-latest:
|
|
235
|
+
extends:
|
|
236
|
+
- .registry:container
|
|
237
|
+
variables:
|
|
238
|
+
BASEIMAGE_NAME: python:3.13
|
|
239
|
+
CONTAINER_FOLDER: test-linux
|
|
240
|
+
CONTAINER_IMAGE_TAG: test-latest
|
|
241
|
+
rules:
|
|
242
|
+
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
|
243
|
+
changes:
|
|
244
|
+
- containers/rehost/images.txt
|
|
245
|
+
- containers/test-linux/Dockerfile
|
|
246
|
+
- requirements/tests.txt
|
|
247
|
+
|
|
248
|
+
codestyle:
|
|
249
|
+
needs:
|
|
250
|
+
- job: registry:codestyle
|
|
251
|
+
artifacts: false
|
|
252
|
+
optional: true
|
|
253
|
+
rules:
|
|
254
|
+
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
|
255
|
+
changes:
|
|
256
|
+
- 'CHANGELOG.md'
|
|
257
|
+
- 'requirements/**/*'
|
|
258
|
+
- 'setup.py'
|
|
259
|
+
- 'src/**/*'
|
|
260
|
+
- if: $CI_COMMIT_TAG || $CI_PIPELINE_SOURCE == "trigger" || $CI_PIPELINE_SOURCE == "web" || $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
|
|
261
|
+
when: on_success
|
|
262
|
+
|
|
263
|
+
lint:
|
|
264
|
+
needs:
|
|
265
|
+
- job: registry:codestyle
|
|
266
|
+
artifacts: false
|
|
267
|
+
optional: true
|
|
268
|
+
rules:
|
|
269
|
+
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
|
270
|
+
changes:
|
|
271
|
+
- 'CHANGELOG.md'
|
|
272
|
+
- 'requirements/**/*'
|
|
273
|
+
- 'setup.py'
|
|
274
|
+
- 'src/**/*'
|
|
275
|
+
- if: $CI_COMMIT_TAG || $CI_PIPELINE_SOURCE == "trigger" || $CI_PIPELINE_SOURCE == "web" || $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
|
|
276
|
+
when: on_success
|
|
277
|
+
|
|
278
|
+
typings:
|
|
279
|
+
needs:
|
|
280
|
+
- job: registry:codestyle
|
|
281
|
+
artifacts: false
|
|
282
|
+
optional: true
|
|
283
|
+
rules:
|
|
284
|
+
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
|
285
|
+
changes:
|
|
286
|
+
- 'CHANGELOG.md'
|
|
287
|
+
- 'requirements/**/*'
|
|
288
|
+
- 'setup.py'
|
|
289
|
+
- 'src/**/*'
|
|
290
|
+
- if: $CI_COMMIT_TAG || $CI_PIPELINE_SOURCE == "trigger" || $CI_PIPELINE_SOURCE == "web" || $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
|
|
291
|
+
when: on_success
|
|
292
|
+
|
|
293
|
+
build:
|
|
294
|
+
extends:
|
|
295
|
+
- .build
|
|
296
|
+
needs:
|
|
297
|
+
- job: registry:build
|
|
298
|
+
artifacts: false
|
|
299
|
+
optional: true
|
|
300
|
+
- job: codestyle
|
|
301
|
+
artifacts: false
|
|
302
|
+
optional: true
|
|
303
|
+
- job: commits
|
|
304
|
+
artifacts: false
|
|
305
|
+
optional: true
|
|
306
|
+
- job: lint
|
|
307
|
+
artifacts: false
|
|
308
|
+
optional: true
|
|
309
|
+
- job: typings
|
|
310
|
+
artifacts: false
|
|
311
|
+
optional: true
|
|
312
|
+
rules:
|
|
313
|
+
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
|
314
|
+
changes:
|
|
315
|
+
- 'CHANGELOG.md'
|
|
316
|
+
- 'requirements/**/*'
|
|
317
|
+
- 'src/**/*'
|
|
318
|
+
- if: $CI_COMMIT_TAG || $CI_PIPELINE_SOURCE == "trigger" || $CI_PIPELINE_SOURCE == "web" || $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
|
|
319
|
+
when: on_success
|
|
320
|
+
|
|
321
|
+
.test:rules:
|
|
322
|
+
rules:
|
|
323
|
+
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
|
324
|
+
changes:
|
|
325
|
+
- 'CHANGELOG.md'
|
|
326
|
+
- 'requirements/**/*'
|
|
327
|
+
- 'src/**/*'
|
|
328
|
+
- if: $CI_COMMIT_TAG || $CI_PIPELINE_SOURCE == "trigger" || $CI_PIPELINE_SOURCE == "web" || $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
|
|
329
|
+
when: on_success
|
|
330
|
+
|
|
331
|
+
.coverage:rules:
|
|
332
|
+
rules:
|
|
333
|
+
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
|
334
|
+
changes:
|
|
335
|
+
- 'CHANGELOG.md'
|
|
336
|
+
- 'requirements/**/*'
|
|
337
|
+
- 'sonar-project.properties'
|
|
338
|
+
- 'src/**/*'
|
|
339
|
+
- 'tests/**/*'
|
|
340
|
+
- if: $CI_COMMIT_TAG || $CI_PIPELINE_SOURCE == "trigger" || $CI_PIPELINE_SOURCE == "web" || $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
|
|
341
|
+
when: on_success
|
|
342
|
+
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
|
|
343
|
+
when: always
|
|
344
|
+
|
|
345
|
+
coverage:linux:
|
|
346
|
+
extends:
|
|
347
|
+
- .coverage:template
|
|
348
|
+
- .coverage:rules
|
|
349
|
+
image: registry.gitlab.com/radiandevcore/tools/gitlab-projects-settings/gitlab-projects-settings:test-coverage-linux
|
|
350
|
+
needs:
|
|
351
|
+
- job: registry:test-coverage-linux
|
|
352
|
+
artifacts: false
|
|
353
|
+
optional: true
|
|
354
|
+
variables:
|
|
355
|
+
COVERAGE_EXCLUDE_ALSO: 'pragma: macos cover|pragma: windows cover'
|
|
356
|
+
COVERAGE_FILE: ${CI_PROJECT_DIR}/coverage-reports/.coverage-linux
|
|
357
|
+
COVERAGE_XML: ${CI_PROJECT_DIR}/coverage-reports/coverage-linux.xml
|
|
358
|
+
|
|
359
|
+
coverage:windows:
|
|
360
|
+
extends:
|
|
361
|
+
- .coverage:template
|
|
362
|
+
- .coverage:rules
|
|
363
|
+
image: registry.gitlab.com/radiandevcore/tools/gitlab-projects-settings/gitlab-projects-settings:test-coverage-windows
|
|
364
|
+
needs:
|
|
365
|
+
- job: registry:test-coverage-windows
|
|
366
|
+
artifacts: false
|
|
367
|
+
optional: true
|
|
368
|
+
variables:
|
|
369
|
+
COVERAGE_FILE: ${CI_PROJECT_DIR}/coverage-reports/.coverage-windows
|
|
370
|
+
COVERAGE_EXCLUDE_ALSO: 'pragma: linux cover|pragma: macos cover'
|
|
371
|
+
COVERAGE_XML: ${CI_PROJECT_DIR}/coverage-reports/coverage-windows.xml
|
|
372
|
+
SUITE: 'colors\|versions\|windows'
|
|
373
|
+
|
|
374
|
+
py3.10:
|
|
375
|
+
extends:
|
|
376
|
+
- .test:template
|
|
377
|
+
- .test:rules
|
|
378
|
+
image: registry.gitlab.com/radiandevcore/tools/gitlab-projects-settings/gitlab-projects-settings:test-oldest
|
|
379
|
+
|
|
380
|
+
py3.13:
|
|
381
|
+
extends:
|
|
382
|
+
- .test:template
|
|
383
|
+
- .test:rules
|
|
384
|
+
image: registry.gitlab.com/radiandevcore/tools/gitlab-projects-settings/gitlab-projects-settings:test-latest
|
|
385
|
+
|
|
386
|
+
quality:coverage:
|
|
387
|
+
needs:
|
|
388
|
+
- job: registry:test-coverage-linux
|
|
389
|
+
artifacts: false
|
|
390
|
+
optional: true
|
|
391
|
+
- job: coverage:linux
|
|
392
|
+
- job: coverage:windows
|
|
393
|
+
variables:
|
|
394
|
+
COVERAGE_FILE: !reference ['.coverage:scripts', variables, COVERAGE_COMMON_FILE]
|
|
395
|
+
COVERAGE_RCFILE: !reference ['.coverage:scripts', variables, COVERAGE_RCFILE]
|
|
396
|
+
rules: !reference ['.coverage:rules', rules]
|
|
397
|
+
|
|
398
|
+
quality:sonarcloud:
|
|
399
|
+
needs:
|
|
400
|
+
- job: registry:rehost
|
|
401
|
+
artifacts: false
|
|
402
|
+
optional: true
|
|
403
|
+
- job: coverage:linux
|
|
404
|
+
- job: coverage:windows
|
|
405
|
+
rules:
|
|
406
|
+
- if: $SONAR_HOST_URL == null || $SONAR_TOKEN == null
|
|
407
|
+
when: never
|
|
408
|
+
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
|
409
|
+
changes:
|
|
410
|
+
- 'CHANGELOG.md'
|
|
411
|
+
- 'requirements/**/*'
|
|
412
|
+
- 'sonar-project.properties'
|
|
413
|
+
- 'src/**/*'
|
|
414
|
+
- 'tests/**/*'
|
|
415
|
+
when: always
|
|
416
|
+
- if: $CI_COMMIT_REF_NAME == 'main'
|
|
417
|
+
when: always
|
|
418
|
+
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
|
|
419
|
+
when: always
|
|
420
|
+
- when: never
|
|
421
|
+
|
|
422
|
+
deploy:release:
|
|
423
|
+
needs:
|
|
424
|
+
- job: registry:deploy
|
|
425
|
+
artifacts: false
|
|
426
|
+
optional: true
|
|
427
|
+
- job: build
|
|
428
|
+
- job: coverage:linux
|
|
429
|
+
artifacts: false
|
|
430
|
+
- job: coverage:windows
|
|
431
|
+
artifacts: false
|
|
432
|
+
- job: py3.10
|
|
433
|
+
artifacts: false
|
|
434
|
+
- job: py3.13
|
|
435
|
+
artifacts: false
|
|
436
|
+
|
|
437
|
+
deploy:trial:
|
|
438
|
+
needs:
|
|
439
|
+
- job: registry:deploy
|
|
440
|
+
artifacts: false
|
|
441
|
+
optional: true
|
|
442
|
+
- job: build
|
|
443
|
+
- job: coverage:linux
|
|
444
|
+
artifacts: false
|
|
445
|
+
- job: coverage:windows
|
|
446
|
+
artifacts: false
|
|
447
|
+
- job: py3.10
|
|
448
|
+
artifacts: false
|
|
449
|
+
- job: py3.13
|
|
450
|
+
artifacts: false
|
|
451
|
+
|
|
452
|
+
.pages:rules:
|
|
453
|
+
rules:
|
|
454
|
+
changes:
|
|
455
|
+
- '.gitlab-ci.yml'
|
|
456
|
+
- 'CHANGELOG.md'
|
|
457
|
+
- 'mkdocs.yml'
|
|
458
|
+
- 'LICENSE'
|
|
459
|
+
- 'README.md'
|
|
460
|
+
- 'docs/**/*'
|
|
461
|
+
- 'requirements/**/*'
|
|
462
|
+
|
|
463
|
+
pages:
|
|
464
|
+
extends:
|
|
465
|
+
- .pages
|
|
466
|
+
needs:
|
|
467
|
+
- job: registry:pages
|
|
468
|
+
artifacts: false
|
|
469
|
+
optional: true
|
|
470
|
+
- job: build
|
|
471
|
+
artifacts: false
|
|
472
|
+
optional: true
|
|
473
|
+
- job: py3.10
|
|
474
|
+
artifacts: false
|
|
475
|
+
optional: true
|
|
476
|
+
- job: py3.13
|
|
477
|
+
artifacts: false
|
|
478
|
+
optional: true
|
|
479
|
+
- job: quality:coverage
|
|
480
|
+
artifacts: true
|
|
481
|
+
optional: true
|
|
482
|
+
cache:
|
|
483
|
+
key: '${CI_JOB_NAME}'
|
|
484
|
+
paths:
|
|
485
|
+
- coverage-reports/html
|
|
486
|
+
rules:
|
|
487
|
+
- if: $CI_COMMIT_TAG || $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
|
488
|
+
changes: !reference ['.pages:rules', rules, changes]
|
|
489
|
+
- if: $CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED
|
|
490
|
+
changes: !reference ['.pages:rules', rules, changes]
|
|
491
|
+
allow_failure: true
|
|
492
|
+
when: manual
|
|
493
|
+
|
|
494
|
+
pdf:
|
|
495
|
+
extends:
|
|
496
|
+
- pages
|
|
497
|
+
rules:
|
|
498
|
+
- if: $CI_COMMIT_TAG
|
|
499
|
+
- if: $CI_COMMIT_BRANCH
|
|
500
|
+
changes: !reference ['.pages:rules', rules, changes]
|