-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.yaml
32 lines (24 loc) · 833 Bytes
/
main.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
- name: Create repository dir
file:
path: ~/repository
state: directory
mode: '0777'
- name: Clone driver repository
git:
repo: https://github.com/Markenson/csv-metabase-driver.git
dest: ~/repository/csv-metabase-driver
- name: Clone metabase repository
git:
repo: https://github.com/metabase/metabase.git
dest: ~/repository/metabase
version: v0.40.1
- name: Create a symbolic link
file:
src: ~/repository/csv-metabase-driver/csv
dest: ~/repository/metabase/modules/drivers/csv
state: link
- name: Go to metabse folder and build it
shell: cd /root/repository/metabase && lein install-for-building-drivers
- name: Go to driver folder and build it
shell: cd /root/repository/metabase/modules/drivers/csv && LEIN_SNAPSHOTS_IN_RELEASE=true lein uberjar