deploy jsonnet
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Giles 2020-07-28 20:11:18 +01:00
parent c6bda81782
commit 7153c383f9
1 changed files with 8 additions and 8 deletions

View File

@ -197,7 +197,7 @@ local images = {
util.compose(
std.map(
function(s) util.envSet(s),
publicSecrets
publicSecrets + secretSecrets
) +
std.map(
function(s) function(step) step {
@ -211,7 +211,7 @@ local images = {
],
},
},
publicSecrets
publicSecrets + secretSecrets
)
)
(
@ -240,13 +240,13 @@ local images = {
) {
settings +: {
script +: [
"export DRONE_REPO_LINK=$${{DRONE_GITEA_SERVER}}/$${DRONE_REPO_NAMESPACE}/$${DRONE_REPO_NAME}",
//"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),
"docker network prune -f",
"cd /stack/portainer",
"docker stack rm portainer",
"sleep 30",
"docker stack deploy -c docker-compose.yml portainer",
],
},
},