Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

task: moving docker to be only multi #51

Merged
merged 22 commits into from
Nov 26, 2021
Merged

Conversation

paganotoni
Copy link
Member

@paganotoni paganotoni commented Nov 20, 2021

This PR changes the new command to only generate Multistage Dockerfiles for new apps. It replaces the docker arg on the new command to be a boolean skip-docker for those cases where the user does not want to generate it. This is mentioned in #42

cc @fasmat

@fasmat
Copy link
Member

fasmat commented Nov 20, 2021

PR looks good to me, maybe you could add just one test that checks if --skip-docker really skips the generation of a Dockerfile?

@fasmat fasmat mentioned this pull request Nov 24, 2021
6 tasks
@paganotoni
Copy link
Member Author

@fasmat ready for whenever you have the chance.

Copy link
Member

@fasmat fasmat left a comment

Choose a reason for hiding this comment

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

I added some comments and there is a buffalo file in the root of the file system, that looks like it was committed accidentally.

go.mod Outdated Show resolved Hide resolved
internal/genny/docker/docker_test.go Outdated Show resolved Hide resolved
internal/cmd/new/new_test.go Outdated Show resolved Hide resolved
@paganotoni
Copy link
Member Author

@fasmat this one seems to be ready. I was able to redo our integration testing strategy and reincorporate existing build commands.

@paganotoni paganotoni merged commit ac78149 into development Nov 26, 2021
@paganotoni paganotoni deleted the task-single-docker branch November 26, 2021 19:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants