diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..d468608 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,59 @@ +--- +kind: pipeline +type: docker +name: test + +steps: + - name: Backend-Tests + image: eclipse-temurin:21 + workspace: backend/ + commands: + - echo "Backend CI Test TODO" + - name: FrontEnd-Tests + image: node:lts-alpine + workspace: frontend/ + commands: + - echo "Frontend CI Test TODO" + +--- +kind: pipeline +type: docker +name: build + +steps: + - name: Backend-build + image: eclipse-temurin:21 + workspace: backend/ + commands: + - echo "Backend CI build TODO" + - name: FrontEnd-build + image: node:lts-alpine + workspace: frontend/ + commands: + - echo "Frontend CI build TODO" + +--- +kind: pipeline +type: exec +name: deploy + +plateform: + os: linux + arch: amd64 + +trigger: + branch: + - master + event: + - push + +clone: + disabled: true + +steps: + - name: deploy frontend + commands: + - echo "deploying frontend TODO" + - name: deploy backend + commands: + - echo "deploying backend TODO"