Merge pull request #26 from sspeiche/generic-webhook
Added Generic webhook trigger to buildconfig and supporting env var
This commit is contained in:
commit
d9b1b3a154
2 changed files with 25 additions and 1 deletions
|
@ -102,6 +102,12 @@
|
|||
"github": {
|
||||
"secret": "${GITHUB_WEBHOOK_SECRET}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Generic",
|
||||
"generic": {
|
||||
"secret": "${GENERIC_WEBHOOK_SECRET}"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -297,6 +303,12 @@
|
|||
"generate": "expression",
|
||||
"from": "[a-zA-Z0-9]{40}"
|
||||
},
|
||||
{
|
||||
"name": "GENERIC_WEBHOOK_SECRET",
|
||||
"description": "A secret string used to configure the Generic webhook",
|
||||
"generate": "expression",
|
||||
"from": "[a-zA-Z0-9]{40}"
|
||||
},
|
||||
{
|
||||
"name": "DATABASE_SERVICE_NAME",
|
||||
"description": "Database service name",
|
||||
|
|
|
@ -102,6 +102,12 @@
|
|||
"github": {
|
||||
"secret": "${GITHUB_WEBHOOK_SECRET}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Generic",
|
||||
"generic": {
|
||||
"secret": "${GENERIC_WEBHOOK_SECRET}"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -212,6 +218,12 @@
|
|||
"generate": "expression",
|
||||
"from": "[a-zA-Z0-9]{40}"
|
||||
},
|
||||
{
|
||||
"name": "GENERIC_WEBHOOK_SECRET",
|
||||
"description": "A secret string used to configure the Generic webhook",
|
||||
"generate": "expression",
|
||||
"from": "[a-zA-Z0-9]{40}"
|
||||
},
|
||||
{
|
||||
"name": "DATABASE_SERVICE_NAME",
|
||||
"description": "Database service name"
|
||||
|
|
Loading…
Add table
Reference in a new issue