@@ -55,56 +55,56 @@ 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
68-
69- lint python:
70- stage: test
71- tags: [" arch:amd64" ]
72- image: registry.ddbuild.io /images/mirror/python:{{ $runtime .image }}
73- cache: &{{ $runtime .name }}-{{ $runtime .arch }}-cache
74- before_script: *python-before-script
75- script:
76- - source venv/bin/activate
77- - . /scripts/check_format.sh
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
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
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+ #
69+ # lint python:
70+ # stage: test
71+ # tags: [" arch:amd64" ]
72+ # image: registry.ddbuild.io /images/mirror/python:{{ $runtime .image }}
73+ # cache: &{{ $runtime .name }}-{{ $runtime .arch }}-cache
74+ # before_script: *python-before-script
75+ # script:
76+ # - source venv/bin/activate
77+ # - . /scripts/check_format.sh
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
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
108108
109109sign-layer ({{ $runtime .name }}-{{ $runtime .arch }}):
110110 stage: sign
0 commit comments