.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
b149cc3dfa
commit
49d10969aa
|
@ -283,7 +283,7 @@ steps:
|
||||||
- docker network prune -f
|
- docker network prune -f
|
||||||
- cd /home/$SSH_USER/gitea-drone-stack
|
- cd /home/$SSH_USER/gitea-drone-stack
|
||||||
- docker stack rm gitea
|
- docker stack rm gitea
|
||||||
- sleep 15
|
- sleep 60
|
||||||
- docker stack deploy -c docker-compose-home.yml gitea
|
- docker stack deploy -c docker-compose-home.yml gitea
|
||||||
#- sleep 300
|
#- sleep 300
|
||||||
|
|
||||||
|
|
15
.drone.star
15
.drone.star
|
@ -1,18 +1,5 @@
|
||||||
load("@this//:steps.star", "steps")
|
load("@this//:steps.star", "steps")
|
||||||
|
|
||||||
def main(ctx):
|
def main(ctx):
|
||||||
# return steps()
|
return steps()
|
||||||
|
|
||||||
return {
|
|
||||||
"kind": "pipeline",
|
|
||||||
"name": "build",
|
|
||||||
"steps": [
|
|
||||||
{
|
|
||||||
"name": "build",
|
|
||||||
"image": "alpine",
|
|
||||||
"commands": [
|
|
||||||
"echo hello world",
|
|
||||||
],
|
|
||||||
},
|
|
||||||
],
|
|
||||||
}
|
|
|
@ -143,11 +143,8 @@ services:
|
||||||
- DRONE_AGENTS_ENABLED=true
|
- DRONE_AGENTS_ENABLED=true
|
||||||
- DRONE_CONVERT_PLUGIN_ENDPOINT=http://drone-starlark:3000
|
- DRONE_CONVERT_PLUGIN_ENDPOINT=http://drone-starlark:3000
|
||||||
- DRONE_CONVERT_PLUGIN_SECRET=${DRONE_CONVERT_SECRET}
|
- DRONE_CONVERT_PLUGIN_SECRET=${DRONE_CONVERT_SECRET}
|
||||||
- DRONE_STARLARK_REPO_PATHS=this:/repos
|
|
||||||
networks:
|
networks:
|
||||||
- appnet
|
- appnet
|
||||||
volumes:
|
|
||||||
- /home/giles/gitea-drone-stack:/repos
|
|
||||||
drone-docker-runner:
|
drone-docker-runner:
|
||||||
deploy:
|
deploy:
|
||||||
placement:
|
placement:
|
||||||
|
@ -177,8 +174,11 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- DRONE_DEBUG=true
|
- DRONE_DEBUG=true
|
||||||
- DRONE_SECRET=${DRONE_CONVERT_SECRET}
|
- DRONE_SECRET=${DRONE_CONVERT_SECRET}
|
||||||
|
- DRONE_STARLARK_REPO_PATHS=this:/repos
|
||||||
networks:
|
networks:
|
||||||
- appnet
|
- appnet
|
||||||
|
volumes:
|
||||||
|
- /home/giles/gitea-drone-stack:/repos
|
||||||
|
|
||||||
registry:
|
registry:
|
||||||
deploy:
|
deploy:
|
||||||
|
|
Reference in New Issue