-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.gitpod.yml
64 lines (59 loc) · 1.89 KB
/
.gitpod.yml
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
57
58
59
60
61
62
63
64
---
# based on https://github.com/gitpod-io/template-docker-compose
# multi-repo
additionalRepositories:
- url: https://github.com/ScilifelabDataCentre/dds_cli
checkoutLocation: dds_cli
tasks:
- name: Build backend and run server
init: >
chmod a+x /workspace/ &&
docker compose build --pull
command: docker compose --profile cli up
- name: Open dds cli
openMode: split-right
command: >
gp await-port 5000 &&
echo -e "\033[1;31mUse the dds cli in this terminal window\033[0m\n\033[0;33me.g.: dds auth login\033[0m" &&
docker exec -it dds_cli sh
ports:
- port: 5000 # backend
onOpen: open-preview
visibility: public
- port: 1080 # mailcatcher
# Can't have more than one preview at once currently :(
# open-browser is blocked by Chrome pop-up blocker
onOpen: ignore
visibility: public
- port: 9000 # minio
onOpen: ignore
visibility: public
- port: 9001 # minio
onOpen: ignore
visibility: public
- port: 3306 # db
onOpen: ignore
visibility: public
vscode:
extensions:
- ms-azuretools.vscode-docker
- ms-python.python
- esbenp.prettier-vscode # Linting and style checking
# Display TODO and FIXME in a tree view in the activity bar
- Gruntfuggly.todo-tree
github:
prebuilds:
# enable for the default branch (defaults to true)
master: true
# enable for all branches in this repo (defaults to false)
branches: false
# enable for pull requests coming from this repo (defaults to true)
pullRequests: true
# enable for pull requests coming from forks (defaults to false)
pullRequestsFromForks: true
# add a check to pull requests (defaults to true)
addCheck: true
# add a "Review in Gitpod" button as a comment to PR (default: false)
addComment: false
# add a "Review in Gitpod" button to the PR's description (default: false)
addBadge: true