Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
73 changes: 35 additions & 38 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,41 +1,38 @@
{
"name": "gitpod",
"build": {
"context": "..",
"dockerfile": "./Dockerfile"
},
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace/gitpod,type=bind",
"workspaceFolder": "/workspace/gitpod/",
"postCreateCommand": "dev/install-dependencies.sh",
"mounts": [
"source=/usr/local/gitpod/config/,target=/usr/local/gitpod/config/,type=bind"
],
"remoteEnv": {
"GIT_EDITOR": "code --wait",
"KUBE_EDITOR": "code --wait"
},
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {
"installDockerComposeSwitch": false
}
},
"customizations": {
"vscode": {
"extensions": [
"EditorConfig.EditorConfig",
"golang.go",
"hashicorp.terraform",
"ms-azuretools.vscode-docker",
"ms-kubernetes-tools.vscode-kubernetes-tools",
"stkb.rewrap",
"zxh404.vscode-proto3",
"matthewpi.caddyfile-support",
"timonwong.shellcheck",
"fwcd.kotlin",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"hbenl.vscode-mocha-test-adapter"
]
}
"name": "gitpod",
"build": {
"context": "..",
"dockerfile": "./Dockerfile"
},
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
},
"workspaceFolder": "/workspace/gitpod",
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace/gitpod,type=bind",
"mounts": [
"source=/usr/local/gitpod/config/,target=/usr/local/gitpod/config/,type=bind"
],
"remoteEnv": {
"GIT_EDITOR": "code --wait",
"KUBE_EDITOR": "code --wait"
},
"customizations": {
"vscode": {
"extensions": [
"EditorConfig.EditorConfig",
"golang.go",
"hashicorp.terraform",
"ms-azuretools.vscode-docker",
"ms-kubernetes-tools.vscode-kubernetes-tools",
"stkb.rewrap",
"zxh404.vscode-proto3",
"matthewpi.caddyfile-support",
"timonwong.shellcheck",
"fwcd.kotlin",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"hbenl.vscode-mocha-test-adapter"
]
}
}
}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,6 @@ dump.rdb

# Claude settings
.claude/settings.local.json

# Gitpod mcp-config.json
.gitpod/mcp-config.json
50 changes: 50 additions & 0 deletions .gitpod/automations.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
tasks:
installLocalAppCli:
command: |
leeway run components/local-app:install-cli
leeway run components/local-app:cli-completion
exit 0
name: 'Install `gitpod` CLI'
triggeredBy:
- postDevcontainerStart
configurePreview:
command: INSTALL_CONTEXT=true leeway run dev/preview:configure-workspace
dependsOn:
- installPreviewctl
name: 'Preview environment configuration'
triggeredBy:
- postDevcontainerStart
buildJava:
command: |
leeway exec --package components/supervisor-api/java:lib --package components/gitpod-protocol/java:lib -- ./gradlew build
leeway exec --package components/ide/jetbrains/backend-plugin:plugin-latest --package components/ide/jetbrains/gateway-plugin:publish-latest --parallel -- ./gradlew buildPlugin
name: 'Java: build with Gradle'
installPreviewctl:
command: leeway run dev/preview/previewctl:install
name: 'Preview environment configuration: init'
installInstallerDependencies:
command: |
(cd install/installer && make deps)
exit 0
name: 'Installer dependencies'
triggeredBy:
- postDevcontainerStart
buildTypescript:
command: yarn --network-timeout 100000 && yarn build
name: 'TypeScript: install and build'
triggeredBy:
- postDevcontainerStart
setupPreCommit:
command: |
pre-commit install --install-hooks
exit 0
name: 'Install pre-commit hooks'
triggeredBy:
- postDevcontainerStart
initGo:
command: |
./components/gitpod-protocol/go/scripts/generate-config.sh
leeway exec --filter-type go -v -- go mod verify
name: 'Go: init'
triggeredBy:
- postDevcontainerStart
7 changes: 0 additions & 7 deletions dev/install-dependencies.sh

This file was deleted.

Loading