Skip to content

Commit fa2ec90

Browse files
committed
chore: remove Gitpod support
Gitpod free tier has been discontinued. Removed all Gitpod-related configuration and documentation in favor of GitHub Codespaces. Changes: - Removed .gitpod.yml and .gitpod/Dockerfile - Removed dockerfiles/gitpodURL.sh script - Removed updatecli/updatecli.d/gitpod.yaml configuration - Removed GITPOD_WORKSPACE_URL environment variables from docker-compose files - Updated README.md to remove Gitpod setup instructions - Updated documentation to focus on local development
1 parent 824d771 commit fa2ec90

7 files changed

Lines changed: 0 additions & 170 deletions

File tree

.gitpod.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

.gitpod/Dockerfile

Lines changed: 0 additions & 24 deletions
This file was deleted.

README.md

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,6 @@
22

33
This repository includes the files necessary for transitioning from `docker` to `docker compose` in our Jenkins tutorials and installation guides.
44

5-
### How to Set Up the Repository in Gitpod?
6-
7-
- To initialize your Gitpod workspace, prepend `gitpod.io/#` to any GitHub, GitLab, or Bitbucket repository URL.
8-
- Access our Gitpod workspace [here](https://gitpod.io/#https://github.com/jenkins-docs/quickstart-tutorials).
9-
- If you plan to use Gitpod regularly, we recommend installing the Gitpod extension. This extension adds a Gitpod button to every GitHub repository you visit, making it easy to launch a workspace. You can find the extension [here](https://chrome.google.com/webstore/detail/gitpod-online-ide/dodmmooeoklaejobgleioelladacbeki) for Chromium and [here](https://addons.mozilla.org/firefox/addon/gitpod/) for Firefox.
10-
11-
## Gitpod
12-
13-
Gitpod is a cloud-based development environment designed for teams. It supports various IDEs, including VScode, IntelliJ, and many more, enabling efficient and secure software development.
14-
155
### Steps to Run Examples from the Repository
166

177
- Use `docker compose up` to run examples from this project. Currently, we have four working examples:
@@ -35,26 +25,13 @@ Gitpod is a cloud-based development environment designed for teams. It supports
3525

3626
- Check the status of the container with the `docker ps` or `docker compose ps` commands.
3727
- Access your running Jenkins instance at [http://127.0.0.1:8080](http://127.0.0.1:8080).
38-
- On Gitpod, if containers are running successfully after entering `docker compose --profile <tutorial-name> up`, a pop-up titled `A service is available on port 8080` should appear. If it doesn't, you can view the running service in the `PORTS` section on the right side of the terminal.
3928

4029
### Clean Up Instructions
4130

4231
- To stop and remove running containers, use `docker compose --profile <tutorial-name> down`.
4332
- If you encounter a `Resource is still in use` warning, use the `--remove-orphans` option which would give `docker compose --profile <tutorial-name> down --remove-orphans`.
4433
- To remove the created volumes (should you need to restart from scratch), add the `-v` option which would give `docker compose --profile <tutorial-name> down -v`.
4534

46-
### Suppressing Jenkins Warning using JCASC
47-
48-
To improve the Gitpod experience with Jenkins, we've suppressed a reverse proxy setup warning in Jenkins that was causing issues in the Gitpod environment. We achieved this using Jenkins Configuration as Code ([JCASC](https://www.jenkins.io/projects/jcasc/)) and added the following property to the JCASC YAML file:
49-
50-
```yaml
51-
jenkins:
52-
disabledAdministrativeMonitors:
53-
- "hudson.diagnosis.ReverseProxySetupMonitor"
54-
```
55-
56-
For more detailed information about this configuration and the context behind it, please refer to the [corresponding issue](https://github.com/ash-sxn/GSoC-2023-docker-based-quickstart/issues/61).
57-
5835
### Encountering Issues?
5936

6037
If you encounter any issues while running the examples, please open an issue [in this repository](https://github.com/jenkins-docs/quickstart-tutorials/issues/new/choose).

build-docker-compose.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,6 @@ services:
117117
- agent-ssh-dir:/home/jenkins/.ssh:ro # Mounts the agent-ssh-dir volume to the /home/jenkins/.ssh path inside the container as read-only
118118
node:
119119
build: dockerfiles/node/.
120-
environment:
121-
- GITPOD_WORKSPACE_URL=${GITPOD_WORKSPACE_URL}
122120
container_name: desktop-jenkins_agent-1-node
123121
profiles:
124122
- node
@@ -139,8 +137,6 @@ services:
139137
- agent-ssh-dir:/home/jenkins/.ssh:ro # Mounts the agent-ssh-dir volume to the /home/jenkins/.ssh path inside the container as read-only
140138
multi:
141139
build: dockerfiles/multi/.
142-
environment:
143-
- GITPOD_WORKSPACE_URL=${GITPOD_WORKSPACE_URL}
144140
container_name: desktop-jenkins_agent-1-multi
145141
profiles:
146142
- multi
@@ -162,8 +158,6 @@ services:
162158
- agent-ssh-dir:/home/jenkins/.ssh:ro # Mounts the agent-ssh-dir volume to the /home/jenkins/.ssh path inside the container as read-only
163159
android:
164160
build: dockerfiles/android/.
165-
environment:
166-
- GITPOD_WORKSPACE_URL=${GITPOD_WORKSPACE_URL}
167161
container_name: desktop-jenkins_agent-1-android
168162
profiles:
169163
- android
@@ -185,8 +179,6 @@ services:
185179
- agent-ssh-dir:/home/jenkins/.ssh:ro # Mounts the agent-ssh-dir volume to the /home/jenkins/.ssh path inside the container as read-only
186180
golang:
187181
build: dockerfiles/golang/.
188-
environment:
189-
- GITPOD_WORKSPACE_URL=${GITPOD_WORKSPACE_URL}
190182
container_name: desktop-jenkins_agent-1-golang
191183
profiles:
192184
- golang

docker-compose.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,6 @@ services:
176176
- agent-ssh-dir:/home/jenkins/.ssh:ro # Mounts the agent-ssh-dir volume to the /home/jenkins/.ssh path inside the container as read-only
177177
node:
178178
image: ${IMAGE_PREFIX}/${GHCR_USERNAME}/quickstart-tutorials/jenkinsci-tutorials:node_agent_${BRANCH_SUFFIX}
179-
environment:
180-
- GITPOD_WORKSPACE_URL=${GITPOD_WORKSPACE_URL}
181179
container_name: desktop-jenkins_agent-1-node
182180
profiles:
183181
- node
@@ -198,8 +196,6 @@ services:
198196
- agent-ssh-dir:/home/jenkins/.ssh:ro # Mounts the agent-ssh-dir volume to the /home/jenkins/.ssh path inside the container as read-only
199197
android:
200198
image: ${IMAGE_PREFIX}/${GHCR_USERNAME}/quickstart-tutorials/jenkinsci-tutorials:android_agent_${BRANCH_SUFFIX}
201-
environment:
202-
- GITPOD_WORKSPACE_URL=${GITPOD_WORKSPACE_URL}
203199
container_name: desktop-jenkins_agent-1-android
204200
profiles:
205201
- android
@@ -239,8 +235,6 @@ services:
239235
retries: 5
240236
multi:
241237
image: ${IMAGE_PREFIX}/${GHCR_USERNAME}/quickstart-tutorials/jenkinsci-tutorials:node_agent_${BRANCH_SUFFIX}
242-
environment:
243-
- GITPOD_WORKSPACE_URL=${GITPOD_WORKSPACE_URL}
244238
container_name: desktop-jenkins_agent-1-multi
245239
profiles:
246240
- multi
@@ -262,8 +256,6 @@ services:
262256
- agent-ssh-dir:/home/jenkins/.ssh:ro # Mounts the agent-ssh-dir volume to the /home/jenkins/.ssh path inside the container as read-only
263257
golang:
264258
image: ${IMAGE_PREFIX}/${GHCR_USERNAME}/quickstart-tutorials/jenkinsci-tutorials:golang_${BRANCH_SUFFIX}
265-
environment:
266-
- GITPOD_WORKSPACE_URL=${GITPOD_WORKSPACE_URL}
267259
container_name: desktop-jenkins_agent-1-golang
268260
profiles:
269261
- golang

dockerfiles/gitpodURL.sh

Lines changed: 0 additions & 37 deletions
This file was deleted.

updatecli/updatecli.d/gitpod.yaml

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)