@@ -55,16 +55,16 @@ build-layer ({{ $runtime.name }}-{{ $runtime.arch }}):
5555 script:
5656 - PYTHON_VERSION={ { $runtime .python_version } } ARCH={ { $runtime .arch } } ./scripts/build_layers.sh
5757
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
6868
6969lint python:
7070 stage: test
@@ -76,35 +76,35 @@ lint python:
7676 - source venv/bin/activate
7777 - ./scripts/check_format.sh
7878
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
8888
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
108108
109109sign-layer ({ { $runtime .name } }-{ { $runtime .arch } }):
110110 stage: sign
@@ -115,10 +115,10 @@ sign-layer ({{ $runtime.name }}-{{ $runtime.arch }}):
115115 when: manual
116116 needs:
117117 - build-layer ({ { $runtime .name } }-{ { $runtime .arch } })
118- - check-layer-size ({ { $runtime .name } }-{ { $runtime .arch } })
118+ # - check-layer-size ({ { $runtime .name } }-{ { $runtime .arch } })
119119 - 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 } })
122122 dependencies:
123123 - build-layer ({ { $runtime .name } }-{ { $runtime .arch } })
124124 artifacts: # Re specify artifacts so the modified signed file is passed
@@ -156,10 +156,10 @@ publish-layer-{{ $environment_name }} ({{ $runtime.name }}-{{ $runtime.arch }}):
156156 - sign-layer ({ { $runtime .name } }-{ { $runtime .arch} })
157157{ { else } }
158158 - build-layer ({ { $runtime .name } }-{ { $runtime .arch } })
159- - check-layer-size ({ { $runtime .name } }-{ { $runtime .arch } })
159+ # - check-layer-size ({ { $runtime .name } }-{ { $runtime .arch } })
160160 - 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 } })
163163{ { end } }
164164 dependencies:
165165{ { if or (eq $environment_name " prod" ) } }
0 commit comments