forked from kedro-org/kedro-viz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.yml
61 lines (55 loc) · 1.94 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
image: gitpod/workspace-full:2023-01-16-03-31-28
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 "pip==23.0.1" --user
pip install -r package/test_requirements.txt -r demo-project/src/docker_requirements.txt --user
# Install latest kedro and all its dependencies.
pip install https://github.com/kedro-org/kedro/archive/main.zip --user
# force-reinstall kedro to ensure that the latest version from main is installed even when
# its version number is the same as that specified in docker_requirements.txt.
pip install https://github.com/kedro-org/kedro/archive/main.zip --user --force-reinstall --no-deps
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:
- name: Kedro-Viz for demo-project
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: 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 "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