-
Notifications
You must be signed in to change notification settings - Fork 74
/
screwdriver.yaml
101 lines (87 loc) · 2.7 KB
/
screwdriver.yaml
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
version: 4
shared:
environment:
CHANGELOG_FILENAME: docs/source/topic/changelog.md
PACKAGE_DIRECTORY: redislite
REDIS_VERSION: '6.2.14'
TOX_ENVLIST: py38,py39,py310,py311
steps:
- postinit_os: build_scripts/update_redis_server.py
jobs:
validate_test:
template: python/validate_unittest
requires: [~commit, ~pr]
validate_lint:
template: python/validate_lint
requires: [~commit, ~pr]
validate_codestyle:
template: python/validate_codestyle
requires: [~commit, ~pr]
validate_documentation:
template: python/documentation
environment:
DOCUMENTATION_PUBLISH: False
requires: [~commit, ~pr]
pkg_sdist:
template: python/package_python
environment:
PACKAGE_TYPES: sdist
PUBLISH: False
requires: [~commit, ~pr]
pkg_ml2014:
template: python/package_python
image: manylinux2014
environment:
PACKAGE_TYPES: wheel
PUBLISH: False
requires: [~commit, ~pr]
generate_version:
template: python/generate_version
requires: [~commit]
publish_test_pypi:
template: python/package_python
environment:
PACKAGE_TAG: False
PACKAGE_TYPES: sdist
PUBLISH: True
TWINE_REPOSITORY_URL: https://test.pypi.org/legacy/
requires: [validate_test, validate_lint, validate_codestyle, validate_documentation, pkg_sdist, pkg_ml2014, generate_version]
publish_test_pypi_ml2014:
template: python/package_python
image: manylinux2014
environment:
PACKAGE_TAG: False
PACKAGE_TYPES: wheel
PUBLISH: True
TWINE_REPOSITORY_URL: https://test.pypi.org/legacy/
requires: [validate_test, validate_lint, validate_codestyle, validate_documentation, pkg_sdist, pkg_ml2014, generate_version]
verify_test_pkg:
template: python/validate_pypi_package
environment:
PYPI_INDEX_URL: https://test.pypi.org/simple
requires: [publish_test_pypi]
verify_test_pkg_ml2014:
template: python/validate_pypi_package
image: manylinux2014
environment:
PYPI_INDEX_URL: https://test.pypi.org/simple
requires: [publish_test_pypi_ml2014]
publish_documentation:
template: python/documentation
requires: [verify_test_pkg, verify_test_pkg_ml2014]
publish_pypi:
# This template runs in a manylinux2010 container and
# publishes manylinux2010 wheels
template: python/package_python
environment:
PACKAGE_TYPES: sdist
PUBLISH: True
requires: [verify_test_pkg, verify_test_pkg_ml2014]
publish_pypi_ml2014:
template: python/package_python
image: manylinux2014
environment:
PACKAGE_TAG: False
PACKAGE_TYPES: wheel
PUBLISH: True
requires: [verify_test_pkg, verify_test_pkg_ml2014]