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

scratch3/ build not working in S2I because git is not available #70

Closed
vorburger opened this issue May 25, 2018 · 4 comments
Closed

scratch3/ build not working in S2I because git is not available #70

vorburger opened this issue May 25, 2018 · 4 comments
Assignees

Comments

@vorburger
Copy link
Member

@edewit the new #68 does not work on OpenShift yet because S2I build fails due to:

Task :scratch3:npmDoInstall1
--
  | npm WARN deprecated redux-mock-store@1.5.1: breaking changes in minor version
  | npm WARN deprecated babel-preset-es2015@6.24.1: ????  Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
  | npm WARN deprecated nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info.
  | npm WARN deprecated nomnom@1.6.2: Package no longer supported. Contact support@npmjs.com for more info.
  | npm ERR! code ENOGIT
  | npm ERR! Error while executing:
  | npm ERR! undefined ls-remote -h -t ssh://git@github.com/rschamp/gh-pages.git
  | npm ERR!
  | npm ERR! undefined
  | npm ERR! No git binary found in $PATH
  | npm ERR!
  | npm ERR! Failed using git.
  | npm ERR! Please check if you have git installed and in your PATH.
  |  
  | npm ERR! A complete log of this run can be found in:
  | npm ERR!     /opt/jboss/.npm/_logs/2018-05-25T08_49_24_033Z-debug.log
  |  
  | > Task :scratch3:npmDoInstall1 FAILED
  |  
  | FAILURE: Build failed with an exception.
  |  
  | * What went wrong:
  | Execution failed for task ':scratch3:npmDoInstall1'.
  | > Process 'command '/tmp/src/scratch3/.gradle/npm/npm-v6.0.1/bin/npm'' finished with non-zero exit value 1

I can see if we can add the git CLI to the image?

@vorburger
Copy link
Member Author

I'm also starting to get 2 GB memory quota limit warning in OSO when building this now...

@edewit
Copy link
Member

edewit commented May 25, 2018

@vorburger maybe we want to build a docker image of this and start that instead?

@edewit
Copy link
Member

edewit commented May 25, 2018

the npm build also compiles native libs that consumes a lot of memory

@vorburger
Copy link
Member Author

S2I builds are no longer a priority for this project, ergo closing this old issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants