Skip to content

Commit 4928691

Browse files
authored
Build: update asdf and its plugins so we can build latest versions (#11401)
CircleCI is failing when building `build.tools` because Ruby 3.3.2 is not yet available in the `asdf` version we have in our Ubuntu Docker image. Updating the version of `asdf` and its plugins allows us to pre-compile these versions when running the CircleCI job. This is required by #11386 Once this PR gets merged, we need to restart the CircleCI job. https://app.circleci.com/pipelines/github/readthedocs/readthedocs-docker-images/294/workflows/3764492d-0fd4-44a3-bb0c-fccb696dc130/jobs/514
1 parent 15b0fed commit 4928691

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scripts/compile_version_upload_s3.sh

+6
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,12 @@ echo "Running all the commands in Docker container: $CONTAINER_ID"
8080
# echo -n 'asdf version: '
8181
# docker exec --user root $CONTAINER_ID asdf version
8282

83+
# Update asdf to the latest stable release
84+
docker exec $CONTAINER_ID asdf update
85+
# Update all asdf plugins to the latest commit
86+
# (we require this to be able to compile newer versions)
87+
docker exec $CONTAINER_ID asdf plugin update --all
88+
8389
# Install the tool version requested
8490
if [[ $TOOL == "python" ]]
8591
then

0 commit comments

Comments
 (0)