Skip to content

gitpodify/bookish-potato

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

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:

How this works? - Gitpodified Workspace Images

  1. 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
  1. Change line 3 of your .gitpod.yml, replacing id with the merge request ID (e.g. 1234 if your merge request ID is 1234).
# If you prefer artifact IDs, check the build logs.
image: quay.io/gitpodied-workspace-images/build-artifacts:gl-gitpodify-gitpod-workspace-images-mr-1234
  1. Commit to an seperate branch, usually in form of gitpodify/test-pr-<id> and open that branch in Gitpod.

  2. If everything is fine, wait for the maintainer's approval. Otherwise, nuke that workspace, fix it and repeat.

How this works? - Official Gitpod Workspace Images / Contributing to Upstream

  1. After submitting your pull request, tag an maintainer, usually an Gitpod team member, to manually trigger CI builds on Circle CI.

  2. Change line 3 of your .gitpod.yml, replacing quay.io/recaptime-dev/gitpod-workspace-images-artifacts:gl-gitpodify-gitpod-workspace-images-mr-id with the following format where 123 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: 
  1. Commit to an seperate branch, usually in form of gitpod-io/test-pr-<id> and open that branch in Gitpod.

  2. 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

  1. The ws-full:build job takes appox. 78 minutes to build without any caching using cache-from flag before it was implemented in January 2022.