diff --git a/.drone.home.yml b/.drone.home.yml index a1f77e7..5ea8628 100644 --- a/.drone.home.yml +++ b/.drone.home.yml @@ -283,7 +283,7 @@ steps: - docker network prune -f - cd /home/$SSH_USER/gitea-drone-stack - docker stack rm gitea - - sleep 15 + - sleep 60 - docker stack deploy -c docker-compose-home.yml gitea #- sleep 300 diff --git a/.drone.star b/.drone.star index 472c9e9..fa74b2d 100644 --- a/.drone.star +++ b/.drone.star @@ -1,18 +1,5 @@ load("@this//:steps.star", "steps") def main(ctx): - # return steps() - - return { - "kind": "pipeline", - "name": "build", - "steps": [ - { - "name": "build", - "image": "alpine", - "commands": [ - "echo hello world", - ], - }, - ], - } \ No newline at end of file + return steps() + \ No newline at end of file diff --git a/docker-compose-home.yml b/docker-compose-home.yml index aedad72..7283c90 100644 --- a/docker-compose-home.yml +++ b/docker-compose-home.yml @@ -143,11 +143,8 @@ services: - DRONE_AGENTS_ENABLED=true - DRONE_CONVERT_PLUGIN_ENDPOINT=http://drone-starlark:3000 - DRONE_CONVERT_PLUGIN_SECRET=${DRONE_CONVERT_SECRET} - - DRONE_STARLARK_REPO_PATHS=this:/repos networks: - appnet - volumes: - - /home/giles/gitea-drone-stack:/repos drone-docker-runner: deploy: placement: @@ -177,8 +174,11 @@ services: environment: - DRONE_DEBUG=true - DRONE_SECRET=${DRONE_CONVERT_SECRET} + - DRONE_STARLARK_REPO_PATHS=this:/repos networks: - appnet + volumes: + - /home/giles/gitea-drone-stack:/repos registry: deploy: