test docker-compose
parent
8086288cda
commit
8789391648
18
drone.yml
18
drone.yml
|
|
@ -2,15 +2,8 @@ kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: default
|
name: default
|
||||||
steps:
|
steps:
|
||||||
- name: build_client
|
|
||||||
image: node
|
|
||||||
commands:
|
|
||||||
- cd Client
|
|
||||||
- npm install
|
|
||||||
- node node_modules/@angular/cli/bin/ng build --prod --configuration=production
|
|
||||||
|
|
||||||
- name: dockerize
|
- name: dockerize
|
||||||
image: docker-compose
|
image: docker
|
||||||
volumes:
|
volumes:
|
||||||
- name: docker_sock
|
- name: docker_sock
|
||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
|
|
@ -18,6 +11,15 @@ steps:
|
||||||
- cd Server
|
- cd Server
|
||||||
- docker-compose up -d
|
- docker-compose up -d
|
||||||
|
|
||||||
|
- name: build_client
|
||||||
|
image: node
|
||||||
|
commands:
|
||||||
|
- cd Client
|
||||||
|
- npm install
|
||||||
|
- node node_modules/@angular/cli/bin/ng build --prod --configuration=production
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: docker_sock
|
- name: docker_sock
|
||||||
host:
|
host:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue