deploy jsonnet
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
c6bda81782
commit
7153c383f9
|
@ -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",
|
||||
],
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue