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