Skip to content

Conversation

@iQQBot
Copy link
Contributor

@iQQBot iQQBot commented Feb 11, 2025

Description

Fix image build failed for GAR

Related Issue(s)

Fixes CLC-1099

How to test

  1. create a dummy repo, and use image from https://hub.docker.com/r/gitpod/workspace-base/tags (You can choose an image that has never been used before. The key point here is that you need to re-trigger the image build function and upload at least one blob file)
  2. try start workspace from that repo in different preview env, make sure it failed.
  3. try start workspace from that repo with this preview env, it will start image build and it should success

Documentation

Preview status

Gitpod was successfully deployed to your preview environment.

Build Options

Build
  • /werft with-werft
    Run the build with werft instead of GHA
  • leeway-no-cache
  • /werft no-test
    Run Leeway with --dont-test
Publish
  • /werft publish-to-npm
  • /werft publish-to-jb-marketplace
Installer
  • analytics=segment
  • with-dedicated-emulation
  • workspace-feature-flags
    Add desired feature flags to the end of the line above, space separated
Preview Environment / Integration Tests
  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-large-vm
  • /werft with-gce-vm
    If enabled this will create the environment on GCE infra
  • /werft preemptible
    Saves cost. Untick this only if you're really sure you need a non-preemtible machine.
  • with-integration-tests=all
    Valid options are all, workspace, webapp, ide, jetbrains, vscode, ssh. If enabled, with-preview and with-large-vm will be enabled.
  • with-monitoring

/hold

@geropl
Copy link
Member

geropl commented Feb 11, 2025

@iQQBot Nice work, thanks for the super quick fix! 💪 Please ping once you have a preview running for testing 🙏

@iQQBot
Copy link
Contributor Author

iQQBot commented Feb 11, 2025

@geropl preview env is ready, and update how to test section

@iQQBot
Copy link
Contributor Author

iQQBot commented Feb 11, 2025

If you see 502, you can manually trigger gcp refresh token jobs

kubectl create job --from=cronjob/gcr-refresh-token gcr-refresh-token-manual

and restart image-builder-mk3, it's another problem. and it only happen in preview env

@geropl
Copy link
Member

geropl commented Feb 11, 2025

Nice, works! ✔️

Copy link
Member

@geropl geropl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and works! 🎉 ✔️

@iQQBot
Copy link
Contributor Author

iQQBot commented Feb 11, 2025

/unhold

@roboquat roboquat merged commit 90f15c4 into main Feb 11, 2025
71 of 72 checks passed
@roboquat roboquat deleted the pd/CLC-1099 branch February 11, 2025 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants