.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
81a9cd8999
commit
e68e8f2fb1
|
@ -32,13 +32,14 @@ def printSecrets(env):
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
def steps(name):
|
def steps(name, dependsOn):
|
||||||
return {
|
return {
|
||||||
"kind": "pipeline",
|
"kind": "pipeline",
|
||||||
"name": name,
|
"name": name,
|
||||||
"clone": {
|
"clone": {
|
||||||
"disable": True,
|
"disable": True,
|
||||||
},
|
},
|
||||||
|
"depends_on": dependsOn,
|
||||||
"steps": [
|
"steps": [
|
||||||
printSecrets([
|
printSecrets([
|
||||||
"local-docker-registry",
|
"local-docker-registry",
|
||||||
|
@ -58,7 +59,7 @@ def steps(name):
|
||||||
|
|
||||||
def main(ctx):
|
def main(ctx):
|
||||||
return [
|
return [
|
||||||
steps('first'),
|
steps('first', []),
|
||||||
steps('second'),
|
steps('second', ['first']),
|
||||||
]
|
]
|
||||||
|
|
Reference in New Issue