fix: no longer settings for ssh and scp
These images get their settings from default environm,ent names
This commit is contained in:
parent
c846f50184
commit
354341178d
|
@ -1,10 +1,9 @@
|
|||
local settings = import 'settings.libsonnet';
|
||||
{
|
||||
docker(overide): {
|
||||
name: 'docker',
|
||||
image: 'docker:19.03.12-dind@sha256:8dded163e463f4a59bf305b3dca98e312b2cfb89a43da3872e48f95a7554c48f',
|
||||
} + overide,
|
||||
scp(overide): function(target) settings.ssh {
|
||||
scp(overide): function(target) {
|
||||
name: 'scp',
|
||||
image: 'appleboy/drone-scp:1.6.2@sha256:bd37a55f4b97e7742b0de7333669b96220b3cc422d366e1fa8c34059b736ab47',
|
||||
settings +: {
|
||||
|
@ -15,7 +14,7 @@ local settings = import 'settings.libsonnet';
|
|||
],
|
||||
},
|
||||
} + overide,
|
||||
ssh(overide): settings.ssh {
|
||||
ssh(overide): {
|
||||
image: 'appleboy/drone-ssh:1.6.2@sha256:b801dc2cd238c192b6e99acfa7bc3f5b9a03f312bd2feb1e10b3a7a28a1b80ea',
|
||||
settings +: {
|
||||
envs: [
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
local environment = import 'node_modules/@sigyl/jsonnet-drone-environment/environment.libsonnet';
|
||||
{
|
||||
ssh: {
|
||||
settings +: {
|
||||
host: '${SSH_HOST}',
|
||||
username: '${SSH_USER}',
|
||||
key: '${SSH_KEY}',
|
||||
port: '${SSH_PORT}',
|
||||
passphrase: '${SSH_PASSPHRASE}',
|
||||
},
|
||||
},
|
||||
}
|
Loading…
Reference in New Issue