ci: docker versions
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
upgraded drone versions + specified other versions
This commit is contained in:
parent
996f6b646a
commit
a53a18a7ca
|
@ -8,7 +8,7 @@ services:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: any
|
condition: any
|
||||||
image: drone/drone:1.7.0
|
image: drone/drone:1.9.0
|
||||||
volumes:
|
volumes:
|
||||||
- drone:/var/lib/drone
|
- drone:/var/lib/drone
|
||||||
- drone-data:/data
|
- drone-data:/data
|
||||||
|
@ -39,7 +39,7 @@ services:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: any
|
condition: any
|
||||||
image: drone/drone-runner-docker:1
|
image: drone/drone-runner-docker:1.4.0
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -3,7 +3,7 @@ load("@this//:from-secret.star", "fromSecret")
|
||||||
def clear(folder):
|
def clear(folder):
|
||||||
return {
|
return {
|
||||||
"name": "clear",
|
"name": "clear",
|
||||||
"image": "appleboy/drone-ssh",
|
"image": "appleboy/drone-ssh:1.6.2",
|
||||||
"settings": {
|
"settings": {
|
||||||
"host": fromSecret("ssh-host"),
|
"host": fromSecret("ssh-host"),
|
||||||
"port": fromSecret("ssh-port"),
|
"port": fromSecret("ssh-port"),
|
||||||
|
|
|
@ -13,7 +13,7 @@ def deploy(
|
||||||
):
|
):
|
||||||
return {
|
return {
|
||||||
"name": "deploy {name}".format(name = name),
|
"name": "deploy {name}".format(name = name),
|
||||||
"image": "appleboy/drone-ssh",
|
"image": "appleboy/drone-ssh:1.6.2",
|
||||||
"environment": environment(secrets),
|
"environment": environment(secrets),
|
||||||
"settings": {
|
"settings": {
|
||||||
"envs": [x.replace("-", "_") for x in secrets ],
|
"envs": [x.replace("-", "_") for x in secrets ],
|
||||||
|
|
|
@ -13,7 +13,7 @@ def deploy(
|
||||||
):
|
):
|
||||||
return {
|
return {
|
||||||
"name": "deploy {name}".format(name = name),
|
"name": "deploy {name}".format(name = name),
|
||||||
"image": "appleboy/drone-ssh",
|
"image": "appleboy/drone-ssh:1.6.2",
|
||||||
"environment": environment(secrets),
|
"environment": environment(secrets),
|
||||||
"settings": {
|
"settings": {
|
||||||
"envs": [x.replace("-", "_") for x in secrets ],
|
"envs": [x.replace("-", "_") for x in secrets ],
|
||||||
|
|
|
@ -8,7 +8,7 @@ load("@this//:echo-secret.star", "echoSecret")
|
||||||
def printSecrets(filename, env, secretEnv):
|
def printSecrets(filename, env, secretEnv):
|
||||||
return {
|
return {
|
||||||
"name": "print secrets",
|
"name": "print secrets",
|
||||||
"image": "appleboy/drone-ssh",
|
"image": "appleboy/drone-ssh:1.6.2",
|
||||||
"environment": environment(env + secretEnv),
|
"environment": environment(env + secretEnv),
|
||||||
"settings": {
|
"settings": {
|
||||||
"envs": [x.replace("-", "_") for x in env + secretEnv ],
|
"envs": [x.replace("-", "_") for x in env + secretEnv ],
|
||||||
|
|
|
@ -13,7 +13,7 @@ def pull(
|
||||||
]
|
]
|
||||||
return {
|
return {
|
||||||
"name": name,
|
"name": name,
|
||||||
"image": "appleboy/drone-ssh",
|
"image": "appleboy/drone-ssh:1.6.2",
|
||||||
"environment": environment(secrets),
|
"environment": environment(secrets),
|
||||||
"settings": {
|
"settings": {
|
||||||
"envs": [x.replace("-", "_") for x in secrets ],
|
"envs": [x.replace("-", "_") for x in secrets ],
|
||||||
|
|
|
@ -6,7 +6,7 @@ def rescale(
|
||||||
):
|
):
|
||||||
return {
|
return {
|
||||||
"name": "rescale {service}".format(service=service),
|
"name": "rescale {service}".format(service=service),
|
||||||
"image": "appleboy/drone-ssh",
|
"image": "appleboy/drone-ssh:1.6.2",
|
||||||
"settings": {
|
"settings": {
|
||||||
"host": fromSecret("ssh-host"),
|
"host": fromSecret("ssh-host"),
|
||||||
"port": fromSecret("ssh-port"),
|
"port": fromSecret("ssh-port"),
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
def scp(target):
|
def scp(target):
|
||||||
return {
|
return {
|
||||||
"name": "scp files",
|
"name": "scp files",
|
||||||
"image": "appleboy/drone-scp",
|
"image": "appleboy/drone-scp:1.6.2",
|
||||||
"settings": {
|
"settings": {
|
||||||
"host": {
|
"host": {
|
||||||
"from_secret": "ssh-host",
|
"from_secret": "ssh-host",
|
||||||
|
|
Loading…
Reference in New Issue