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

"out" step metadata generation causes an error when build param is a WAR file #11

Open
Birdrock opened this issue Feb 4, 2020 · 1 comment

Comments

@Birdrock
Copy link
Contributor

Birdrock commented Feb 4, 2020

In our pipelines we specify:

build: uaa-war/uaa.war

And see this error:

fatal: cannot change to 'uaa-war/uaa.war': Not a directory

We believe this is coming from the metadata generation:

git: \"$(git -C $build rev-parse HEAD)\"

Note that the pack command and docker push do seem to work.

@bstick12
Copy link
Owner

bstick12 commented Feb 5, 2020

@Birdrock Adding the git sha to the metadata isn't really necessary for the resource to function. I've removed it from the metadata in 1180c5a.

You might take a look at https://github.com/bstick12/lifecycle-build-task as it removes the need for docker in docker and uses the lifecycle directly.

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

No branches or pull requests

2 participants