Skip to content

despo/apply-ops-dashboard

 
 

Repository files navigation

Apply Ops Dashboard

Dashboard that shows the current deployment state of the Apply for teacher training service.

Publicly accessible at https://apply-ops-dashboard.azurewebsites.net

Local development

Local development needs 3 environment variables:

  • AZURE_ACCESS_TOKEN: an Azure Personal Access Token. It only needs the "Read" permissions for "Build".
  • AZURE_USERNAME: the email adress associated with the token (your DfE email address most likely)
  • GITHUB_TOKEN: a GitHub access token to avoid being rate limited. Does not need any permissions.

Run the app:

make start

Run the app in dev mode:

make start-dev

The app will be available on http://localhost:5000 for both the commands.

Deployment rota

If you populate the env var DEPLOYERS with a JSON array [{"displayName":, "slackUserId":}], one will be chosen each day to be the nominated deployer and displayed on the dashboard, along with a couple of reserve deployers in case they're ill or away.

Tests

You can run the tests, such as they are, with:

bundle exec rspec

You can run Rubocop with:

bundle exec rubocop

Deployment

Auto-deploy to Heroku is set up from master.

About

Experimental dashboard to see what is going on in our environments

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 63.6%
  • HTML 16.0%
  • JavaScript 15.0%
  • CSS 2.4%
  • Dockerfile 1.4%
  • Makefile 1.3%
  • Shell 0.3%