From 49f981708a6952abe3b3934f65c81a9d82dfe54b Mon Sep 17 00:00:00 2001 From: Lulzette Date: Mon, 1 Nov 2021 04:28:02 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20?= =?UTF-8?q?=D1=88=D0=B0=D0=B3=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 152fa71..cc11049 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,18 +1,29 @@ kind: pipeline type: exec -name: default - -platform: - os: linux - arch: amd64 +name: build steps: - name: build commands: - docker-compose -p pycms build + +--- +kind: pipeline +type: exec +name: test +steps: - name: test commands: - docker-compose -p pycms up --build --abort-on-container-exit + +--- +kind: pipeline +type: exec +name: run and push +steps: + - name: push + commands: + - docker-compose -p pycms push - name: run commands: - docker-compose -p pycms up -d