.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
7e1fc10b07
commit
cde071d972
|
@ -0,0 +1,40 @@
|
|||
def pipeline(
|
||||
name,
|
||||
steps,
|
||||
dependsOn,
|
||||
):
|
||||
return {
|
||||
"kind": "pipeline",
|
||||
"name": name,
|
||||
"depends_on": dependsOn,
|
||||
"steps": steps,
|
||||
"services": [
|
||||
{
|
||||
"name": "docker",
|
||||
"image": "docker:dind",
|
||||
"privileged": True,
|
||||
"volumes": [
|
||||
{
|
||||
"name": "dockersock",
|
||||
"path": "/var/run",
|
||||
},
|
||||
{
|
||||
"name": "ca",
|
||||
"path": "/etc/docker/certs.d",
|
||||
},
|
||||
],
|
||||
}
|
||||
],
|
||||
"volumes": [
|
||||
{
|
||||
"name": "dockersock",
|
||||
"temp": {},
|
||||
},
|
||||
{
|
||||
"name": "ca",
|
||||
"host": {
|
||||
"path": "/home/giles/gitea-drone-stack/.ca",
|
||||
},
|
||||
},
|
||||
],
|
||||
}
|
Reference in New Issue