From a9b19dc2b84e1428bce4431d03a16f4ef0adba15 Mon Sep 17 00:00:00 2001 From: Michael McCracken Date: Fri, 12 Dec 2025 12:48:31 -0800 Subject: [PATCH] ci: fix slow test; pin docker-library/python repo an update to the docker-library/python git repo removed the alpine 3.21 directory that this test was assuming would be there. this change updates to use alpine 3.22 instead. to avoid being broken by future changes, we also reset to the current commit. Signed-off-by: Michael McCracken --- test/convert.bats | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/convert.bats b/test/convert.bats index 7cee9198..18fbe8d8 100644 --- a/test/convert.bats +++ b/test/convert.bats @@ -79,7 +79,10 @@ EOF @test "python" { skip_slow_test git clone https://github.com/docker-library/python.git - cd python/3.11/alpine3.21 + cd python + # pick a specific commit so we don't get broken by upstream changes: + git reset --hard aad39d215779f27b410b25f612b6680a75781edb + cd 3.11/alpine3.22 chmod -R a+rw . stacker convert --docker-file Dockerfile --output-file stacker.yaml --substitute-file stacker-subs.yaml stacker build -f stacker.yaml --substitute-file stacker-subs.yaml --substitute IMAGE=python