From f2a83c20698e48f778da38835428b55518aa193d Mon Sep 17 00:00:00 2001 From: Giles Bradshaw Date: Tue, 28 Jul 2020 17:54:00 +0100 Subject: [PATCH] composed envsets --- .drone-home.jsonnet | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.drone-home.jsonnet b/.drone-home.jsonnet index 119fb11..1f3ab12 100644 --- a/.drone-home.jsonnet +++ b/.drone-home.jsonnet @@ -199,7 +199,8 @@ local images = { function(s) function(step) step { settings +: { script +: [ - "export D=$${DRONE_COMMIT}", + "export D=${DRONE_COMMIT}", + "export O=${O}", "export %(env)s='${%(env)s}'" % { env: util.environment(s), }, @@ -212,6 +213,9 @@ local images = { ( images.ssh { name: 'deploy portainer', + environment +: { + O: 'ahahahahaha', + }, settings +: { username: util.fromSecret("ssh-root-user"), password: util.fromSecret("ssh-root-password"),