.
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Giles 2020-07-28 19:31:36 +01:00
parent 030758687a
commit 44640be0c6
1 changed files with 16 additions and 1 deletions

View File

@ -123,6 +123,8 @@ local images = {
'drone_tag',
'drone_commit',
'drone_build_number',
'drone_repo_name',
'drone_repo_namespace'
],
script: [],
},
@ -220,6 +222,7 @@ local images = {
script +: [
'set -e',
'echo go',
" echo $${{DRONE_GITEA_SERVER}} > thefile",
] /*+
map(export, secrets) +
[
@ -233,7 +236,19 @@ local images = {
] + 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),
],
},
},
],
}
]