Tag Gitpod image as tested and document Gitpod image release
What does this Merge Request do and why?
This MR updates:
-
verify-gitpod-docker-image
job to tag and push a verified Gitpod workspace docker image astested
. -
deploy-gitpod-workspace-image
job to run ifverify-gitpod-docker-image
job succeeded. Previously, this deploys job only neededbuild-gitpod-docker-image
job. - documentation of how to update the Gitpod GDK Docker image. Please read the rendered markdown of "Promote
main
tag tostable
" section
Relates to gitlab#344613 (closed)
Testing
This change is tested in the https://gitlab.com/gitlab-org/gitlab-development-kit/-/jobs/2791661134 in !2694 (closed).
After verifying that GitLab started successfully in GDK Gitpod workspace docker image, verify-gitpod-docker-image
job adds a tag tested
and push the image to the registry. The tested
image will be used to perform a final human verification step in gitlab!60384 (closed) until we can leverage Gitpod's API to fully test GitLab in a Gitpod instance automatically.
Fri 29 Jul 2022 11:42:28 PM UTC – GitLab is up (took ~3.2 minutes)
+ echo 'INFO: Successfully ran GitLab in Gitpod workspace Docker image.'
INFO: Successfully ran GitLab in Gitpod workspace Docker image.
$ support/gitpod/docker-tag-image-tested
+ GITPOD_WORKSPACE_IMAGE_MAIN=registry.gitlab.com/gitlab-org/gitlab-development-kit/gitpod-workspace:main
+ GITPOD_WORKSPACE_IMAGE_TESTED=registry.gitlab.com/gitlab-org/gitlab-development-kit/gitpod-workspace:tested
+ docker pull registry.gitlab.com/gitlab-org/gitlab-development-kit/gitpod-workspace:main
main: Pulling from gitlab-org/gitlab-development-kit/gitpod-workspace
Digest: sha256:8506c6882be8188b20d778c6f1a557d7237e28f0afe54e9aed8518007670d05b
Status: Image is up to date for registry.gitlab.com/gitlab-org/gitlab-development-kit/gitpod-workspace:main
registry.gitlab.com/gitlab-org/gitlab-development-kit/gitpod-workspace:main
+ docker tag registry.gitlab.com/gitlab-org/gitlab-development-kit/gitpod-workspace:main registry.gitlab.com/gitlab-org/gitlab-development-kit/gitpod-workspace:tested
+ '[' true = true ']'
+ docker push registry.gitlab.com/gitlab-org/gitlab-development-kit/gitpod-workspace:tested
Merge Request checklist
-
This change is backward compatible. If not, please include steps to communicate to our users. -
Tests added for new functionality. If not, please raise Issue to follow-up. -
Documentation added/updated, if needed. -
gdk doctor
test added, if needed. -
Add the ~highlight
label if this MR should be included in theCHANGELOG.md
.
Edited by Nao Hashizume