-
Notifications
You must be signed in to change notification settings - Fork 113
/
.gitpod.yml
62 lines (56 loc) · 2.03 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
image: gitpod/workspace-full:2023-09-29-11-03-42 # image with Python 3.11 and Node 18
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 uv
uv pip install "pip==23.3.1" --system
uv pip install -r package/test_requirements.txt -r demo-project/src/docker_requirements.txt --system
# Install latest kedro and all its dependencies.
uv pip install https://github.com/kedro-org/kedro/archive/main.zip --system
# 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.
uv pip install https://github.com/kedro-org/kedro/archive/main.zip --force-reinstall --no-deps --system
command: |
gp sync-await build_complete
uv pip install -e package --no-deps --system
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