.
This commit is contained in:
parent
c42266927d
commit
d440b94e0e
|
@ -91,6 +91,7 @@ steps:
|
||||||
- registry_port
|
- registry_port
|
||||||
- registry_password
|
- registry_password
|
||||||
- scheme
|
- scheme
|
||||||
|
- scheme
|
||||||
- domain
|
- domain
|
||||||
- drone_gitea_client_id
|
- drone_gitea_client_id
|
||||||
- drone_gitea_server
|
- drone_gitea_server
|
||||||
|
@ -107,6 +108,7 @@ steps:
|
||||||
- "echo \"export REGISTRY_PORT='$${REGISTRY_PORT}'\" >> env-drone # \"registry-port\""
|
- "echo \"export REGISTRY_PORT='$${REGISTRY_PORT}'\" >> env-drone # \"registry-port\""
|
||||||
- "echo \"export REGISTRY_PASSWORD='$${REGISTRY_PASSWORD}'\" >> env-drone # \"registry-password\""
|
- "echo \"export REGISTRY_PASSWORD='$${REGISTRY_PASSWORD}'\" >> env-drone # \"registry-password\""
|
||||||
- "echo \"export SCHEME='$${SCHEME}'\" >> env-drone # \"scheme\""
|
- "echo \"export SCHEME='$${SCHEME}'\" >> env-drone # \"scheme\""
|
||||||
|
- "echo \"export SCHEME='$${SCHEME}'\" >> env-drone # \"scheme\""
|
||||||
- "echo \"export DOMAIN='$${DOMAIN}'\" >> env-drone # \"domain\""
|
- "echo \"export DOMAIN='$${DOMAIN}'\" >> env-drone # \"domain\""
|
||||||
- "echo \"export DRONE_GITEA_CLIENT_ID='$${DRONE_GITEA_CLIENT_ID}'\" >> env-drone # \"drone-gitea-client-id\""
|
- "echo \"export DRONE_GITEA_CLIENT_ID='$${DRONE_GITEA_CLIENT_ID}'\" >> env-drone # \"drone-gitea-client-id\""
|
||||||
- "echo \"export DRONE_GITEA_SERVER='$${DRONE_GITEA_SERVER}'\" >> env-drone # \"drone-gitea-server\""
|
- "echo \"export DRONE_GITEA_SERVER='$${DRONE_GITEA_SERVER}'\" >> env-drone # \"drone-gitea-server\""
|
||||||
|
@ -190,6 +192,7 @@ steps:
|
||||||
- drone_build_number
|
- drone_build_number
|
||||||
- drone_repo_name
|
- drone_repo_name
|
||||||
- drone_repo_namespace
|
- drone_repo_namespace
|
||||||
|
- scheme
|
||||||
- domain
|
- domain
|
||||||
- drone_gitea_client_id
|
- drone_gitea_client_id
|
||||||
- drone_gitea_server
|
- drone_gitea_server
|
||||||
|
@ -208,6 +211,7 @@ steps:
|
||||||
- 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}
|
||||||
- export SSH_KEY=$${SSH_KEY}
|
- export SSH_KEY=$${SSH_KEY}
|
||||||
|
- export SCHEME=$${SCHEME}
|
||||||
- export DOMAIN=$${DOMAIN}
|
- export DOMAIN=$${DOMAIN}
|
||||||
- export DRONE_GITEA_CLIENT_ID=$${DRONE_GITEA_CLIENT_ID}
|
- export DRONE_GITEA_CLIENT_ID=$${DRONE_GITEA_CLIENT_ID}
|
||||||
- export DRONE_GITEA_SERVER=$${DRONE_GITEA_SERVER}
|
- export DRONE_GITEA_SERVER=$${DRONE_GITEA_SERVER}
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
[
|
[
|
||||||
|
'scheme',
|
||||||
'domain',
|
'domain',
|
||||||
'drone-gitea-client-id',
|
'drone-gitea-client-id',
|
||||||
'drone-gitea-server',
|
'drone-gitea-server',
|
||||||
|
|
|
@ -10,8 +10,8 @@ services:
|
||||||
condition: any
|
condition: any
|
||||||
image: ${LOCAL_DOCKER_REGISTRY}drone/drone:1.9.0
|
image: ${LOCAL_DOCKER_REGISTRY}drone/drone:1.9.0
|
||||||
volumes:
|
volumes:
|
||||||
- drone:/var/lib/drone
|
- drone-2:/var/lib/drone
|
||||||
- drone-data:/data
|
- drone-data-2:/data
|
||||||
environment:
|
environment:
|
||||||
- DRONE_LOGS_DEBUG=true
|
- DRONE_LOGS_DEBUG=true
|
||||||
- DRONE_LOGS_PRETTY=true
|
- DRONE_LOGS_PRETTY=true
|
||||||
|
@ -50,8 +50,8 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- appnet
|
- appnet
|
||||||
volumes:
|
volumes:
|
||||||
drone:
|
drone-2:
|
||||||
drone-data:
|
drone-data-2:
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
appnet:
|
appnet:
|
||||||
|
|
Loading…
Reference in New Issue