[go: up one dir, main page]

Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.
/ analytics-restarter Public archive

Triggers nightly builds for the apps that makeup the analytics.usa.gov system

License

Notifications You must be signed in to change notification settings

18F/analytics-restarter

Repository files navigation

Analytics Restarter

This app triggers nightly builds for the apps that makeup the analytics.usa.gov system. These apps include:

This service will restart CI builds for the above apps at 06:00 UTC every day.

Deploy

To setup this app in cloud.gov, first deploy a user provided service to provide the app with the necessary information to start builds on circle. The app looks for a user provided service named circleci. It expects the service to have a key for each app referencing a JSON encoded string providing the repo name and a CircleCI token for the app.

For example:

$ cf cups -p ANALYTICS_USA_GOV,ANALYTICS_REPORTER,ANALYTICS_REPORTER_API

ANALYTICS_USA_GOV> {"NAME": "analytics.usa.gov","TOKEN": "123abc"}
ANALYTICS_REPORTER> {"NAME": "analytics-reporter","TOKEN": "456def"}
ANALYTICS_REPORTER_API> {"NAME": "analytics-reporter-api","TOKEN": "789ghi"}

This app also provides a route at / to provide an endpoint for New Relic uptime monitoring.

Tests

This app ships with a lightweight testing suite. That can be run with rspec:

bundle install
bundle exec rspec

About

Triggers nightly builds for the apps that makeup the analytics.usa.gov system

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •