A service to manage Pulse credentials for anything using Taskcluster credentials. This allows us self-service and greater control within the Taskcluster project.
Write this later.
Write this later.
Steps before running the test:
- Install rabbitmq locally:
- macOS:
brew update && brew install rabbitmq
- Linux: install rabbitmq from the repository of your distribution
- macOS:
- Start rabbitmq:
rabbitmq-server
. - Enable management API:
rabbitmq-plugins enable rabbitmq_management
- Create a
user-config.yml
: copy overuser-config-example.yml
(it has the default user, password and port of rabbitmq filled in). npm install
To run the test, use npm test
. You can set DEBUG=taskcluster-pulse,test
if you want to
see what's going on.
After each test, flush rabbitmq database with rabbitmqctl reset
. (The test suite adds
and removes users during the test. Flushing the database ensures nothing is leaked between
tests.)
We need to figure this out before this is turned on for real.