-
Notifications
You must be signed in to change notification settings - Fork 8
/
.gitpod.yml
61 lines (57 loc) · 1.48 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
tasks:
- name: Install dependencies
command: |
export PIP_USER=false
make install
- name: Generate config
command: |
eval $(gp env -e)
pip3 install yq
echo "$EMBEDBASE_CONFIG" | yq -y > config.yaml
- name: Generate Firebase service account
command: |
echo $FIREBASE_SERVICE_ACCOUNT > svc.prod.json
- name: GCloud
command: |
eval $(gp env -e)
gcloud auth login
gcloud config set project obsidian-ai
echo "sat project to obsidian-ai"
mkdir -p ~/.docker
cat >~/.docker/config.json <<EOL
{
"credHelpers": {
"gcr.io": "gcloud",
"us.gcr.io": "gcloud",
"eu.gcr.io": "gcloud",
"asia.gcr.io": "gcloud",
"staging-k8s.gcr.io": "gcloud",
"marketplace.gcr.io": "gcloud"
}
}
EOL
- name: Init Supabase
command: |
npx supabase login
- name: Init Firebase
command: |
npx firebase-tools
image:
file: .gitpod.Dockerfile
vscode:
extensions:
- github.copilot
- toba.vsfire
- wix.vscode-import-cost
- aaron-bond.better-comments
- perkovec.emoji
- ms-python.vscode-pylance
- ms-python.python
- littlefoxteam.vscode-python-test-adapter
- k--kato.intellij-idea-keybindings
- trungngo.autoflake
- christian-kohler.npm-intellisense
- dbaeumer.vscode-eslint
ports:
- port: 8000
visibility: public