This repository exists so people can test their contributions to https://gitlab.com/gitpodify/gitpodified-workspace-images and https://github.com/gitpod-io/workspace-images easily.
First, fork this repository using these links to get started, depending on which Git host are you currently using right now:
- Right after creating an merge request or pushing coommits to your fork's source branch, copy the following command to trigger an build. If the build doesn't shows up after ~120 or so minutes1, check your merge request's latest pipelines and drill down the pipeline ID our bots provided if things start to break. (Please do noit spam the command below to avoid rate-limiting chaos.)
<!-- Check if processed at https://recaptime-workspace-images-artifacts-hook.builtwithdark.com/gitlab/pipelines -->
@RecapTimeBot rebuild image
- Change line 3 of your
.gitpod.yml
, replacingid
with the merge request ID (e.g.1234
if your merge request ID is1234
).
# If you prefer artifact IDs, check the build logs.
image: quay.io/gitpodied-workspace-images/build-artifacts:gl-gitpodify-gitpod-workspace-images-mr-1234
-
Commit to an seperate branch, usually in form of
gitpodify/test-pr-<id>
and open that branch in Gitpod. -
If everything is fine, wait for the maintainer's approval. Otherwise, nuke that workspace, fix it and repeat.
-
After submitting your pull request, tag an maintainer, usually an Gitpod team member, to manually trigger CI builds on Circle CI.
-
Change line 3 of your
.gitpod.yml
, replacingquay.io/recaptime-dev/gitpod-workspace-images-artifacts:gl-gitpodify-gitpod-workspace-images-mr-id
with the following format where123
is your pull request ID.
# Technically, check your conversation with the ws-images reviewer of your merge request for the tag name.
image: gitpod/workspace-full:branch-pr-123
# For example in https://github.com/gitpod-io/workspace-images/pull/354#issuecomment-785066574,
# image:
-
Commit to an seperate branch, usually in form of
gitpod-io/test-pr-<id>
and open that branch in Gitpod. -
If everything is fine, wait for the maintainer's approval. Otherwise, nuke that workspace, fix it and repeat. Remember to annoy them again after you push changes/fixes.
Footnotes
-
The
ws-full:build
job takes appox. 78 minutes to build without any caching usingcache-from
flag before it was implemented in January 2022. ↩