This repository has been archived by the owner on Sep 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
cookiecutter.json
36 lines (31 loc) · 2.16 KB
/
cookiecutter.json
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
{
"full_name": "John Doe",
"email": "[email protected]",
"vs": [
"github",
"bitbucket"
],
"vs_url": "{% if cookiecutter.vs|lower == 'github' %}github.com{% else %}bitbucket.your_org.com{% endif %}",
"vs_account": "{% if cookiecutter.vs|lower == 'github' %}tomtom-international{% else %}NAV{% endif %}",
"open_source_project": "{% if cookiecutter.vs|lower == 'bitbucket'%}n{% else %}y{% endif %}",
"project_name": "python-skeleton",
"project_slug": "{{ cookiecutter.project_name.lower().replace(' ', '_').replace('-', '_') }}",
"project_short_description": "Describe in a short sentence your Python package.",
"version": "0.0.1-dev",
"use_black_formatter": "n",
"use_spellcheck": "n",
"use_tox": "n",
"use_makefile": "n",
"ci": "{% if cookiecutter.vs|lower == 'github' %}azure{% else %}jenkins{% endif %}",
"ci_url": "{% if cookiecutter.ci|lower == 'azure' %}https://dev.azure.com{% else %}https://jenkins.your_org.com{% endif %}",
"ci_org_name": "{% if cookiecutter.ci|lower == 'azure' %}tomtomweb{% else %}{% endif %}",
"ci_project_name": "{% if cookiecutter.ci|lower == 'azure' %}GitHub-TomTom-International{% else %}{{ cookiecutter.vs_account }}{% endif %}",
"pypi_repo": "{% if cookiecutter.ci|lower == 'azure' %}https://pypi.org/legacy/{% else %}https://artifactory.your_org.com/artifactory/api/pypi/pypi-local{% endif %}",
"pypi_credentials_id": "{% if cookiecutter.ci|lower == 'azure' %}testpypi-tomtom-dev{% else %}artifactory-pypi{% endif %}",
"docker_registry_credentials_id": "{% if cookiecutter.ci|lower == 'azure' %}tomtom-docker-registry-bintray{% else %}artifactory-docker{% endif %}",
"azure_build_definition_id": "{% if cookiecutter.ci|lower == 'azure' %}5{% else %}N/A{% endif %}",
"jenkins_scm_credentials_id": "{% if cookiecutter.ci|lower == 'jenkins' %}bitbucket_user{% else %}N/A{% endif %}",
"build_command": "python setup.py build",
"lint_command": "python setup.py lint --lint-output-format parseable",
"test_command": "python setup.py test --addopts '--cov-report xml:build/coverage.xml --cov-report term --cov-branch --junitxml=build/test_results.xml'"
}