Skip to content

Commit 0209088

Browse files
authored
Script: compile versions for S3 (#10811)
Quick fix to allow pre-building `build.tools` versions successfully. See https://app.circleci.com/pipelines/github/readthedocs/readthedocs-docker-images/273/workflows/db4e9204-0b2e-4a1d-aff1-de4e075396da/jobs/478 to understand the issue in deep.
1 parent d9fa3cf commit 0209088

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

scripts/compile_version_upload_s3.sh

+6-2
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,13 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
7272
CONTAINER_ID=$(docker run --user docs --rm --detach --volume ${SCRIPT_DIR}/python-build.diff:/tmp/python-build.diff readthedocs/build:$OS sleep $SLEEP)
7373
echo "Running all the commands in Docker container: $CONTAINER_ID"
7474

75+
# TODO: uncomment this to show the asdf version on the build output.
76+
# I'm commenting it now because it's failing for some reason and that I'm not able to solve.
77+
# OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: exec: "asdf": executable file not found in $PATH: unknown
78+
#
7579
# Run "asdf version" from inside the container
76-
echo -n 'asdf version: '
77-
docker exec --user root $CONTAINER_ID asdf version
80+
# echo -n 'asdf version: '
81+
# docker exec --user root $CONTAINER_ID asdf version
7882

7983
# Install the tool version requested
8084
if [[ $TOOL == "python" ]]

0 commit comments

Comments
 (0)