HUB
Sign inSign up
avtale-status logo

telemark/avtale-status

By telemark

•Updated over 6 years ago

Robot for updating agreements status

Image
0

1.5K

telemark/avtale-status repository overview

Build Status js-standard-style

⁠avtale-status

  • Checks the status for agreements.
  • Generate job for updating.
  • Post statusupdate to log

⁠Setup

Change the docker.env⁠ to match your environment.

NODE_ENV=production
DONE_DIRECTORY_PATH=test/directories/done
JOBS_DIRECTORY_PATH=test/directories/jobs
AGREEMENTS_JWT_SECRET=Louie Louie, oh no, I got to go Louie Louie, oh no, I got to go
AGREEMENTS_LOG_SEARCH_URL=https://log.service.no/agreements/search
AGREEMENTS_LOG_UPDATE_URL=https://log.service.no/agreements
SVARUT_JWT_SECRET=Louie Louie, oh no, I got to go Louie Louie, oh no, I got to go
SVARUT_SERVICE_URL=https://svarut.service.no
STATS_SERVICE_JWT=Louie Louie, oh no, I got to go Louie Louie, oh no, I got to go
STATS_SERVICE_URL=https://stats.service.io
PAPERTRAIL_HOSTNAME=avtale-robot
PAPERTRAIL_HOST=logs.papertrailapp.com
PAPERTRAIL_PORT=12345

⁠Build

$ docker build -t avtale-status .

⁠Usage

$ docker run --env-file=docker.env --volume=/test/directories/jobs:/src/test/directories/jobs --rm avtale-status

This will start a container. Do the updates. Stop the container and remove it.

⁠Releated

⁠License

MIT⁠

Tag summary

Content type

Image

Digest

Size

45 MB

Last updated

over 6 years ago

docker pull telemark/avtale-status