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