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

Fix pr-check build issues when building dashboard #964

Merged
merged 1 commit into from
Oct 12, 2018

Conversation

amisevsk
Copy link
Collaborator

What does this PR do?

Fixes a few issues in building dashboard using native profile

  • Bower update step requires non-root user; fails silently otherwise. Build now creates a new user and executes the git clone and maven build as them
  • It seems a higher verison of nodejs is required to build Che; there is some issue in the gulp build step that occurs (module not found) when nodejs4 is used. Uses the rh-nodejs8 package instead.
  • Running npm install -g gulp bower is no longer necessary.

What issues does this PR fix or reference?

#944

How have you tested this PR?

Build succeeds locally executing docker build ./dockerfiles/pr-check

Fixes a few issues in building dashboard using native profile
- Bower update step requires non-root user; fails silently otherwise.
  Build now creates a new user and executes the git clone and maven build
  as them
- It seems a higher verison of nodejs is required to build Che; there is
  some issue in the `gulp build` step that occurs (module not found)
  when nodejs4 is used. Uses the rh-nodejs8 package instead.

Signed-off-by: Angel Misevski
@centos-ci
Copy link
Collaborator

@amisevsk The che server [build 659] failed.

Link URL
console https://ci.centos.org/view/Devtools/job/devtools-rh-che-rh-che-prcheck-dev.rdu2c.fabric8.io/659/console
artifacts http://artifacts.ci.centos.org/devtools/che-functional-tests/devtools-rh-che-rh-che-prcheck-dev.rdu2c.fabric8.io/659/

If the build or deployment fails, the artifacts will not be present. Don't panic, just grab a towel.

@ScrewTSW ScrewTSW merged commit b261d72 into redhat-developer:master Oct 12, 2018
@amisevsk amisevsk deleted the issue-944 branch October 15, 2018 01:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants