-
-
Notifications
You must be signed in to change notification settings - Fork 48
/
feedback.yaml
57 lines (52 loc) · 1.71 KB
/
feedback.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
loops:
ci:
description: Keep CI passing locally
command: nix flake check
server-e2e:
description: Work on the server's end-to-end tests
script: |
stack install smos-server smos-server-gen
killall smos-server >/dev/null 2>&1 || true
cd /tmp
~/.local/bin/smos-server & disown
sleep 0.5
~/.local/bin/smos-server-end-to-end-test
env:
SMOS_SERVER_PORT: '8000'
SMOS_SERVER_URL: 'localhost:8000'
SMOS_SERVER_LOG_LEVEL: 'Debug'
DEVELOPMENT: 'True'
web-server:
description: Work on the web server
script: |
set -e
stack install smos-server smos-web-server
killall smos-server >/dev/null 2>&1 || true
killall smos-web-server >/dev/null 2>&1 || true
~/.local/bin/smos-server & disown
sleep 0.5
~/.local/bin/smos-web-server & disown
working-dir: smos-web-server
env:
DEVELOPMENT: 'True'
# SMOS_SERVER_AUTO_BACKUP_ENABLED: 'False'
SMOS_SERVER_BACKUP_GARBAGE_COLLECTOR_ENABLED: 'False'
SMOS_SERVER_FILE_MIGRATOR_ENABLED: 'False'
SMOS_SERVER_LOG_LEVEL: 'Debug'
SMOS_SERVER_ADMIN: 'syd'
SMOS_WEB_SERVER_API_URL: 'http://localhost:8000'
SMOS_WEB_SERVER_PORT: '8080'
SMOS_WEB_SERVER_WEB_URL: 'http://localhost:8080'
SMOS_WEB_SERVER_DOCS_URL: 'https://docs.smos.online'
SMOS_WEB_SERVER_LOG_LEVEL: 'Debug'
docs:
description: Work on the documentation server
script: |
stack install smos-docs-site
killall smos-docs-site >/dev/null 2>&1 || true
~/.local/bin/smos-docs-site & disown
working-dir: smos-docs-site
env:
DEVELOPMENT: 'True'
filter:
find: "-type f -not -name '*.markdown' -not -path '*/.*'"