forked from kedro-org/kedro-viz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitpod.yml
54 lines (50 loc) · 1.54 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
image:
file: .gitpod.Dockerfile
tasks:
- name: frontend
init: |
make sign-off
npm install
npm run build
cp -R build package/kedro_viz/html
command: |
gp sync-done build_complete
DANGEROUSLY_DISABLE_HOST_CHECK=true npm run start
- name: backend
before: echo PIP_USER=no >> ~/.bashrc && export PIP_USER=no
init: |
pip install -r package/test_requirements.txt -r demo-project/src/docker_requirements.txt --user
pip install https://github.com/kedro-org/kedro/archive/main.zip --no-deps --user --force-reinstall
command: |
gp sync-await build_complete
pip install -e package --no-deps
gp sync-done kedro_installed
make run
- name: demo-project
command: |
cd demo-project
gp sync-await kedro_installed
kedro info
ports:
- port: 4141
onOpen: open-browser
visibility: public
- port: 4142
onOpen: ignore
vscode:
extensions:
- dbaeumer.vscode-eslint
github:
prebuilds:
# enable for the master/default branch (defaults to true)
master: true
# enable for all branches in this repo (defaults to false)
branches: true
# 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 "Review in Gitpod" button as a comment to pull requests (defaults to true)
addComment: false
# add a "Review in Gitpod" button to pull requests (defaults to false)
addBadge: true