-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.yaml
53 lines (52 loc) · 1.47 KB
/
.gitpod.yaml
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
tasks:
- name: Secrets & configurations
command: |
eval $(gp env -e)
echo "$LANGAME_SVC_PROD" > svc.prod.json
echo "$LANGAME_SVC_DEV" > svc.dev.json
cd functions
npm i
export GOOGLE_APPLICATION_CREDENTIALS=$(pwd)/svc.dev.json
npm run set-dev
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
firebase login --no-localhost
firebase functions:config:get > .runtimeconfig.json
image:
file: .gitpod.Dockerfile
vscode:
extensions:
- aaron-bond.better-comments
- GitHub.copilot
- gitpod.gitpod-desktop
- googlecloudtools.cloudcode
- k--kato.intellij-idea-keybindings
- mechatroner.rainbow-csv
- ms-azuretools.vscode-docker
- ms-kubernetes-tools.vscode-kubernetes-tools
- ms-vscode-remote.remote-containers
- ms-vscode-remote.remote-ssh
- ms-vscode-remote.remote-ssh-edit
- mushan.vscode-paste-image
- Perkovec.emoji
- RandomFractalsInc.vscode-data-preview
- redhat.vscode-yaml
- toba.vsfire
- wix.vscode-import-cost
- zxh404.vscode-proto3
# JS
- christian-kohler.npm-intellisense
- dbaeumer.vscode-eslint
- hbenl.vscode-mocha-test-adapter
- eg2.vscode-npm-script