]> Untitled Git - lemmy.git/commitdiff
remove workspace, fix paths
authorFelix Ableitner <me@nutomic.com>
Tue, 8 Dec 2020 20:25:24 +0000 (21:25 +0100)
committerFelix Ableitner <me@nutomic.com>
Tue, 8 Dec 2020 20:25:24 +0000 (21:25 +0100)
.drone.yml

index 1d0640717a94020827704296056a774251b8c01d..0ff9318ac379e7e09af29e20731065b59dbde4db 100644 (file)
@@ -1,15 +1,12 @@
 kind: pipeline
 name: default
 
-workspace:
-  path: /drone/src/docker/travis
-
 steps:
   - name: test
     image: docker/compose:alpine-1.27.4
     commands:
-      - pwd
-      - ls -la
-      - docker build ../../ --file ../prod/Dockerfile --tag dessalines/lemmy:travis
-      - docker-compose up -d
+      - docker build . --file docker/prod/Dockerfile --tag dessalines/lemmy:travis
+      - docker-compose up -f docker/travis/docker-compose.yml -d
+      - sleep 10
+      - docker-compose down