Add recipe for google Stackdriver handler

This commit is contained in:
Miguel García Domínguez
2020-12-09 12:23:55 +01:00
parent 3e81695f75
commit 79b2804bcd
4 changed files with 34 additions and 0 deletions
@@ -0,0 +1,12 @@
{
"type": "service_account",
"project_id": "projectid",
"private_key_id": "281379821737219379as87d",
"private_key": "-----BEGIN PRIVATE KEY-----\n-----END PRIVATE KEY-----\n",
"client_email": "service@appspot.gserviceaccount.com",
"client_id": "110459080868243513123",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/service%40appspot.gserviceaccount.com"
}
@@ -0,0 +1,3 @@
mgdsoft_stackdriver:
credentials_json_file: "%env(resolve:GOOGLE_SERVICE_ACCOUNT)%'"
level: info
@@ -0,0 +1,14 @@
{
"bundles": {
"MGDSoft\\Stackdriver\\MgdsoftStackdriverBundle": ["prod"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"GOOGLE_SERVICE_ACCOUNT": "%kernel.project_dir%/config/keys/google_service_account.json"
},
"gitignore": [
"/config/keys/google_service_account.json"
]
}
@@ -0,0 +1,5 @@
<bg=blue;fg=white> </>
<bg=blue;fg=white> MGD Stackdriver installed in PROD ENV </>
<bg=blue;fg=white> </>