Skip to content

Commit af6edb3

Browse files
committed
add env
1 parent 2642f74 commit af6edb3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.cloudbuild/library_generation/cloudbuild-library-generation-integration-test.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
timeout: 7200s # 2 hours
1616
substitutions:
1717
_TEST_IMAGE_ID: "test-image:latest"
18+
VERSION_CODENAME: "bookworm"
1819
steps:
1920
- name: gcr.io/cloud-builders/docker
2021
args: [
@@ -44,7 +45,7 @@ steps:
4445
# Add the repository to Apt sources:
4546
echo \
4647
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \
47-
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
48+
$(. /etc/os-release && echo "${VERSION_CODENAME}") stable" | \
4849
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
4950
apt-get -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
5051
# Install python dependencies
@@ -54,8 +55,6 @@ steps:
5455
pip install --require-hashes -r hermetic_build/library_generation/requirements.txt
5556
pip install hermetic_build/library_generation
5657
python -m unittest hermetic_build/library_generation/tests/integration_tests.py
57-
env:
58-
- "VERSION_CODENAME=bookworm"
5958
waitFor: ["library-generation-build"]
6059
id: integration-test
6160

0 commit comments

Comments
 (0)