forked from yahoo/TensorFlowOnSpark
-
Notifications
You must be signed in to change notification settings - Fork 0
/
screwdriver.yaml
63 lines (54 loc) · 1.5 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
# Copyright 2017, Verizon Inc.
# Licensed under the terms of the apache license. See the LICENSE file in the project root for terms
version: 4
shared:
environment:
PACKAGE_DIRECTORY: tensorflowonspark
SPARK_HOME: ${SD_ROOT_DIR}/spark
TOX_ARGS: '--verbose'
TOX_ENVLIST: py37
annotations:
screwdriver.cd/cpu: HIGH
screwdriver.cd/ram: HIGH
jobs:
validate_test:
template: python/validate_unittest
requires: [~commit, ~pr]
steps:
- prevalidate_code: |
source scripts/install_spark.sh
validate_lint:
template: python/validate_lint
requires: [~commit, ~pr]
validate_codestyle:
template: python/validate_codestyle
requires: [~commit, ~pr]
validate_safetydb:
template: python/validate_safety
requires: [~commit, ~pr]
# validate_security:
# template: python/validate_security
# requires: [~commit, ~pr]
publish_test_pypi:
template: python/package_python
environment:
PUBLISH: True
TWINE_REPOSITORY_URL: https://test.pypi.org/legacy/
requires: [~tag:/^v\.*/]
steps:
- update_version: |
echo 'using version from setup.cfg'
publish_pypi:
template: python/package_python
environment:
PUBLISH: True
requires: [publish_test_pypi]
steps:
- update_version: |
echo 'using version from setup.cfg'
publish_documentation:
template: python/documentation
requires: [publish_pypi]
steps:
- update_version: |
echo 'using version from setup.cfg'