Skip to content

feat: add remote_repo_build_mode envbuilder option #20

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 5 commits into from
Aug 9, 2024

Conversation

johnstcn
Copy link
Member

@johnstcn johnstcn commented Aug 7, 2024

Adds support for setting the --remote-repo-build-mode Envbuilder option.

@johnstcn johnstcn requested a review from mafredri August 7, 2024 15:59
@johnstcn johnstcn self-assigned this Aug 7, 2024
@johnstcn johnstcn requested a review from dannykopping August 8, 2024 12:37
verbose = true
workspace_folder = {{ quote .Repo.Dir }}
Copy link
Member Author

Choose a reason for hiding this comment

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

review: this isn't necessary any longer as far as I can tell

Comment on lines -137 to +138
_ = cli.ContainerRemove(ctx, ctr.ID, container.RemoveOptions{
if err := cli.ContainerRemove(context.Background(), ctr.ID, container.RemoveOptions{
RemoveVolumes: true,
Force: true,
})
}); err != nil {
t.Errorf("removing container: %s", err.Error())
}
Copy link
Member Author

Choose a reason for hiding this comment

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

drive-by: this wasn't cleaning up properly due to context.Canceled

Copy link

@dannykopping dannykopping left a comment

Choose a reason for hiding this comment

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

Unblocking stamp
I don't have much context so best to wait for @mafredri as well?

Copy link
Member

@mafredri mafredri 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 except for a few small things, pre-approved.

@johnstcn johnstcn force-pushed the cj/option-remote-repo-mode branch from dd173ee to 8351aac Compare August 9, 2024 09:25
@johnstcn johnstcn merged commit c103059 into main Aug 9, 2024
15 checks passed
@johnstcn johnstcn deleted the cj/option-remote-repo-mode branch August 9, 2024 09:32
johnstcn added a commit that referenced this pull request Aug 9, 2024
Adds support for setting the --remote-repo-build-mode Envbuilder option. Defaults to true if not set.
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.

3 participants