Base de CI pour le début du projet Co-authored-by: Debucquoy <debucqquoy.anthony@gmail.com> Reviewed-on: #22
This commit is contained in:
parent
ef4929640d
commit
04143f162b
64
.drone.yml
Normal file
64
.drone.yml
Normal file
@ -0,0 +1,64 @@
|
||||
---
|
||||
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"
|
||||
---
|
||||
kind: signature
|
||||
hmac: b83fd07f6cc04de673e561857d82e3cc36c4f98f311f78808fc927839d5d3cf2
|
||||
|
||||
...
|
Loading…
Reference in New Issue
Block a user