Loading .gitignore 0 → 100644 +142 −0 Original line number Diff line number Diff line # Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] *$py.class # C extensions *.so # Distribution / packaging .Python build/ develop-eggs/ dist/ downloads/ eggs/ .eggs/ lib/ lib64/ parts/ sdist/ var/ wheels/ pip-wheel-metadata/ share/python-wheels/ *.egg-info/ .installed.cfg *.egg MANIFEST # PyInstaller # Usually these files are written by a python script from a template # before PyInstaller builds the exe, so as to inject date/other infos into it. *.manifest *.spec # Installer logs pip-log.txt pip-delete-this-directory.txt # Unit test / coverage reports htmlcov/ .tox/ .nox/ .coverage .coverage.* .cache nosetests.xml coverage.xml *.cover .hypothesis/ .pytest_cache/ # Translations *.mo *.pot # Django stuff: *.log local_settings.py db.sqlite3 # Flask stuff: instance/ .webassets-cache # Scrapy stuff: .scrapy # Sphinx documentation docs/_build/ # PyBuilder target/ # Jupyter Notebook .ipynb_checkpoints # IPython profile_default/ ipython_config.py # pyenv .python-version # pipenv # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. # However, in case of collaboration, if having platform-specific dependencies or dependencies # having no cross-platform support, pipenv may install dependencies that don’t work, or not # install all needed dependencies. #Pipfile.lock # celery beat schedule file celerybeat-schedule # SageMath parsed files *.sage.py # Environments .env .venv env/ venv/ ENV/ env.bak/ venv.bak/ # Spyder project settings .spyderproject .spyproject # Rope project settings .ropeproject # mkdocs documentation /site # mypy .mypy_cache/ .dmypy.json dmypy.json # Pyre type checker .pyre/ # Azure Functions artifacts bin obj appsettings.json local.settings.json # Azurite artifacts __blobstorage__ __queuestorage__ __azurite_db*__.json .python_packages .azure .devcontainer/ .vscode/ reports/ .github/ body.json .gitlab-ci.yml 0 → 100644 +17 −0 Original line number Diff line number Diff line # included templates include: # $TBC_NAMESPACE is a group variable; can be globally overridden # Docker template - component: "gitlab.com/$TBC_NAMESPACE/docker/gitlab-ci-docker@5.8" inputs: healthcheck-disabled: true trivy-disabled: true sbom-disabled: true build-args: "--cache-ttl=6h" prod-publish-strategy: "auto" # Python template - component: "gitlab.com/$TBC_NAMESPACE/python/gitlab-ci-python@6.6" inputs: image: "registry.hub.docker.com/library/python:3.11" package-enabled: true sbom-disabled: true Dockerfile 0 → 100644 +11 −0 Original line number Diff line number Diff line FROM registry.hub.docker.com/library/python:3.11-slim-buster COPY ./dist/*.whl /code/ RUN apt-get -y update && apt-get -y upgrade \ && rm -rf /var/lib/apt/lists/* \ && pip install /code/*.whl ENTRYPOINT [ "tbc-check" ] CMD [ "." ] No newline at end of file README.md 0 → 100644 +20 −0 Original line number Diff line number Diff line # to-be-continuous utils Various to-be-continuous internal utility tools. ## template-to-component This program helps migrating to-be-continuous legacy templates (include:project) to GitLab CI/CD components (include:component). Usage: ```bash # install dependencies poetry install # obtain help poetry run t2c --help # run tool poetry run t2c path/to/tbc/template ``` logo.png 0 → 100644 +14.9 KiB Loading image diff... Loading
.gitignore 0 → 100644 +142 −0 Original line number Diff line number Diff line # Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] *$py.class # C extensions *.so # Distribution / packaging .Python build/ develop-eggs/ dist/ downloads/ eggs/ .eggs/ lib/ lib64/ parts/ sdist/ var/ wheels/ pip-wheel-metadata/ share/python-wheels/ *.egg-info/ .installed.cfg *.egg MANIFEST # PyInstaller # Usually these files are written by a python script from a template # before PyInstaller builds the exe, so as to inject date/other infos into it. *.manifest *.spec # Installer logs pip-log.txt pip-delete-this-directory.txt # Unit test / coverage reports htmlcov/ .tox/ .nox/ .coverage .coverage.* .cache nosetests.xml coverage.xml *.cover .hypothesis/ .pytest_cache/ # Translations *.mo *.pot # Django stuff: *.log local_settings.py db.sqlite3 # Flask stuff: instance/ .webassets-cache # Scrapy stuff: .scrapy # Sphinx documentation docs/_build/ # PyBuilder target/ # Jupyter Notebook .ipynb_checkpoints # IPython profile_default/ ipython_config.py # pyenv .python-version # pipenv # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. # However, in case of collaboration, if having platform-specific dependencies or dependencies # having no cross-platform support, pipenv may install dependencies that don’t work, or not # install all needed dependencies. #Pipfile.lock # celery beat schedule file celerybeat-schedule # SageMath parsed files *.sage.py # Environments .env .venv env/ venv/ ENV/ env.bak/ venv.bak/ # Spyder project settings .spyderproject .spyproject # Rope project settings .ropeproject # mkdocs documentation /site # mypy .mypy_cache/ .dmypy.json dmypy.json # Pyre type checker .pyre/ # Azure Functions artifacts bin obj appsettings.json local.settings.json # Azurite artifacts __blobstorage__ __queuestorage__ __azurite_db*__.json .python_packages .azure .devcontainer/ .vscode/ reports/ .github/ body.json
.gitlab-ci.yml 0 → 100644 +17 −0 Original line number Diff line number Diff line # included templates include: # $TBC_NAMESPACE is a group variable; can be globally overridden # Docker template - component: "gitlab.com/$TBC_NAMESPACE/docker/gitlab-ci-docker@5.8" inputs: healthcheck-disabled: true trivy-disabled: true sbom-disabled: true build-args: "--cache-ttl=6h" prod-publish-strategy: "auto" # Python template - component: "gitlab.com/$TBC_NAMESPACE/python/gitlab-ci-python@6.6" inputs: image: "registry.hub.docker.com/library/python:3.11" package-enabled: true sbom-disabled: true
Dockerfile 0 → 100644 +11 −0 Original line number Diff line number Diff line FROM registry.hub.docker.com/library/python:3.11-slim-buster COPY ./dist/*.whl /code/ RUN apt-get -y update && apt-get -y upgrade \ && rm -rf /var/lib/apt/lists/* \ && pip install /code/*.whl ENTRYPOINT [ "tbc-check" ] CMD [ "." ] No newline at end of file
README.md 0 → 100644 +20 −0 Original line number Diff line number Diff line # to-be-continuous utils Various to-be-continuous internal utility tools. ## template-to-component This program helps migrating to-be-continuous legacy templates (include:project) to GitLab CI/CD components (include:component). Usage: ```bash # install dependencies poetry install # obtain help poetry run t2c --help # run tool poetry run t2c path/to/tbc/template ```