Advertisement
Guest User

Untitled

a guest
Jul 17th, 2018
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.   "notifyWay": {
  3.     "availableWays": [
  4.       {
  5.         "type": "telegram",
  6.         "authSettings": {
  7.           "telegramToken": "abcabc"
  8.         },
  9.         "eventsReceivers": {
  10.           "admin": {
  11.             "wayUserInfo": {
  12.               "telegramChatId": 1231231
  13.             },
  14.             "name": "Admin"
  15.           },
  16.           "qa": {
  17.             "wayUserInfo": {
  18.               "telegramChatId": 321
  19.             },
  20.             "name": "Admin"
  21.           }
  22.         },
  23.         "events": {
  24.           "deploySuccess": [
  25.             "admin",
  26.             "qa"
  27.           ],
  28.           "deployStarted": [
  29.             "qa"
  30.           ],
  31.           "deployError": [
  32.             "all"
  33.           ]
  34.         }
  35.       }
  36.     ]
  37.   },
  38.   "projects": [
  39.     {
  40.       "project_name": "Veb Search Interface",
  41.       "repositoryHttps": "https://git.obvu.ru/veb/search",
  42.       "repositorySsh": "git@git.obvu.ru:veb/search.git",
  43.       "project_type": "vue-js-app",
  44.       "notifyWay": {
  45.         "availableWays": [
  46.           {
  47.             "type": "telegram",
  48.             "authSettings": {
  49.               "telegramToken": "abcabc"
  50.             },
  51.             "eventsReceivers": {
  52.               "admin": {
  53.                 "wayUserInfo": {
  54.                   "telegramChatId": 2222
  55.                 },
  56.                 "name": "Admin"
  57.               }
  58.             },
  59.             "events": {
  60.               "deploySuccess": [
  61.                 "admin",
  62.                 "qa"
  63.               ]
  64.             }
  65.           }
  66.         ]
  67.       },
  68.       "deployments": [
  69.         {
  70.           "branch": "develop",
  71.           "way": "just-git-reset",
  72.           "notifyWay": {
  73.             "availableWays": [
  74.               {
  75.                 "type": "telegram",
  76.                 "authSettings": {
  77.                   "telegramToken": "abcabc"
  78.                 },
  79.                 "eventsReceivers": {
  80.                   "admin": {
  81.                     "wayUserInfo": {
  82.                       "telegramChatId": 2222
  83.                     },
  84.                     "name": "Admin"
  85.                   }
  86.                 },
  87.                 "events": {
  88.                   "deploySuccess": [
  89.                     "admin",
  90.                     "qa"
  91.                   ]
  92.                 }
  93.               }
  94.             ]
  95.           },
  96.           "deploy_way_info": {
  97.             "ssh_host": "159.69.1.193",
  98.             "directory": "/var/projects/obvu/envirto/dev/envirto",
  99.             "post_pull_cmds": [
  100.               "docker-compose up -d"
  101.             ],
  102.             "dotenv_vars": {
  103.               "BASE_DOMAIN": "dev.envirto.s3.obvu.ru",
  104.               "DOCKER_HUB_ORGANIZATION": "smarthouse",
  105.               "DOCKER_HUB_PREFIX": "core_",
  106.               "ID_RSA_PATH ": "/var/www/data/id_rsa",
  107.               "DEPLOYMENT_CONFIG ": "/var/www/config.json",
  108.               "YII_ENV": "dev",
  109.               "YII_DEBUG": "true"
  110.             }
  111.           }
  112.         }
  113.       ]
  114.     }
  115.   ]
  116. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement