Skip to content

Added Rust to the build image #136

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 1, 2020
Merged

Conversation

alex
Copy link
Contributor

@alex alex commented Aug 17, 2020

fixes #135

@alex
Copy link
Contributor Author

alex commented Aug 25, 2020

If there's anything I can do to help move this forward, don't hesitate to ask!

@stsewd
Copy link
Member

stsewd commented Aug 25, 2020

@alex sorry, we still need a decision from the core team at #135

@alex
Copy link
Contributor Author

alex commented Aug 25, 2020

Understood.

Copy link
Member

@ericholscher ericholscher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me, with one small comment.

Copy link
Member

@humitos humitos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! I added a small suggestion.

@ericholscher ericholscher merged commit e122b49 into readthedocs:master Sep 1, 2020
@ericholscher
Copy link
Member

This will now build new images, we need to ship them to our builders before they are properly deployed. I will coordinate that on our side this week.

@alex
Copy link
Contributor Author

alex commented Sep 1, 2020 via email

@humitos
Copy link
Member

humitos commented Sep 3, 2020

I cherry-picked the commits from this PR into release/7.x branch and tag it as 7.0.3. The image is now building at https://hub.docker.com/repository/registry-1.docker.io/readthedocs/build/builds/282d360d-269d-43b1-ae9b-e047aae9d06d

Next deploy, we need to tell our script to pull down the newer images and it should download a new image for readthedocs/build:7.0 containing Rust.

@alex what's your project slug/URL on Read the Docs? To use this image (called testing for now), you will need to use build.image with testing value in your config file (see https://docs.readthedocs.io/en/stable/config-file/v2.html#build-image) or we can force this image in your project, but I think it's better if you have the control.

@humitos
Copy link
Member

humitos commented Sep 3, 2020

I just pulled down the image created by Docker Hub with docker pull readthedocs/build:7.0 and run it locally:

▶ docker run --rm -it readthedocs/build:7.0 /bin/bash
docs@441297bd68da:/$ cargo --version
cargo 1.46.0 (149022b1d 2020-07-17)
docs@441297bd68da:/$

Seems it's working as expected 👍. I think we are ready to deploy it.

@alex
Copy link
Contributor Author

alex commented Sep 3, 2020 via email

@humitos
Copy link
Member

humitos commented Sep 21, 2020

Hi @alex! This is already deployed. Can you confirm that it's working as you expected when using testing as build: image in the config file? https://docs.readthedocs.io/en/stable/config-file/v2.html#build Thanks!

@alex
Copy link
Contributor Author

alex commented Sep 21, 2020 via email

@humitos
Copy link
Member

humitos commented Sep 21, 2020

Excellent! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Rust to the docker image?
4 participants