This package is based on insights-proxy and Red Hat Spandx.
crc-spandx is being used to run cloud.redhat.com applications without running a docker container. It also prevents issues with using MacOS Docker and Chrome browser (Error: status (failed) net::ERR_TOO_MANY_RETIRES
)
npm install -g crc-spandx
You can also install it locally.
- Go to your folder with your spandx.config.js file
- run
crc-spandx
- Go to https://ci.foo.redhat.com:1337/ and enjoy hacking!
Your file. spandx.config.js
by default.
Currently tested only for ci/beta and Chrome 2.0.
You can provide an absolute path to your chrome/build
folder.
If you don't provide the path, the application will take a look for INSIGHTS_CHROME
environment variable, so you don't have to specify the path everytime.
// .bashrc or .zshrc
export INSIGHTS_CHROME=/Users/MyUserName/insights-chrome/build/
0.1.2
- Allows to use local version of Chrome 2.0
0.0.3
- environment option removed, qa/ci/prod is now handled automatically, stage does not work
Not tested yet, it should work for ci/beta and chrome 2.0.
## Stage does not work
For stage, it's required to provide a proxy object. Not implemented yet.