From 63d597a0a0d7c46d4ea9b5a7c8987938f1750f09 Mon Sep 17 00:00:00 2001 From: Joe Wang Date: Wed, 18 Dec 2024 21:05:39 -0500 Subject: [PATCH] use ubuntu --- .../cloudbuild-library-generation-integration-test.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.cloudbuild/library_generation/cloudbuild-library-generation-integration-test.yaml b/.cloudbuild/library_generation/cloudbuild-library-generation-integration-test.yaml index b27bdb4908..88512a4340 100644 --- a/.cloudbuild/library_generation/cloudbuild-library-generation-integration-test.yaml +++ b/.cloudbuild/library_generation/cloudbuild-library-generation-integration-test.yaml @@ -98,11 +98,14 @@ steps: "prepare-golden" ] -- name: python:3.13.1-alpine3.21 - entrypoint: python +- name: ubuntu:24.04 + entrypoint: bash args: - - "-m" + - "-c" - | + apt-get update && apt-get install -y python3 python3.12-venv + python3 -m venv .venv + source .venv/bin/activate pip install --require-hashes -r .cloudbuild/library_generation/scripts/requirements.txt python -m unittest .cloudbuild/library_generation/scripts/integration_tests_cloud_build.py id: verify-generation