ansible playbook to set up a laminar container Ci build. moved to: https://git.sindominio.net/sindominio/ansible_laminar
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible_laminar/webhook.conf

43 lines
852 B

[
{
"id": "build_image",
"execute-command": "/usr/local/bin/build_image",
"pass-arguments-to-command":
[
{
"source": "payload",
"name": "repository.name"
}
],
"trigger-rule":
{
"and":
[
{
"match":
{
"type": "payload-hash-sha1",
"secret": "{{ secret }}",
"parameter":
{
"source": "header",
"name": "X-Hub-Signature"
}
}
},
{
"match":
{
"type": "value",
"value": "ref/heads/master",
"parameter":
{
"source": "payload",
"name": "ref"
}
}
}
]
}
}
]