Skip to content

Run checkout inside docker #5674

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

Closed
wants to merge 1 commit into from

Conversation

stsewd
Copy link
Member

@stsewd stsewd commented May 7, 2019

The title isn't 100% true,
because it depends on the settings (if docker is enabled).
There are still commands being executed outside docker #5673.

Blocked on #5673
Related to #5672

The title isn't 100% true,
because it depends on the settings (if docker is enabled).
There are still commands being executed outside docker readthedocs#5673.
@stsewd stsewd added PR: work in progress Pull request is not ready for full review Status: blocked Issue is blocked on another issue labels May 7, 2019
@humitos
Copy link
Member

humitos commented May 8, 2019

Is this strictly blocked on #5673? I think these are separate things and we can start running these commands from inside the container and then migrate the rest once we have made a decision.

Although, before merging this PR we should make a PR compatible with the Corporate site.

@stsewd
Copy link
Member Author

stsewd commented May 8, 2019

Yeah, this isn't really blocked, but it feels weird executing the same set of commands in different environments. It could lead to some surprises using different git daemons? I don't know. Better safe than sorry? p:

@humitos
Copy link
Member

humitos commented May 9, 2019

It could lead to some surprises using different git daemons?

This is a good point, yes. I'm not sure if we have the same git version inside the container than outside.

@stsewd
Copy link
Member Author

stsewd commented May 13, 2019

According to #5673 (comment) is it ok to merge this right now?

@humitos
Copy link
Member

humitos commented May 22, 2019

I just realized that executing git from inside the container may requires another change as well. On which servers could be sync_repository_task executed when triggered? If the answer includes webXX we may need to limit it the builder queue because web servers do not have docker.

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 seems really simple, why weren't we doing this before? I feel like there must have been a reason.

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.

This PR seems to remove the docker= attribute that receive the method and make usage of settings.DOCKER_ENABLED instead. Is that all? If so, I think we can safely merge it, right?

@stsewd
Copy link
Member Author

stsewd commented Nov 4, 2019

@humitos we can't merge this till we can retrieve the git data from inside the container.

@humitos
Copy link
Member

humitos commented Dec 9, 2019

This PR was superseded by #6436. Feel free to re-open if it's still valid.

@humitos humitos closed this Dec 9, 2019
@stsewd stsewd deleted the run-checkout-inside-docker branch December 9, 2019 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: work in progress Pull request is not ready for full review Status: blocked Issue is blocked on another issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants