https://github.com/gitpod-samples/bootstrap-dotfiles
Bootstrap a different dotfiles source for Gitpod, from private or custom Git servers.
https://github.com/gitpod-samples/bootstrap-dotfiles
Last synced: 4 months ago
JSON representation
Bootstrap a different dotfiles source for Gitpod, from private or custom Git servers.
- Host: GitHub
- URL: https://github.com/gitpod-samples/bootstrap-dotfiles
- Owner: gitpod-samples
- Created: 2023-04-27T13:13:20.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-09T02:21:09.000Z (about 2 years ago)
- Last Synced: 2025-01-24T12:45:32.530Z (5 months ago)
- Language: Shell
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bootstrap dotfiles
This repository can bootstrap a different dotfiles source for Gitpod, even from private or custom Git servers.
Can be useful for working around [#14984](https://github.com/gitpod-io/gitpod/issues/14984). So for example, if you have a public or private repo hosted on Gitea or elsewhere, you could bootstrap into that through this.
# Initial setup
Depending on the **Git provider** you have connected on https://gitpod.io/user/integrations, you will need to clone this repo in that Git server and then set the **Dotfile > Repository URL** to that in https://gitpod.io/user/preferences. For example, if you have Gitlab connected and you cloned this repo into `https://gitlab.com/you/repo.git`, you will use that URL as your dotfiles in https://gitpod.io/user/preferences
# A public repo
- Go to https://gitpod.io/user/variables and click on `New Variable`
- Create a new variable with the following:
- Name: `DOTFILES_BOOTSTRAP_LINK`
- Value:
The target dotfiles you want to install, for example:
```
https://gitpod:[email protected]/you/actual_dotfiles_repo.git
```
- Scope: `*/*`# A private repo
- Go to https://gitpod.io/user/variables and click on `New Variable`
- Create a new variable with the following values:
- Name: `DOTFILES_BOOTSTRAP_LINK`
- Value:
The target dotfiles you want to install, for example:
```
https://auth_user:[email protected]/you/actual_dotfiles_repo.git
```
- Scope: `*/*`