forked from yahoo/redislite
-
Notifications
You must be signed in to change notification settings - Fork 1
/
screwdriver.yaml
137 lines (118 loc) · 3.78 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
version: 4
shared:
environment:
CHANGELOG_FILENAME: docs/source/topic/changelog.md
PACKAGE_DIRECTORY: redislite
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_ml1_64:
template: python/package_python
image: manylinux1_64
environment:
PACKAGE_TYPES: wheel
PUBLISH: False
requires: [~commit, ~pr]
pkg_ml2010:
template: python/package_python
image: manylinux2010
environment:
PACKAGE_TYPES: wheel
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
PUBLISH: True
TWINE_REPOSITORY_URL: https://test.pypi.org/legacy/
requires: [validate_test, validate_lint, validate_codestyle, validate_documentation, pkg_sdist, pkg_ml1_64, pkg_ml2010, pkg_ml2014, generate_version]
publish_test_pypi_ml1:
template: python/package_python
image: manylinux1_64
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_ml1_64, pkg_ml2010, 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_ml1_64, pkg_ml2010, 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_ml1:
template: python/validate_pypi_package
image: manylinux1_64
environment:
PYPI_INDEX_URL: https://test.pypi.org/simple
requires: [publish_test_pypi_ml1]
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_ml1, verify_test_pkg_ml2014]
publish_pypi:
# This template runs in a manylinux2010 container and
# publishes manylinux2010 wheels
template: python/package_python
environment:
PUBLISH: True
requires: [verify_test_pkg, verify_test_pkg_ml1, verify_test_pkg_ml2014]
publish_pypi_ml1_64:
template: python/package_python
image: manylinux1_64
environment:
PACKAGE_TAG: False
PACKAGE_TYPES: wheel
PUBLISH: True
requires: [verify_test_pkg, verify_test_pkg_ml1, 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_ml1, verify_test_pkg_ml2014]