From 76a856dfd6653f02762bfe61e4fa867beb05f664 Mon Sep 17 00:00:00 2001 From: Debucquoy Date: Fri, 9 Feb 2024 16:46:54 +0100 Subject: [PATCH 1/2] base CI --- .drone.yml | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 .drone.yml 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" -- 2.46.0 From f8223f2004aa4638f6ec69b060107b351dee4e74 Mon Sep 17 00:00:00 2001 From: Debucquoy Date: Sat, 10 Feb 2024 17:41:06 +0100 Subject: [PATCH 2/2] signature --- .drone.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.drone.yml b/.drone.yml index d468608..45ad986 100644 --- a/.drone.yml +++ b/.drone.yml @@ -57,3 +57,8 @@ steps: - name: deploy backend commands: - echo "deploying backend TODO" +--- +kind: signature +hmac: b83fd07f6cc04de673e561857d82e3cc36c4f98f311f78808fc927839d5d3cf2 + +... -- 2.46.0