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": {
|
"github": {
|
||||||
"secret": "${GITHUB_WEBHOOK_SECRET}"
|
"secret": "${GITHUB_WEBHOOK_SECRET}"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Generic",
|
||||||
|
"generic": {
|
||||||
|
"secret": "${GENERIC_WEBHOOK_SECRET}"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -297,6 +303,12 @@
|
||||||
"generate": "expression",
|
"generate": "expression",
|
||||||
"from": "[a-zA-Z0-9]{40}"
|
"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",
|
"name": "DATABASE_SERVICE_NAME",
|
||||||
"description": "Database service name",
|
"description": "Database service name",
|
||||||
|
@ -328,7 +340,7 @@
|
||||||
{
|
{
|
||||||
"name": "MONGODB_IMAGE",
|
"name": "MONGODB_IMAGE",
|
||||||
"description": "Image to use for mongodb",
|
"description": "Image to use for mongodb",
|
||||||
"value": "openshift/mongodb-24-centos7"
|
"value": "openshift/mongodb-24-centos7"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -102,6 +102,12 @@
|
||||||
"github": {
|
"github": {
|
||||||
"secret": "${GITHUB_WEBHOOK_SECRET}"
|
"secret": "${GITHUB_WEBHOOK_SECRET}"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Generic",
|
||||||
|
"generic": {
|
||||||
|
"secret": "${GENERIC_WEBHOOK_SECRET}"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -212,6 +218,12 @@
|
||||||
"generate": "expression",
|
"generate": "expression",
|
||||||
"from": "[a-zA-Z0-9]{40}"
|
"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",
|
"name": "DATABASE_SERVICE_NAME",
|
||||||
"description": "Database service name"
|
"description": "Database service name"
|
||||||
|
|
Loading…
Add table
Reference in a new issue