This commit is contained in:
parent
c9d91569db
commit
613c03b193
|
@ -47,10 +47,6 @@ steps:
|
||||||
- drone_gitea_client_secret
|
- drone_gitea_client_secret
|
||||||
- drone_rpc_secret
|
- drone_rpc_secret
|
||||||
- ssh_key
|
- ssh_key
|
||||||
host: ${SSH_HOST}
|
|
||||||
key: ${SSH_KEY}
|
|
||||||
passphrase: ${SSH_PASSPHRASE}
|
|
||||||
port: ${SSH_PORT}
|
|
||||||
script:
|
script:
|
||||||
- rm -f env-drone
|
- rm -f env-drone
|
||||||
- "echo \"export REGISTRY_DOMAIN='$${REGISTRY_DOMAIN}'\" >> env-drone # \"registry-domain\""
|
- "echo \"export REGISTRY_DOMAIN='$${REGISTRY_DOMAIN}'\" >> env-drone # \"registry-domain\""
|
||||||
|
@ -66,7 +62,6 @@ steps:
|
||||||
- "echo \"export DRONE_GITEA_CLIENT_SECRET='$${DRONE_GITEA_CLIENT_SECRET}'\" >> env-drone # \"drone-gitea-client-secret\""
|
- "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 DRONE_RPC_SECRET='$${DRONE_RPC_SECRET}'\" >> env-drone # \"drone-rpc-secret\""
|
||||||
- "echo \"export SSH_KEY='$${SSH_KEY}'\" >> env-drone # \"ssh-key\""
|
- "echo \"export SSH_KEY='$${SSH_KEY}'\" >> env-drone # \"ssh-key\""
|
||||||
username: ${SSH_USER}
|
|
||||||
environment:
|
environment:
|
||||||
DOMAIN:
|
DOMAIN:
|
||||||
from_secret: domain
|
from_secret: domain
|
||||||
|
@ -99,14 +94,9 @@ steps:
|
||||||
image: appleboy/drone-scp:1.6.2@sha256:bd37a55f4b97e7742b0de7333669b96220b3cc422d366e1fa8c34059b736ab47
|
image: appleboy/drone-scp:1.6.2@sha256:bd37a55f4b97e7742b0de7333669b96220b3cc422d366e1fa8c34059b736ab47
|
||||||
settings:
|
settings:
|
||||||
command_timeout: 2m
|
command_timeout: 2m
|
||||||
host: ${SSH_HOST}
|
|
||||||
key: ${SSH_KEY}
|
|
||||||
passphrase: ${SSH_PASSPHRASE}
|
|
||||||
port: ${SSH_PORT}
|
|
||||||
source:
|
source:
|
||||||
- .
|
- .
|
||||||
target: /stack/drone
|
target: /stack/drone
|
||||||
username: ${SSH_USER}
|
|
||||||
|
|
||||||
- name: wait
|
- name: wait
|
||||||
image: alpine:3.12.0@sha256:90baa0922fe90624b05cb5766fa5da4e337921656c2f8e2b13bd3c052a0baac1
|
image: alpine:3.12.0@sha256:90baa0922fe90624b05cb5766fa5da4e337921656c2f8e2b13bd3c052a0baac1
|
||||||
|
@ -154,10 +144,6 @@ steps:
|
||||||
- registry_domain
|
- registry_domain
|
||||||
- registry_port
|
- registry_port
|
||||||
- registry_password
|
- registry_password
|
||||||
host: ${SSH_HOST}
|
|
||||||
key: ${SSH_KEY}
|
|
||||||
passphrase: ${SSH_PASSPHRASE}
|
|
||||||
port: ${SSH_PORT}
|
|
||||||
script:
|
script:
|
||||||
- export DRONE_GITEA_CLIENT_SECRET=$${DRONE_GITEA_CLIENT_SECRET}
|
- export DRONE_GITEA_CLIENT_SECRET=$${DRONE_GITEA_CLIENT_SECRET}
|
||||||
- export DRONE_RPC_SECRET=$${DRONE_RPC_SECRET}
|
- export DRONE_RPC_SECRET=$${DRONE_RPC_SECRET}
|
||||||
|
@ -177,7 +163,6 @@ steps:
|
||||||
- sh .drone/login.sh
|
- sh .drone/login.sh
|
||||||
- sh .drone/pull.sh
|
- sh .drone/pull.sh
|
||||||
- sh .drone/deploy.sh
|
- sh .drone/deploy.sh
|
||||||
username: ${SSH_USER}
|
|
||||||
environment:
|
environment:
|
||||||
DOMAIN:
|
DOMAIN:
|
||||||
from_secret: domain
|
from_secret: domain
|
||||||
|
|
|
@ -47,10 +47,6 @@ steps:
|
||||||
- drone_gitea_client_secret
|
- drone_gitea_client_secret
|
||||||
- drone_rpc_secret
|
- drone_rpc_secret
|
||||||
- ssh_key
|
- ssh_key
|
||||||
host: ${SSH_HOST}
|
|
||||||
key: ${SSH_KEY}
|
|
||||||
passphrase: ${SSH_PASSPHRASE}
|
|
||||||
port: ${SSH_PORT}
|
|
||||||
script:
|
script:
|
||||||
- rm -f env-drone
|
- rm -f env-drone
|
||||||
- "echo \"export REGISTRY_DOMAIN='$${REGISTRY_DOMAIN}'\" >> env-drone # \"registry-domain\""
|
- "echo \"export REGISTRY_DOMAIN='$${REGISTRY_DOMAIN}'\" >> env-drone # \"registry-domain\""
|
||||||
|
@ -66,7 +62,6 @@ steps:
|
||||||
- "echo \"export DRONE_GITEA_CLIENT_SECRET='$${DRONE_GITEA_CLIENT_SECRET}'\" >> env-drone # \"drone-gitea-client-secret\""
|
- "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 DRONE_RPC_SECRET='$${DRONE_RPC_SECRET}'\" >> env-drone # \"drone-rpc-secret\""
|
||||||
- "echo \"export SSH_KEY='$${SSH_KEY}'\" >> env-drone # \"ssh-key\""
|
- "echo \"export SSH_KEY='$${SSH_KEY}'\" >> env-drone # \"ssh-key\""
|
||||||
username: ${SSH_USER}
|
|
||||||
environment:
|
environment:
|
||||||
DOMAIN:
|
DOMAIN:
|
||||||
from_secret: domain
|
from_secret: domain
|
||||||
|
@ -99,14 +94,9 @@ steps:
|
||||||
image: appleboy/drone-scp:1.6.2@sha256:bd37a55f4b97e7742b0de7333669b96220b3cc422d366e1fa8c34059b736ab47
|
image: appleboy/drone-scp:1.6.2@sha256:bd37a55f4b97e7742b0de7333669b96220b3cc422d366e1fa8c34059b736ab47
|
||||||
settings:
|
settings:
|
||||||
command_timeout: 2m
|
command_timeout: 2m
|
||||||
host: ${SSH_HOST}
|
|
||||||
key: ${SSH_KEY}
|
|
||||||
passphrase: ${SSH_PASSPHRASE}
|
|
||||||
port: ${SSH_PORT}
|
|
||||||
source:
|
source:
|
||||||
- .
|
- .
|
||||||
target: /stack/drone
|
target: /stack/drone
|
||||||
username: ${SSH_USER}
|
|
||||||
|
|
||||||
- name: wait
|
- name: wait
|
||||||
image: alpine:3.12.0@sha256:90baa0922fe90624b05cb5766fa5da4e337921656c2f8e2b13bd3c052a0baac1
|
image: alpine:3.12.0@sha256:90baa0922fe90624b05cb5766fa5da4e337921656c2f8e2b13bd3c052a0baac1
|
||||||
|
@ -154,10 +144,6 @@ steps:
|
||||||
- registry_domain
|
- registry_domain
|
||||||
- registry_port
|
- registry_port
|
||||||
- registry_password
|
- registry_password
|
||||||
host: ${SSH_HOST}
|
|
||||||
key: ${SSH_KEY}
|
|
||||||
passphrase: ${SSH_PASSPHRASE}
|
|
||||||
port: ${SSH_PORT}
|
|
||||||
script:
|
script:
|
||||||
- export DRONE_GITEA_CLIENT_SECRET=$${DRONE_GITEA_CLIENT_SECRET}
|
- export DRONE_GITEA_CLIENT_SECRET=$${DRONE_GITEA_CLIENT_SECRET}
|
||||||
- export DRONE_RPC_SECRET=$${DRONE_RPC_SECRET}
|
- export DRONE_RPC_SECRET=$${DRONE_RPC_SECRET}
|
||||||
|
@ -177,7 +163,6 @@ steps:
|
||||||
- sh .drone/login.sh
|
- sh .drone/login.sh
|
||||||
- sh .drone/pull.sh
|
- sh .drone/pull.sh
|
||||||
- sh .drone/deploy.sh
|
- sh .drone/deploy.sh
|
||||||
username: ${SSH_USER}
|
|
||||||
environment:
|
environment:
|
||||||
DOMAIN:
|
DOMAIN:
|
||||||
from_secret: domain
|
from_secret: domain
|
||||||
|
|
Loading…
Reference in New Issue