Skip to content

Commit c82cfb4

Browse files
feat(BUILD-4592): cleanup
1 parent 8b0b36a commit c82cfb4

7 files changed

+7
-329
lines changed

.cirrus.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ poetry_cache_template: &POETRY_CACHE
3333
<<: *CONTAINER_DEFINITION
3434
<<: *POETRY_CACHE
3535
poetry_install_script:
36-
- source .cirrus/set_poetry_build_version "$CI_BUILD_NUMBER"
36+
- source set_poetry_build_version "$CI_BUILD_NUMBER"
3737
- echo "PROJECT_VERSION=$PROJECT_VERSION" >> $CIRRUS_ENV
3838
- jfrog config add repox --artifactory-url "$ARTIFACTORY_URL" --access-token "$ARTIFACTORY_PRIVATE_ACCESS_TOKEN"
3939
- jfrog poetry-config --server-id-resolve repox --repo-resolve sonarsource-pypi
@@ -43,7 +43,7 @@ build_task:
4343
<<: *POETRY_TEMPLATE
4444
alias: build
4545
name: "Build"
46-
build_script: .cirrus/regular_poetry_build_publish
46+
build_script: regular_poetry_build_publish
4747

4848
promote_task:
4949
depends_on:
@@ -56,4 +56,4 @@ promote_task:
5656
BURGR_PASSWORD: VAULT[development/kv/data/burgr data.cirrus_password]
5757
ARTIFACTS: :sonar_dummy_python_oss:tar.gz,:sonar_dummy_python_oss:whl:py3-none-any
5858
<<: *POETRY_TEMPLATE
59-
promote_script: .cirrus/cirrus_promote
59+
promote_script: cirrus_promote

.cirrus/burgr-notify-promotion

-80
This file was deleted.

.cirrus/cirrus_promote

-19
This file was deleted.

.cirrus/regular_poetry_build_publish

-31
This file was deleted.

.cirrus/set_poetry_build_version

-25
This file was deleted.

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: sonar-release
3-
# This workflow is triggered when publishing a new github release
3+
# This workflow is triggered when publishing a new GitHub release
44
# yamllint disable-line rule:truthy
55
on:
66
release:
@@ -15,7 +15,7 @@ jobs:
1515
permissions:
1616
id-token: write
1717
contents: write
18-
uses: SonarSource/gh-action_release/.github/workflows/main.yaml@feat/jd/BUILD-4665-python-releasability
18+
uses: SonarSource/gh-action_release/.github/workflows/main.yaml@master
1919
with:
2020
publishToPyPI: true
2121
publishToTestPyPI: true

.gitignore

+2-169
Original file line numberDiff line numberDiff line change
@@ -1,173 +1,6 @@
1-
# Byte-compiled / optimized / DLL files
2-
__pycache__/
3-
*.py[cod]
4-
*$py.class
5-
6-
# C extensions
7-
*.so
8-
91
# Distribution / packaging
10-
.Python
11-
build/
12-
develop-eggs/
132
dist/
14-
downloads/
15-
eggs/
16-
.eggs/
17-
lib/
18-
lib64/
19-
parts/
20-
sdist/
21-
var/
22-
wheels/
23-
share/python-wheels/
24-
*.egg-info/
25-
.installed.cfg
26-
*.egg
27-
MANIFEST
28-
29-
# PyInstaller
30-
# Usually these files are written by a python script from a template
31-
# before PyInstaller builds the exe, so as to inject date/other infos into it.
32-
*.manifest
33-
*.spec
34-
35-
# Installer logs
36-
pip-log.txt
37-
pip-delete-this-directory.txt
38-
39-
# Unit test / coverage reports
40-
htmlcov/
41-
.tox/
42-
.nox/
43-
.coverage
44-
.coverage.*
45-
.cache
46-
nosetests.xml
47-
coverage.xml
48-
*.cover
49-
*.py,cover
50-
.hypothesis/
51-
.pytest_cache/
52-
cover/
53-
54-
# Translations
55-
*.mo
56-
*.pot
57-
58-
# Django stuff:
59-
*.log
60-
local_settings.py
61-
db.sqlite3
62-
db.sqlite3-journal
63-
64-
# Flask stuff:
65-
instance/
66-
.webassets-cache
67-
68-
# Scrapy stuff:
69-
.scrapy
70-
71-
# Sphinx documentation
72-
docs/_build/
73-
74-
# PyBuilder
75-
.pybuilder/
76-
target/
77-
78-
# Jupyter Notebook
79-
.ipynb_checkpoints
80-
81-
# IPython
82-
profile_default/
83-
ipython_config.py
84-
85-
# pyenv
86-
# For a library or package, you might want to ignore these files since the code is
87-
# intended to run in multiple environments; otherwise, check them in:
88-
.python-version
89-
90-
# pipenv
91-
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
92-
# However, in case of collaboration, if having platform-specific dependencies or dependencies
93-
# having no cross-platform support, pipenv may install dependencies that don't work, or not
94-
# install all needed dependencies.
95-
#Pipfile.lock
96-
97-
# poetry
98-
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
99-
# This is especially recommended for binary packages to ensure reproducibility, and is more
100-
# commonly ignored for libraries.
101-
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
102-
#poetry.lock
1033

104-
# pdm
105-
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
106-
#pdm.lock
107-
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
108-
# in version control.
109-
# https://pdm.fming.dev/#use-with-ide
110-
.pdm.toml
111-
112-
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
113-
__pypackages__/
114-
115-
# Celery stuff
116-
celerybeat-schedule
117-
celerybeat.pid
118-
119-
# SageMath parsed files
120-
*.sage.py
121-
122-
# Environments
123-
.env
124-
.venv
125-
env/
126-
venv/
127-
ENV/
128-
env.bak/
129-
venv.bak/
130-
131-
*/.env
132-
*/.venv
133-
*/env/
134-
*/venv/
135-
*/ENV/
136-
*/env.bak/
137-
*/venv.bak/
138-
139-
# Spyder project settings
140-
.spyderproject
141-
.spyproject
142-
143-
# Rope project settings
144-
.ropeproject
145-
146-
# mkdocs documentation
147-
/site
148-
149-
# mypy
150-
.mypy_cache/
151-
.dmypy.json
152-
dmypy.json
153-
154-
# Pyre type checker
155-
.pyre/
156-
157-
# pytype static type analyzer
158-
.pytype/
159-
160-
# Cython debug symbols
161-
cython_debug/
162-
163-
# PyCharm
164-
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
165-
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
166-
# and can be added to the global gitignore or merged into this file. For a more nuclear
167-
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
4+
# PyCharm, IntelliJ, JetBrains
1685
.idea/
169-
170-
171-
# Sonar
172-
*.scanner
173-
*.scannerwork
6+
*.iml

0 commit comments

Comments
 (0)