Skip to content
New issue

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

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

Already on GitHub? # to your account

Check for boxfile and validate in separate steps #512

Merged
merged 4 commits into from
Aug 14, 2017
Merged

Conversation

glinton
Copy link
Contributor

@glinton glinton commented Aug 11, 2017

Also fixes bug where nanobox uses a boxfile from a level up if none is found in the cwd

Resolves #501
Resolves #510

Also fixes bug where nanobox uses a boxfile from a level up if none is found in the cwd

Resolves #501
Resolves #510
--------------------------------------------------------------------------------
INVALID BOXFILE.YML
Nanobox requires valid yaml in your boxfile.yml config file. Paste the contents
of your boxfile into yamllint.com to validate.
Copy link
Contributor

Choose a reason for hiding this comment

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

I generally try to add a "please" whenever asking users to do something. In this case, "Please paste the..."

Also, I would probably use the full domain: www.yamllint.com

Looks good!

If no boxfile.yml was present, nanobox would traverse up the directory tree looking for a boxfile and use that to build and would set that as the mountpoint.
Turns out we still want that behavior so I'll put it in somewhere else maybe.
@glinton glinton merged commit d1436e0 into master Aug 14, 2017
@glinton glinton deleted the bugfix/501 branch August 14, 2017 20:43
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
2 participants