-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtaskfile.yml
More file actions
45 lines (36 loc) · 848 Bytes
/
taskfile.yml
File metadata and controls
45 lines (36 loc) · 848 Bytes
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
version: "3.0"
set: ['e', 'u', 'pipefail']
shopt: ['globstar']
dotenv: ['.env']
env:
TLD:
sh: git rev-parse --show-toplevel
COMPOSE_FILE: docker-compose.yml
NETWORK: app-tier
vars:
includes:
docker:
taskfile: ./tasks/docker.yml
aliases: ["docker"]
poetry:
taskfile: ./tasks/poetry.yml
aliases: ["poetry"]
tasks:
print:
- |
echo -e "TLD:\t\t$TLD"
echo -e "REGISTRY_URL:\t$REGISTRY_URL"
echo -e "USER_NAME:\t$USER_NAME"
echo -e "SERVICE:\t$SERVICE"
default:
desc: "Default task"
cmds:
- task --list
json-to-postgres:
desc: "Upload quotes to postgres from json"
cmds:
- "{{.TLD}}/bin/json_to_postgres.py db.json"
sqlite-to-postgres:
desc: "Upload quotes to postgres from sqlite"
cmds:
- "{{.TLD}}/bin/sqlite_to_postgres.py db.sqlite"