Ver código fonte

:poop: another pipeline test | absolute paths for volumes

tags/0.9.0
J 5 anos atrás
pai
commit
99efd40c38
1 arquivos alterados com 4 adições e 3 exclusões
  1. 4
    3
      .drone.yml

+ 4
- 3
.drone.yml Ver arquivo

11
 - name: test
11
 - name: test
12
   image: node
12
   image: node
13
   commands:
13
   commands:
14
+  - pwd
14
   - cd ./vue-theme
15
   - cd ./vue-theme
15
   - npm install
16
   - npm install
16
   - npm test
17
   - npm test
17
   volumes:
18
   volumes:
18
   # Link node_modules cache from host filesystem into container at the expected location
19
   # Link node_modules cache from host filesystem into container at the expected location
19
   - name: node_cache
20
   - name: node_cache
20
-    path: ./vue-theme/node_modules
21
+    path: /vue-theme/node_modules
21
 
22
 
22
 - name: build
23
 - name: build
23
   image: node
24
   image: node
27
   volumes:
28
   volumes:
28
     # Link node_modules cache from host filesystem into container at the expected location
29
     # Link node_modules cache from host filesystem into container at the expected location
29
     - name: node_cache
30
     - name: node_cache
30
-      path: ./vue-theme/node_modules
31
+      path: /vue-theme/node_modules
31
 
32
 
32
 volumes:
33
 volumes:
33
   - name: node_cache
34
   - name: node_cache
59
   volumes:
60
   volumes:
60
   # Link node_modules cache from host filesystem into container at the expected location
61
   # Link node_modules cache from host filesystem into container at the expected location
61
   - name: node_cache
62
   - name: node_cache
62
-    path: ./vue-theme/node_modules
63
+    path: /vue-theme/node_modules
63
 
64
 
64
 volumes:
65
 volumes:
65
   - name: node_cache
66
   - name: node_cache

Carregando…
Cancelar
Salvar