tangled
alpha
login
or
join now
eldridge.cam
/
cartography
0
fork
atom
Trading card city builder game?
0
fork
atom
overview
issues
pulls
pipelines
give up on sql ci in tangled
eldridge.cam
2 months ago
daf275fe
bef5e3e8
2/2
gleam-ci.yaml
success
1m 9s
svelte-ci.yaml
success
2m 45s
-34
1 changed file
expand all
collapse all
unified
split
.tangled
workflows
sql-ci.yaml
-34
.tangled/workflows/sql-ci.yaml
reviewed
···
1
1
-
when:
2
2
-
- event: ["push"]
3
3
-
branch: ["*"]
4
4
-
5
5
-
engine: "nixery"
6
6
-
7
7
-
dependencies:
8
8
-
nixpkgs:
9
9
-
- nodejs
10
10
-
- postgresql
11
11
-
12
12
-
environment:
13
13
-
DATABASE_URL: postgresql://postgres:postgres@localhost/cartography
14
14
-
SHADOW_DATABASE_URL: postgresql://postgres:postgres@localhost/shadow
15
15
-
ROOT_DATABASE_URL: postgresql://postgres:postgres@localhost/postgres
16
16
-
PGDATA: /usr/local/pgsql/data/
17
17
-
18
18
-
steps:
19
19
-
- name: Install node modules
20
20
-
command: |
21
21
-
npm ci
22
22
-
- name: Check graphile status
23
23
-
command: |
24
24
-
npx graphile-migrate status --skipDatabase
25
25
-
- name: Start Postgres
26
26
-
command: |
27
27
-
useradd --system postgres
28
28
-
sudo -U postgres -- pg_ctl initdb -U postgres -A trust
29
29
-
sudo -U postgres -- pg_ctl start
30
30
-
- name: Run migrate
31
31
-
command: |
32
32
-
npx graphile-migrate migrate
33
33
-
- name: Stop postgres
34
34
-
sudo -U postgres -- pg_ctl stop