Dashboard app for the RedHat Ansible Automation Plaform
You'll need to clone:
- Insights Proxy
- RedHat ansible automation platform dashboard (this repo)
- Run insights-proxy (requires Docker and modifying /etc/hosts). It's recommended to set a PROXY_PATH environment variable in your .bashrc to avoid having to write the full path to where you clone the repo.
SPANDX_CONFIG="./profiles/local-frontend.js" bash $PROXY_PATH/scripts/run.sh
-
npm install
-
npm run start
-
Open one of the following environments behind the Red Hat VPN and accept the certs:
- https://ci.foo.redhat.com:1337/beta/ansible/dashboard
- https://qa.foo.redhat.com:1337/beta/ansible/dashboard
- https://stage.foo.redhat.com:1337/beta/ansible/dashboard
- https://prod.foo.redhat.com:1337/beta/ansible/dashboard
npm run verify
will run npm run lint
(eslint) and npm test
(Jest)
- The ansible automation platform dashboard repo uses Travis to deploy the webpack build to another Github repo defined in
.travis.yml
- That Github repo has the following branches:
ci-beta
(deployed by pushing tomain
ormain
on this repo)ci-stable
(deployed by pushing toci-stable
on this repo)prod-beta
(deployed by pushing toprod-beta
on this repo)prod-stable
(deployed by pushing toprod-stable
on this repo)
- That Github repo has the following branches:
- Travis uploads results to RedHatInight's codecov account. To change the account, modify CODECOV_TOKEN on https://travis-ci.com/.