/apply-ops-dashboard

Experimental dashboard to see what is going on in our environments

Primary LanguageRuby

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.