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

cico_build_deploy.sh script is broken #2

Open
msrb opened this issue Aug 10, 2017 · 2 comments
Open

cico_build_deploy.sh script is broken #2

msrb opened this issue Aug 10, 2017 · 2 comments
Labels

Comments

@msrb
Copy link
Member

msrb commented Aug 10, 2017

<-- snip -->

npm WARN [email protected] requires a peer of @angular/core@^2.0.0 but none was installed.
npm WARN [email protected] requires a peer of @angular/common@^2.0.0 but none was installed.
npm WARN [email protected] requires a peer of @angular/common@^2.3.1 but none was installed.
npm WARN [email protected] requires a peer of @angular/compiler@^2.3.1 but none was installed.
npm WARN [email protected] requires a peer of @angular/core@^2.3.1 but none was installed.
npm WARN [email protected] requires a peer of @angular/forms@^2.3.1 but none was installed.
npm WARN [email protected] requires a peer of @angular/common@^2.3.0 but none was installed.
npm WARN [email protected] requires a peer of @angular/core@^2.3.0 but none was installed.
npm WARN [email protected] requires a peer of @angular/[email protected] but none was installed.
npm WARN [email protected] requires a peer of @angular/[email protected] but none was installed.
npm WARN [email protected] requires a peer of @angular/core@^2.0.0 but none was installed.
npm WARN [email protected] requires a peer of @angular/common@^2.0.0 but none was installed.
npm WARN [email protected] requires a peer of @angular/compiler@^2.0.0 but none was installed.
npm WARN [email protected] requires a peer of @angular/core@^2.0.0 but none was installed.
npm WARN [email protected] requires a peer of [email protected] but none was installed.
npm WARN [email protected] requires a peer of zone.js@^0.6.25 but none was installed.
npm WARN [email protected] requires a peer of tslint@^4.0.0 but none was installed.
npm WARN [email protected] requires a peer of @angular/compiler-cli@^2.4.1 but none was installed.
npm WARN [email protected] requires a peer of tslint@^4.0.0 but none was installed.
+ docker exec fabric8-ui-builder ./run_unit_tests.sh
rpc error: code = 2 desc = oci runtime error: exec failed: container_linux.go:247: starting container process caused "exec: \"./run_unit_tests.sh\": stat ./run_unit_tests.sh: no such file or directory"
@msrb
Copy link
Member Author

msrb commented Aug 11, 2017

Even after commenting out unit and integration tests, and adding following (missing?) dependencies to the package.json file:

    "yargs": "7.0.2",
    "clean-webpack-plugin": "0.1.16",
    "optimize-js-plugin": "0.0.4",
    "sasslint-webpack-plugin": "1.0.4",
    "sass-lint": "1.10.2",
    "precss": "2.0.0",
    "sass-loader": "6.0.6"

It still fails:

<-- snip -->

WARNING in ./~/@angular/core/@angular/core.es5.js
5870:15-36 Critical dependency: the request of a dependency is an expression

WARNING in ./~/@angular/core/@angular/core.es5.js
5886:15-102 Critical dependency: the request of a dependency is an expression
Child html-webpack-plugin for "index.html":
       [0] ./~/html-webpack-plugin/lib/loader.js!./src/index.html 321 bytes {0} [built]
            factory:26ms building:1627ms = 1653ms

> [email protected] postbuild:prod /home/fabric8
> copyfiles package.json README.md LICENSE dist

+ docker exec -u root fabric8-ui-builder cp -r /home/fabric8/dist /
+ '[' 0 -eq 0 ']'
+ echo 'CICO: build OK'
CICO: build OK
+ docker build -t fabric-ui-deploy -f Dockerfile.deploy .
Sending build context to Docker daemon 486.2 MB
Step 1/8 : FROM registry.centos.org/kbsingh/openshift-nginx:latest
 ---> b21b9a83e10d
Step 2/8 : MAINTAINER "Konrad Kleine <[email protected]>"
 ---> Using cache
 ---> 26cbbb8cefe6
Step 3/8 : ENV LANG en_US.utf8
 ---> Using cache
 ---> eb970775a0a8
Step 4/8 : USER root
 ---> Using cache
 ---> 0a95f25e334d
Step 5/8 : ADD nginx.conf /etc/nginx/nginx.conf
lstat nginx.conf: no such file or directory

@msrb
Copy link
Member Author

msrb commented Aug 15, 2017

The missing configuration file is a blocker.

@msrb msrb added the bug label Aug 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant