@@ -55,16 +55,16 @@ build-layer ({{ $runtime.name }}-{{ $runtime.arch }}):
55
55
script:
56
56
- PYTHON_VERSION={ { $runtime .python_version } } ARCH={ { $runtime .arch } } ./scripts/build_layers.sh
57
57
58
- check-layer-size ({ { $runtime .name } }-{ { $runtime .arch } }):
59
- stage: test
60
- tags: ["arch:amd64"]
61
- image: registry.ddbuild.io/images/docker:20.10
62
- needs:
63
- - build-layer ({ { $runtime .name } }-{ { $runtime .arch } })
64
- dependencies:
65
- - build-layer ({ { $runtime .name } }-{ { $runtime .arch } })
66
- script:
67
- - PYTHON_VERSION={ { $runtime .python_version } } ARCH={ { $runtime .arch } } ./scripts/check_layer_size.sh
58
+ # check-layer-size ({ { $runtime .name } }-{ { $runtime .arch } }):
59
+ # stage: test
60
+ # tags: ["arch:amd64"]
61
+ # image: registry.ddbuild.io/images/docker:20.10
62
+ # needs:
63
+ # - build-layer ({ { $runtime .name } }-{ { $runtime .arch } })
64
+ # dependencies:
65
+ # - build-layer ({ { $runtime .name } }-{ { $runtime .arch } })
66
+ # script:
67
+ # - PYTHON_VERSION={ { $runtime .python_version } } ARCH={ { $runtime .arch } } ./scripts/check_layer_size.sh
68
68
69
69
lint python:
70
70
stage: test
@@ -76,35 +76,35 @@ lint python:
76
76
- source venv/bin/activate
77
77
- ./scripts/check_format.sh
78
78
79
- unit-test ({ { $runtime .name } }-{ { $runtime .arch } }):
80
- stage: test
81
- tags: ["arch:amd64"]
82
- image: registry.ddbuild.io/images/mirror/python:{ { $runtime .image } }
83
- cache: & { { $runtime .name } }-{ { $runtime .arch } }-cache
84
- before_script: *python-before-script
85
- script:
86
- - source venv/bin/activate
87
- - pytest -vv
79
+ # unit-test ({ { $runtime .name } }-{ { $runtime .arch } }):
80
+ # stage: test
81
+ # tags: ["arch:amd64"]
82
+ # image: registry.ddbuild.io/images/mirror/python:{ { $runtime .image } }
83
+ # cache: & { { $runtime .name } }-{ { $runtime .arch } }-cache
84
+ # before_script: *python-before-script
85
+ # script:
86
+ # - source venv/bin/activate
87
+ # - pytest -vv
88
88
89
- integration-test ({ { $runtime .name } }-{ { $runtime .arch } }):
90
- stage: test
91
- tags: ["arch:amd64"]
92
- image: registry.ddbuild.io/images/docker:20.10-py3
93
- needs:
94
- - build-layer ({ { $runtime .name } }-{ { $runtime .arch } })
95
- dependencies:
96
- - build-layer ({ { $runtime .name } }-{ { $runtime .arch } })
97
- cache: & { { $runtime .name } }-{ { $runtime .arch } }-cache
98
- variables:
99
- CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true"
100
- before_script:
101
- - *install-node
102
- - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh
103
- - yarn global add serverless@^3.38.0 --prefix /usr/local
104
- - yarn global add serverless-python-requirements@^6.1.1 --prefix /usr/local
105
- - cd integration_tests && yarn install && cd ..
106
- script:
107
- - RUNTIME_PARAM={ { $runtime .python_version } } ARCH={ { $runtime .arch } } ./scripts/run_integration_tests.sh
89
+ # integration-test ({ { $runtime .name } }-{ { $runtime .arch } }):
90
+ # stage: test
91
+ # tags: ["arch:amd64"]
92
+ # image: registry.ddbuild.io/images/docker:20.10-py3
93
+ # needs:
94
+ # - build-layer ({ { $runtime .name } }-{ { $runtime .arch } })
95
+ # dependencies:
96
+ # - build-layer ({ { $runtime .name } }-{ { $runtime .arch } })
97
+ # cache: & { { $runtime .name } }-{ { $runtime .arch } }-cache
98
+ # variables:
99
+ # CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true"
100
+ # before_script:
101
+ # - *install-node
102
+ # - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh
103
+ # - yarn global add serverless@^3.38.0 --prefix /usr/local
104
+ # - yarn global add serverless-python-requirements@^6.1.1 --prefix /usr/local
105
+ # - cd integration_tests && yarn install && cd ..
106
+ # script:
107
+ # - RUNTIME_PARAM={ { $runtime .python_version } } ARCH={ { $runtime .arch } } ./scripts/run_integration_tests.sh
108
108
109
109
sign-layer ({ { $runtime .name } }-{ { $runtime .arch } }):
110
110
stage: sign
@@ -115,10 +115,10 @@ sign-layer ({{ $runtime.name }}-{{ $runtime.arch }}):
115
115
when: manual
116
116
needs:
117
117
- build-layer ({ { $runtime .name } }-{ { $runtime .arch } })
118
- - check-layer-size ({ { $runtime .name } }-{ { $runtime .arch } })
118
+ # - check-layer-size ({ { $runtime .name } }-{ { $runtime .arch } })
119
119
- lint python
120
- - unit-test ({ { $runtime .name } }-{ { $runtime .arch } })
121
- - integration-test ({ { $runtime .name } }-{ { $runtime .arch } })
120
+ # - unit-test ({ { $runtime .name } }-{ { $runtime .arch } })
121
+ # - integration-test ({ { $runtime .name } }-{ { $runtime .arch } })
122
122
dependencies:
123
123
- build-layer ({ { $runtime .name } }-{ { $runtime .arch } })
124
124
artifacts: # Re specify artifacts so the modified signed file is passed
@@ -156,10 +156,10 @@ publish-layer-{{ $environment_name }} ({{ $runtime.name }}-{{ $runtime.arch }}):
156
156
- sign-layer ({ { $runtime .name } }-{ { $runtime .arch} })
157
157
{ { else } }
158
158
- build-layer ({ { $runtime .name } }-{ { $runtime .arch } })
159
- - check-layer-size ({ { $runtime .name } }-{ { $runtime .arch } })
159
+ # - check-layer-size ({ { $runtime .name } }-{ { $runtime .arch } })
160
160
- lint python
161
- - unit-test ({ { $runtime .name } }-{ { $runtime .arch } })
162
- - integration-test ({ { $runtime .name } }-{ { $runtime .arch } })
161
+ # - unit-test ({ { $runtime .name } }-{ { $runtime .arch } })
162
+ # - integration-test ({ { $runtime .name } }-{ { $runtime .arch } })
163
163
{ { end } }
164
164
dependencies:
165
165
{ { if or (eq $environment_name " prod" ) } }
0 commit comments