From 0ed7c0998ee70d81aa68dc5ad91387414047d55f Mon Sep 17 00:00:00 2001
From: garionion <github@entr0py.de>
Date: Wed, 11 Aug 2021 15:58:29 +0200
Subject: [PATCH] add map file

---
 .drone.yml            | 24 ------------------------
 drone-config-map.json |  3 +++
 fluffychat.yml        | 18 ++++++++++++++++++
 3 files changed, 21 insertions(+), 24 deletions(-)
 delete mode 100644 .drone.yml
 create mode 100644 drone-config-map.json
 create mode 100644 fluffychat.yml

diff --git a/.drone.yml b/.drone.yml
deleted file mode 100644
index 01bfd39..0000000
--- a/.drone.yml
+++ /dev/null
@@ -1,24 +0,0 @@
-kind: pipeline
-type: docker
-name: default
-
-clone:
-  disable: true
-
-trigger:
-  repo:
-    include:
-      - garionion/fluffychat
-      - garionion/fluffybuild
-
-steps:
-  - name: clone
-    image: alpine/git
-    commands:
-      - git clone https://git.entr0py.de/garionion/fluffychat.git .
-      - git checkout $DRONE_COMMIT
-
-  - name: build
-    image: archlinux/base-devel
-    commands:
-      - ls -al
diff --git a/drone-config-map.json b/drone-config-map.json
new file mode 100644
index 0000000..388cb06
--- /dev/null
+++ b/drone-config-map.json
@@ -0,0 +1,3 @@
+{
+    "https://git.entr0py.de/garionion/fluffychat.git": "fluffychat.yml"
+}
\ No newline at end of file
diff --git a/fluffychat.yml b/fluffychat.yml
new file mode 100644
index 0000000..021b639
--- /dev/null
+++ b/fluffychat.yml
@@ -0,0 +1,18 @@
+---
+kind: pipeline
+type: docker
+name: default
+
+platform:
+  os: linux
+  arch: amd64
+
+steps:
+- name: build
+  image: archlinux:base-devel
+  commands:
+  - whoami
+  - pacman -S flutter
+  - ls -al
+
+...