Skip to content
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

pack build allows multiple --env-file #291

Merged
merged 2 commits into from
Sep 13, 2019
Merged

Conversation

dgageot
Copy link
Member

@dgageot dgageot commented Sep 12, 2019

Fixes #264

Copy link
Member

@jromero jromero left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution!

LGTM for the most part. Minor format change necessary.

"github.com/golang/mock/gomock"
"github.com/sclevine/spec"
"github.com/sclevine/spec/report"
"github.com/spf13/cobra"
Copy link
Member

Choose a reason for hiding this comment

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

Our format validation is failing on CI because these need to be broken up into 3 groups in this order:

  1. standard library
  2. 3rd party
  3. current project

If you are on MacOS or Linux you should be able to run make format.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks a lot! I've pushed a fix

Fix buildpacks#264

Signed-off-by: David Gageot <david@gageot.net>
Signed-off-by: David Gageot <david@gageot.net>
Copy link
Member

@ekcasey ekcasey left a comment

Choose a reason for hiding this comment

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

Looks great! Thanks for the contribution and for improving our test coverage. I am requesting two minor changes to test cleanup and test descriptions.

commands/build_test.go Show resolved Hide resolved
envPath = envfile.Name()
})

it("builds an image with a builder", func() {
Copy link
Member

Choose a reason for hiding this comment

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

It would be better if the description strings in each it described what this particular test was asserting on (i.e. env vars in this case)

Copy link
Member

@ekcasey ekcasey left a comment

Choose a reason for hiding this comment

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

It would be great to have your feature in the release we intend to cut today. Therefore I am going to approve and merge this and we can fix up the nitpicks from from my review.

thanks again!

@ekcasey ekcasey merged commit 6a7b95d into buildpacks:master Sep 13, 2019
@dgageot
Copy link
Member Author

dgageot commented Sep 13, 2019

Thanks. I'm on it

dgageot added a commit to dgageot/pack that referenced this pull request Sep 13, 2019
Those are fixes to buildpacks#291:
 + Delete temp files after the test
 + Give better description for test cases

Signed-off-by: David Gageot <david@gageot.net>
@dgageot dgageot deleted the fix-264 branch October 4, 2019 08:53
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.

pack build should allow multiple --env-file declarations
3 participants