.
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
030758687a
commit
44640be0c6
|
@ -123,6 +123,8 @@ local images = {
|
||||||
'drone_tag',
|
'drone_tag',
|
||||||
'drone_commit',
|
'drone_commit',
|
||||||
'drone_build_number',
|
'drone_build_number',
|
||||||
|
'drone_repo_name',
|
||||||
|
'drone_repo_namespace'
|
||||||
],
|
],
|
||||||
script: [],
|
script: [],
|
||||||
},
|
},
|
||||||
|
@ -220,6 +222,7 @@ local images = {
|
||||||
script +: [
|
script +: [
|
||||||
'set -e',
|
'set -e',
|
||||||
'echo go',
|
'echo go',
|
||||||
|
" echo $${{DRONE_GITEA_SERVER}} > thefile",
|
||||||
] /*+
|
] /*+
|
||||||
map(export, secrets) +
|
map(export, secrets) +
|
||||||
[
|
[
|
||||||
|
@ -233,7 +236,19 @@ local images = {
|
||||||
] + commands */
|
] + commands */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)
|
) {
|
||||||
|
settings +: {
|
||||||
|
script +: [
|
||||||
|
"export DRONE_REPO_LINK=$${{DRONE_GITEA_SERVER}}/$${DRONE_REPO_NAMESPACE}/$${DRONE_REPO_NAME}",
|
||||||
|
//"export DRONE_COMMIT={commit}".format(commit=ctx.build.commit),
|
||||||
|
//"docker network prune -f",
|
||||||
|
//"cd {folder}".format(folder=folder),
|
||||||
|
//"docker stack rm {name}".format(name = name),
|
||||||
|
//"sleep 30",
|
||||||
|
//"docker stack deploy -c {filename} {name}".format(name= name, filename = filename),
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue