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

This commit is contained in:
Giles Bradshaw 2020-09-22 11:34:11 +01:00
parent f369c07b17
commit 660a573678
4 changed files with 17 additions and 23 deletions

View File

@ -42,7 +42,7 @@ steps:
- drone_gitea_server
- drone_server_host
- ssh_host
- ssh_user
- ssh_username
- ssh_port
- drone_gitea_client_secret
- drone_rpc_secret
@ -61,12 +61,11 @@ steps:
- "echo \"export DRONE_GITEA_SERVER='$${DRONE_GITEA_SERVER}'\" >> env-drone # \"drone-gitea-server\""
- "echo \"export DRONE_SERVER_HOST='$${DRONE_SERVER_HOST}'\" >> env-drone # \"drone-server-host\""
- "echo \"export SSH_HOST='$${SSH_HOST}'\" >> env-drone # \"ssh-host\""
- "echo \"export SSH_USER='$${SSH_USER}'\" >> env-drone # \"ssh-user\""
- "echo \"export SSH_USERNAME='$${SSH_USERNAME}'\" >> env-drone # \"ssh-username\""
- "echo \"export SSH_PORT='$${SSH_PORT}'\" >> env-drone # \"ssh-port\""
- "echo \"export DRONE_GITEA_CLIENT_SECRET='$${DRONE_GITEA_CLIENT_SECRET}'\" >> env-drone # \"drone-gitea-client-secret\""
- "echo \"export DRONE_RPC_SECRET='$${DRONE_RPC_SECRET}'\" >> env-drone # \"drone-rpc-secret\""
- "echo \"export SSH_KEY='$${SSH_KEY}'\" >> env-drone # \"ssh-key\""
username: ${SSH_USER}
environment:
DOMAIN:
from_secret: domain
@ -92,8 +91,8 @@ steps:
from_secret: ssh-key
SSH_PORT:
from_secret: ssh-port
SSH_USER:
from_secret: ssh-user
SSH_USERNAME:
from_secret: ssh-username
- name: scp
image: appleboy/drone-scp:1.6.2@sha256:bd37a55f4b97e7742b0de7333669b96220b3cc422d366e1fa8c34059b736ab47
@ -106,7 +105,6 @@ steps:
source:
- .
target: /stack/drone
username: ${SSH_USER}
- name: wait
image: alpine:3.12.0@sha256:90baa0922fe90624b05cb5766fa5da4e337921656c2f8e2b13bd3c052a0baac1
@ -146,7 +144,7 @@ steps:
- drone_gitea_server
- drone_server_host
- ssh_host
- ssh_user
- ssh_username
- ssh_port
- drone_gitea_client_secret
- drone_rpc_secret
@ -167,7 +165,7 @@ steps:
- export DRONE_GITEA_SERVER=$${DRONE_GITEA_SERVER}
- export DRONE_SERVER_HOST=$${DRONE_SERVER_HOST}
- export SSH_HOST=$${SSH_HOST}
- export SSH_USER=$${SSH_USER}
- export SSH_USERNAME=$${SSH_USERNAME}
- export SSH_PORT=$${SSH_PORT}
- export REGISTRY_DOMAIN=$${REGISTRY_DOMAIN}
- export REGISTRY_PORT=$${REGISTRY_PORT}
@ -177,7 +175,6 @@ steps:
- sh .drone/login.sh
- sh .drone/pull.sh
- sh .drone/deploy.sh
username: ${SSH_USER}
environment:
DOMAIN:
from_secret: domain
@ -203,8 +200,8 @@ steps:
from_secret: ssh-key
SSH_PORT:
from_secret: ssh-port
SSH_USER:
from_secret: ssh-user
SSH_USERNAME:
from_secret: ssh-username
services:
- name: docker

View File

@ -42,7 +42,7 @@ steps:
- drone_gitea_server
- drone_server_host
- ssh_host
- ssh_user
- ssh_username
- ssh_port
- drone_gitea_client_secret
- drone_rpc_secret
@ -61,12 +61,11 @@ steps:
- "echo \"export DRONE_GITEA_SERVER='$${DRONE_GITEA_SERVER}'\" >> env-drone # \"drone-gitea-server\""
- "echo \"export DRONE_SERVER_HOST='$${DRONE_SERVER_HOST}'\" >> env-drone # \"drone-server-host\""
- "echo \"export SSH_HOST='$${SSH_HOST}'\" >> env-drone # \"ssh-host\""
- "echo \"export SSH_USER='$${SSH_USER}'\" >> env-drone # \"ssh-user\""
- "echo \"export SSH_USERNAME='$${SSH_USERNAME}'\" >> env-drone # \"ssh-username\""
- "echo \"export SSH_PORT='$${SSH_PORT}'\" >> env-drone # \"ssh-port\""
- "echo \"export DRONE_GITEA_CLIENT_SECRET='$${DRONE_GITEA_CLIENT_SECRET}'\" >> env-drone # \"drone-gitea-client-secret\""
- "echo \"export DRONE_RPC_SECRET='$${DRONE_RPC_SECRET}'\" >> env-drone # \"drone-rpc-secret\""
- "echo \"export SSH_KEY='$${SSH_KEY}'\" >> env-drone # \"ssh-key\""
#username: giles
environment:
DOMAIN:
from_secret: domain
@ -93,7 +92,7 @@ steps:
SSH_PORT:
from_secret: ssh-port
SSH_USERNAME:
from_secret: ssh-user
from_secret: ssh-username
- name: scp
image: appleboy/drone-scp:1.6.2@sha256:bd37a55f4b97e7742b0de7333669b96220b3cc422d366e1fa8c34059b736ab47
@ -106,7 +105,6 @@ steps:
source:
- .
target: /stack/drone
username: ${SSH_USER}
- name: wait
image: alpine:3.12.0@sha256:90baa0922fe90624b05cb5766fa5da4e337921656c2f8e2b13bd3c052a0baac1
@ -146,7 +144,7 @@ steps:
- drone_gitea_server
- drone_server_host
- ssh_host
- ssh_user
- ssh_username
- ssh_port
- drone_gitea_client_secret
- drone_rpc_secret
@ -167,7 +165,7 @@ steps:
- export DRONE_GITEA_SERVER=$${DRONE_GITEA_SERVER}
- export DRONE_SERVER_HOST=$${DRONE_SERVER_HOST}
- export SSH_HOST=$${SSH_HOST}
- export SSH_USER=$${SSH_USER}
- export SSH_USERNAME=$${SSH_USERNAME}
- export SSH_PORT=$${SSH_PORT}
- export REGISTRY_DOMAIN=$${REGISTRY_DOMAIN}
- export REGISTRY_PORT=$${REGISTRY_PORT}
@ -177,7 +175,6 @@ steps:
- sh .drone/login.sh
- sh .drone/pull.sh
- sh .drone/deploy.sh
username: ${SSH_USER}
environment:
DOMAIN:
from_secret: domain
@ -203,8 +200,8 @@ steps:
from_secret: ssh-key
SSH_PORT:
from_secret: ssh-port
SSH_USER:
from_secret: ssh-user
SSH_USERNAME:
from_secret: ssh-username
services:
- name: docker

View File

@ -4,6 +4,6 @@
'drone-gitea-server',
'drone-server-host',
'ssh-host',
'ssh-user',
'ssh-username',
'ssh-port'
]