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

This commit is contained in:
Giles 2020-07-28 18:53:57 +01:00
parent 6131b0bdbf
commit 3d484408d0
1 changed files with 3 additions and 22 deletions

View File

@ -113,17 +113,13 @@ local images = {
},
},
ssh: {
image: 'appleboy/drone-ssh',
environment: {
OOO: 'ahahahahaha',
},
image: 'appleboy/drone-ssh',
settings: {
host: util.fromSecret("ssh-host"),
port: util.fromSecret("ssh-port"),
username: util.fromSecret("ssh-user"),
password: util.fromSecret("ssh-password"),
envs: [
'ooo',
'drone_tag',
'drone_commit',
'drone_build_number',
@ -204,18 +200,11 @@ local images = {
function(s) function(step) step {
settings +: {
script +: [
'echo "export %(environment)s=\'$${%(environment)s}\'"' % {
environment: util.environment(s),
file: 'thisfile',
secret: util.secret(s),
},
"export D=${DRONE_COMMIT}",
"export O=$${O}",
"export OOO=$${OOO}",
"echo $${OOO}",
"export %(env)s='$${%(env)s}'" % {
env: util.environment(s),
},
"echo '$${%(env)s}'"
],
},
},
@ -225,20 +214,12 @@ local images = {
(
images.ssh {
name: 'deploy portainer',
environment +: {
O: 'ahahahahaha',
},
settings +: {
envs +: [
'o',
],
//username: util.fromSecret("ssh-root-user"),
//password: util.fromSecret("ssh-root-password"),
script +: [
'set -e',
'echo go',
'export OOO=${OOO}',
'export O=${O}',
] /*+
map(export, secrets) +
[