ci: atualiza pipeline com remoção forçada dos containers
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: homolog
|
name: homolog
|
||||||
@@ -26,12 +27,11 @@ steps:
|
|||||||
password: F6tC5tCh29XQRpzp
|
password: F6tC5tCh29XQRpzp
|
||||||
port: 22
|
port: 22
|
||||||
script:
|
script:
|
||||||
|
- docker rm -f FaturasHomolog || true
|
||||||
- cd /home/app_fatura_homolog
|
- cd /home/app_fatura_homolog
|
||||||
- docker compose down --remove-orphans
|
|
||||||
- docker compose up -d
|
- docker compose up -d
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: production
|
name: production
|
||||||
@@ -60,9 +60,7 @@ steps:
|
|||||||
password: F6tC5tCh29XQRpzp
|
password: F6tC5tCh29XQRpzp
|
||||||
port: 22
|
port: 22
|
||||||
script:
|
script:
|
||||||
|
- docker rm -f Faturas || true
|
||||||
- cd /home/app_fatura
|
- cd /home/app_fatura
|
||||||
- docker compose down --remove-orphans
|
|
||||||
- docker compose up -d
|
- docker compose up -d
|
||||||
|
|
||||||
# trigger test for production
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user