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(
|
util.compose(
|
||||||
std.map(
|
std.map(
|
||||||
function(s) util.envSet(s),
|
function(s) util.envSet(s),
|
||||||
publicSecrets
|
publicSecrets + secretSecrets
|
||||||
) +
|
) +
|
||||||
std.map(
|
std.map(
|
||||||
function(s) function(step) step {
|
function(s) function(step) step {
|
||||||
|
@ -211,7 +211,7 @@ local images = {
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
publicSecrets
|
publicSecrets + secretSecrets
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(
|
(
|
||||||
|
@ -240,13 +240,13 @@ local images = {
|
||||||
) {
|
) {
|
||||||
settings +: {
|
settings +: {
|
||||||
script +: [
|
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),
|
//"export DRONE_COMMIT={commit}".format(commit=ctx.build.commit),
|
||||||
//"docker network prune -f",
|
"docker network prune -f",
|
||||||
//"cd {folder}".format(folder=folder),
|
"cd /stack/portainer",
|
||||||
//"docker stack rm {name}".format(name = name),
|
"docker stack rm portainer",
|
||||||
//"sleep 30",
|
"sleep 30",
|
||||||
//"docker stack deploy -c {filename} {name}".format(name= name, filename = filename),
|
"docker stack deploy -c docker-compose.yml portainer",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue