Sign inSign up

tdio/daily-agent

By tdio

•Updated almost 5 years ago

Daily report generator (based on tower.im)

Image
0

1.5K

tdio/daily-agent repository overview

⁠Quick reference

Daily report generator (based on tower.im)

⁠Development

Create a config.json

$ cat <<EOF >./config.json
{
  "projects": {
    "cmp": {
      "title": "云管项目组",
      "api": "https://tower.im/projects/xx"
    },
    "steamer": {
      "title": "容器项目组",
      "api": "https://tower.im/projects/xx"
    }
  },
  "departmentNames": [
    [ "产品", [ "产品" ] ],
    [ "前端", [ "前端", "FE", "用户体验" ] ],
    [ "底层组", [ "云原生", "基础服务组" ] ]
  ],
  "cookie": "<TOWER_COOKIE>",
  "robot": "https://oapi.dingtalk.com/robot/send?access_token=xxx"
}
EOF
yarn --production=false
npm link -f
build-reports -f ./config.json

⁠Usage

Run as docker by tdio/daily-agent⁠

docker run --name agent -v ./config.json:/app/config.json tdio/daily-agent:latest

Tag summary

Content type

Image

Digest

Size

42.6 MB

Last updated

almost 5 years ago

docker pull tdio/daily-agent