File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -74,20 +74,8 @@ lint python:
7474
7575unit-test ({{ $runtime .name }}-{{ $runtime .arch }}):
7676 stage: test
77- tags:
78- {{ if eq $runtime .arch " arm64" }}
79- - " arch:arm64"
80- {{ else }}
81- - " arch:amd64"
82- {{ end }}
77+ tags: [" arch:amd64" ]
8378 image: registry.ddbuild.io /images/mirror/python:{{ $runtime .image }}
84- artifacts:
85- when: always
86- paths:
87- - core. *
88- expire_in: 1 week
89- variables:
90- PYTHONFAULTHANDLER: " 1"
9179 cache: &{{ $runtime .name }}-{{ $runtime .arch }}-cache
9280 before_script:
9381 - PYTHON_VERSION= {{ $runtime .python_version }} ARCH= {{ $runtime .arch }} . /scripts/setup_python_env.sh
Original file line number Diff line number Diff line change @@ -70,14 +70,6 @@ spec_ddtrace_dep() {
7070 fi
7171 S3_BASE=" https://dd-trace-py-builds.s3.amazonaws.com/${UPSTREAM_PIPELINE_ID} "
7272 PY_TAG=" cp$( echo " $PYTHON_VERSION " | tr -d ' .' ) "
73- # Wheel platform tag must match the machine that runs pip (or CI matrix arch).
74- # Default used to be amd64 when unset; prefer host arch so ARM runners/local dev work.
75- if [ -z " ${ARCH:- } " ]; then
76- case " $( uname -m) " in
77- aarch64 | arm64) ARCH=arm64 ;;
78- * ) ARCH=amd64 ;;
79- esac
80- fi
8173 if [ " $ARCH " = " amd64" ]; then
8274 PLATFORM=" manylinux2014_x86_64"
8375 else
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments