Repository navigation
refactor: remove Gitpod configuration and build infrastructure - #7716
Merged
Merged
Conversation
Remove Gitpod Classic support as it's deprecated (shutdown Oct 15, 2025). This removes configuration files, container build definitions, and CI/CD workflows for ddev-gitpod-base image. - Remove .gitpod.yml workspace configuration - Remove containers/ddev-gitpod-base directory - Update GitHub workflows to remove gitpod-base builds and tests - Update containers/push-all.sh and .goreleaser.yml Refs ddev#6891 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
Remove IsGitpod() function, test, and environment constant as Gitpod Classic is deprecated. - Remove IsGitpod() function from pkg/nodeps/utils.go - Remove TestIsGitpod() test from pkg/nodeps/utils_test.go - Remove DDEVEnvironmentGitpod constant and case from pkg/environment/environment.go Refs ddev#6891 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
Change all IsGitpod() || IsCodespaces() checks to only check IsCodespaces() since Codespaces remains supported while Gitpod Classic is deprecated. - Update pkg/dockerutil files to remove Gitpod-specific cases - Update pkg/ddevapp files to change router, config, and environment logic - Remove IS_GITPOD environment variable - Remove Gitpod URL generation logic - Remove Gitpod MTU network configuration - Update comments to remove Gitpod references Refs ddev#6891 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
Update CLI commands and tests to remove Gitpod-specific logic. - Update describe.go to only check Codespaces for URL display - Update start_test.go comment to remove Gitpod reference - Update host launch command to remove GITPOD_INSTANCE_ID checks - Remove 'gp preview' command usage for Gitpod Refs ddev#6891 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
Remove all Gitpod references from documentation and examples. - Remove ddev-gitpod-base from container documentation - Remove Gitpod example from git provider documentation - Remove GitPod from spellcheck wordlist Refs ddev#6891 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
|
Download the artifacts for this pull request:
See Testing a PR. |
rfay
commented
Oct 18, 2025
rfay
left a comment
Member
Author
There was a problem hiding this comment.
I think this is probably OK. The only reservation I have is that a couple of people probably use that ddev-gitpod-base for a docker-in-docker CI setup thing. But we have options for that and new images coming up...
Member
Author
|
I'm pinging @Realityloop about this since we'll be ending support for ddev/ddev-gitpod-base image, although the coming smaller images may work fine for him. |
|
@rfay could the coming images be available before this one is removed, is there anything I can look at for the new smaller images yet? |
Member
Author
|
I don't know of a reason to remove the existing images from hub.docker.com |
stasadev
approved these changes
Oct 21, 2025
Member
There was a problem hiding this comment.
Co-authored-by: Stanislav Zhuk <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Issue
Gitpod Classic is deprecated and was removed on October 15, 2025. Users are already experiencing confusion when visiting Gitpod and seeing information about
"Gitpod Flex" or "Ona" which are unrelated. This PR removes all Gitpod Classic support from DDEV core while preserving Codespaces functionality.
Related:
fix: Improve devcontainer.json to use current Ubuntu and docker, fixes #7287 [skip ci] #7290
How This PR Solves The Issue
Note: I allowed Claude Code to "Vibe code" on this between phases as I demonstrated Claude Code use in my Drupalcon Vienna BoF, DDEV: Contributing using Claude Code. I don't usually do that, but it was an effective way to demonstrate on a particularly straightforward issue like this.
This PR removes Gitpod support through five phases:
Phase 1: Configuration and Build Infrastructure
.gitpod.ymlworkspace configurationcontainers/ddev-gitpod-base/directory including Dockerfile, Makefile, and testsddev-gitpod-basefrom builds, tests, and pushescontainers/push-all.shand.goreleaser.ymlto remove gitpod-base referencesPhase 2: Go Detection Functions
IsGitpod()function frompkg/nodeps/utils.goTestIsGitpod()test frompkg/nodeps/utils_test.goDDEVEnvironmentGitpodconstant frompkg/environment/environment.goPhase 3: Runtime Logic Updates
IsGitpod() || IsCodespaces()checks to only checkIsCodespaces()pkg/dockerutilfiles to remove Gitpod-specific host-gateway and NFS casespkg/ddevappfiles including router, config, ddevapp, utils, and compose templateIS_GITPODenvironment variablePhase 4: Commands and Tests
cmd/ddev/cmd/describe.goto only check Codespaces for URL displaycmd/ddev/cmd/start_test.golaunchcommand to removeGITPOD_INSTANCE_IDchecks andgp previewusagePhase 5: Documentation
ddev-gitpod-basefrom container documentation.spellcheckwordlist.txtManual Testing Instructions
grep -ri "gitpod" . --exclude-dir=.git --exclude-dir=vendor
- Router should be automatically omitted
- Port bindings should default correctly
- URLs should generate properly
Automated Testing Overview
No new tests were added as this is purely removal of deprecated functionality. Existing tests for Codespaces functionality remain and continue to pass.
Release/Deployment Notes
Breaking Changes:
Migration:
Deployment:
Notes: