Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated configuration for Gitpod prebuilds #1477

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
24 changes: 1 addition & 23 deletions content/en/user-guide/integrations/gitpod/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,30 +60,8 @@ ports:
onOpen: ignore
```

If you are using GitHub, you can also use the [Gitpod Prebuilds](https://www.gitpod.io/docs/prebuilds/) feature to automatically build your workspace.
This will allow you to start your workspace faster and with all the dependencies already installed.
Add the following to your `.gitpod.yml` file:
Enabling [Gitpod Prebuilds](https://www.gitpod.io/docs/configure/repositories/prebuilds) helps save time by executing `init` tasks defined in the `.gitpod.yml` ahead of time, allowing your workspace to start faster and with all the dependencies already installed.

```yaml
github:
prebuilds:
# enable for the default branch
master: true
# enable for all branches in this repo
branches: true
# enable for pull requests coming from this repo
pullRequests: true
# enable for pull requests coming from forks
pullRequestsFromForks: true
# add a check to pull requests
addCheck: true
# add a "Review in Gitpod" button as a comment to pull requests
addComment: false
# add a "Review in Gitpod" button to the pull request's description
addBadge: true
```

After adding the configuration, you can start your development & testing by creating [your workspace in Gitpod](https://www.gitpod.io/docs/getting-started/#start-your-first-workspace).
Upon creation, you will be able to see the LocalStack container running in the background (you can use `localstack status` to check the status of the container).

For a simple demonstration, check out the [LocalStack Gitpod demo](https://github.com/Gitpod-Samples/localstack-gitpod-demo) repository.
Expand Down