ci: docker versions
continuous-integration/drone/push Build was killed Details

upgraded drone versions + specified other versions
This commit is contained in:
Giles Bradshaw 2020-08-13 10:03:13 +01:00
parent 996f6b646a
commit a53a18a7ca
8 changed files with 9 additions and 9 deletions

View File

@ -8,7 +8,7 @@ services:
replicas: 1
restart_policy:
condition: any
image: drone/drone:1.7.0
image: drone/drone:1.9.0
volumes:
- drone:/var/lib/drone
- drone-data:/data
@ -39,7 +39,7 @@ services:
replicas: 1
restart_policy:
condition: any
image: drone/drone-runner-docker:1
image: drone/drone-runner-docker:1.4.0
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:

View File

@ -3,7 +3,7 @@ load("@this//:from-secret.star", "fromSecret")
def clear(folder):
return {
"name": "clear",
"image": "appleboy/drone-ssh",
"image": "appleboy/drone-ssh:1.6.2",
"settings": {
"host": fromSecret("ssh-host"),
"port": fromSecret("ssh-port"),

View File

@ -13,7 +13,7 @@ def deploy(
):
return {
"name": "deploy {name}".format(name = name),
"image": "appleboy/drone-ssh",
"image": "appleboy/drone-ssh:1.6.2",
"environment": environment(secrets),
"settings": {
"envs": [x.replace("-", "_") for x in secrets ],

View File

@ -13,7 +13,7 @@ def deploy(
):
return {
"name": "deploy {name}".format(name = name),
"image": "appleboy/drone-ssh",
"image": "appleboy/drone-ssh:1.6.2",
"environment": environment(secrets),
"settings": {
"envs": [x.replace("-", "_") for x in secrets ],

View File

@ -8,7 +8,7 @@ load("@this//:echo-secret.star", "echoSecret")
def printSecrets(filename, env, secretEnv):
return {
"name": "print secrets",
"image": "appleboy/drone-ssh",
"image": "appleboy/drone-ssh:1.6.2",
"environment": environment(env + secretEnv),
"settings": {
"envs": [x.replace("-", "_") for x in env + secretEnv ],

View File

@ -13,7 +13,7 @@ def pull(
]
return {
"name": name,
"image": "appleboy/drone-ssh",
"image": "appleboy/drone-ssh:1.6.2",
"environment": environment(secrets),
"settings": {
"envs": [x.replace("-", "_") for x in secrets ],

View File

@ -6,7 +6,7 @@ def rescale(
):
return {
"name": "rescale {service}".format(service=service),
"image": "appleboy/drone-ssh",
"image": "appleboy/drone-ssh:1.6.2",
"settings": {
"host": fromSecret("ssh-host"),
"port": fromSecret("ssh-port"),

View File

@ -1,7 +1,7 @@
def scp(target):
return {
"name": "scp files",
"image": "appleboy/drone-scp",
"image": "appleboy/drone-scp:1.6.2",
"settings": {
"host": {
"from_secret": "ssh-host",