Skip to content

Spandx command line tool for running CRC applications

Notifications You must be signed in to change notification settings

rvsia/crc-spandx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crc-spandx

npm version

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)

Install

npm install -g crc-spandx

You can also install it locally.

Run

  1. Go to your folder with your spandx.config.js file
  2. run crc-spandx
  3. Go to https://ci.foo.redhat.com:1337/ and enjoy hacking!

Options

--config -c

Your file. spandx.config.js by default.

--localChrome

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/

Changelog

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

Known issues

No custom chrome 1.0 support

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.