move away from that webhook and use the one from voxpopuli - https://gitlab.confdroid.com/internal/confdroid_management/-/issues/284
This commit is contained in:
@@ -1,36 +0,0 @@
|
||||
[
|
||||
{
|
||||
"id": "r10k-deploy",
|
||||
"execute-command": "/usr/local/bin/r10k-wrapper.sh",
|
||||
"command-working-directory": "/etc/puppetlabs/code",
|
||||
"pass-arguments-to-command": [
|
||||
{ "source": "string", "name": "deploy" },
|
||||
{ "source": "string", "name": "environment" },
|
||||
{ "source": "string", "name": "-pv" }
|
||||
],
|
||||
"trigger-rule": {
|
||||
"and": [
|
||||
{
|
||||
"match": {
|
||||
"type": "value",
|
||||
"value": "production",
|
||||
"parameter": {
|
||||
"source": "jsonpath",
|
||||
"name": "$.object_attributes.target_branch"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"match": {
|
||||
"type": "value",
|
||||
"value": "merge_request",
|
||||
"parameter": {
|
||||
"source": "jsonpath",
|
||||
"name": "$.object_kind"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -1,15 +0,0 @@
|
||||
[Unit]
|
||||
Description=Webhook Service for r10k Deployment
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/local/bin/webhook -hooks <%= @pt_r10k_hook_config_file %> -port 8088
|
||||
Restart=always
|
||||
User=puppet
|
||||
Group=puppet
|
||||
WorkingDirectory=/etc/puppetlabs/code
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user