Pudong 1bc46bd2a5
Refactor preview environment and image build methods (#19652)
* [dev-image] upgrade terraform and gcloud

* update leeway version and use new cache bucket

* update image tag

* use oidc

* fix bob

* Add code web extension as package

* gcr token refresh

* fluentbit use service account

* Add xterm web ide as package

* add ide configmap patch

* fix ide first page 502

* remove secret manager

* fix monitoring

* fix integration and delete preview

* cleanup

* use previewctl:install

* change folder

* cleanup

* change leeway cache bucket for main branch

* cleanup

* fix

* hot-deploy
2024-04-26 20:50:04 +02:00
..
2022-12-08 13:05:19 -03:00

Gitpod Local Preview

This repo helps users to try out and preview self-hosted Gitpod locally without all the things needed for a production instance. The aim is to provide an installation mechanism as minimal and simple as possible.

Installation

docker run --privileged --name gitpod --rm -it -v /tmp/gitpod:/var/gitpod eu.gcr.io/gitpod-core-dev/build/preview-install

Once the above command starts running and the pods are ready (can be checked by running docker exec gitpod kubectl get pods), The URL to access your gitpod instance can be retrieved by running

docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' gitpod |  sed -r 's/[.]+/-/g' | sed 's/$/.nip.io/g'

nip.io is just wildcard DNS for local addresses, So all off this is local, and cannot be accessed over the internet.

As the self-hosted instance is self-signed, The root certificate to upload into your browser trust store to access the URL is available at /tmp/gitpod/gitpod-ca.crt.

Known Issues

  • Prebuilds don't work as they require webhooks support over the internet.