-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[pvc] fix when opening repo with no .gitpod.yml #13552
Conversation
started the job as gitpod-build-pavel-13531.1 because the annotations in the pull request description changed |
766dcca
to
b870541
Compare
/werft run with-clean-slate-deployment=true 👍 started the job as gitpod-build-pavel-13531.7 |
/werft run 👍 started the job as gitpod-build-pavel-13531.8 |
/werft run with-clean-slate-deployment=true 👍 started the job as gitpod-build-pavel-13531.9 |
/werft run 👍 started the job as gitpod-build-pavel-13531.12 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add an integration test for this? To prevent the regression, thank you.
Never mind, I saw there is an related issue created.
/werft with-integration-tests=workspace 👎 unknown command: with-integration-tests=workspace |
/werft run with-integration-tests=workspace 👍 started the job as gitpod-build-pavel-13531.13 |
👋 hey @sagor999 , the tests are ran here, I see some failures and do not recommend we approve and merge until they are handled (there are also test failures in main, 😭 , but they do not match these test cases 👇 ).
I think we may have to delay this change, and extend Gitpodders using PVC (with a caveat that the repo must have a .gitpod.yml), and rely on cc: @jenting as PVC partner in crime and @aledbf as |
started the job as gitpod-build-pavel-13531.15 because the annotations in the pull request description changed |
/werft run 👍 started the job as gitpod-build-pavel-13531.16 |
/werft run with-clean-slate-deployment 👍 started the job as gitpod-build-pavel-13531.17 |
This test failed. content_test.go:410: restarted workspace did not fail despite missing backup, &{id:"6c3e0663-e97f-41a8-b685-06e927bb9c1f" service_prefix:"99225cfe-c5fe-46c9-b0bf-313d343986d8" metadata:{owner:"builtin-user-workspace-probe-0000000" meta_id:"bronze-cod-gqk462ce"} spec:{workspace_image:"eu.gcr.io/gitpod-core-dev/build/workspace-images:83a9d3182651700079941607ed08dd881ae242394d76ed2221520cbda3b79230" deprecated_ide_image:"eu.gcr.io/gitpod-core-dev/build/ide/code:commit-97cff52e43760ad3ad96aa82d9fba934c5f53be8" feature_flags:PERSISTENT_VOLUME_CLAIM initializer:{backup:{}} workspace_location:"/" git:{username:"integration-test" email:"[email protected]"} timeout:"30m" ide_image:{web_ref:"eu.gcr.io/gitpod-core-dev/build/ide/code:commit-97cff52e43760ad3ad96aa82d9fba934c5f53be8"}} https://99225cfe-c5fe-46c9-b0bf-313d343986d8.ws.pavel-13531.preview.gitpod-dev.com id:"6c3e0663-e97f-41a8-b685-06e927bb9c1f" status_version:109114836582401 metadata:{owner:"builtin-user-workspace-probe-0000000" meta_id:"bronze-cod-gqk462ce" started_at:{seconds:1664960268}} spec:{workspace_image:"eu.gcr.io/gitpod-core-dev/build/workspace-images:83a9d3182651700079941607ed08dd881ae242394d76ed2221520cbda3b79230" deprecated_ide_image:"eu.gcr.io/gitpod-core-dev/build/ide/code:commit-97cff52e43760ad3ad96aa82d9fba934c5f53be8" url:"https://99225cfe-c5fe-46c9-b0bf-313d343986d8.ws.pavel-13531.preview.gitpod-dev.com" timeout:"30m" ide_image:{web_ref:"eu.gcr.io/gitpod-core-dev/build/ide/code:commit-97cff52e43760ad3ad96aa82d9fba934c5f53be8"} class:"default"} phase:RUNNING conditions:{volume_snapshot:{}} runtime:{node_name:"pavel-13531" pod_name:"ws-6c3e0663-e97f-41a8-b685-06e927bb9c1f" node_ip:"10.0.2.2"} auth:{owner_token:"VORPBHxAmKYVisgni8WFSelSvDG2EtR0"}}
--- FAIL: TestMissingBackup (36.00s)
--- FAIL: TestMissingBackup/CreateWorkspace (36.00s)
--- FAIL: TestMissingBackup/CreateWorkspace/it_ensures_workspace_fail_if_they_should_have_a_backup_but_don't_have_one (36.00s)
--- PASS: TestMissingBackup/CreateWorkspace/it_ensures_workspace_fail_if_they_should_have_a_backup_but_don't_have_one/classic_backup_init (0.88s)
--- PASS: TestMissingBackup/CreateWorkspace/it_ensures_workspace_fail_if_they_should_have_a_backup_but_don't_have_one/fwb_backup_init (0.86s)
--- FAIL: TestMissingBackup/CreateWorkspace/it_ensures_workspace_fail_if_they_should_have_a_backup_but_don't_have_one/pvc_backup_init (10.86s) |
ah, I know why. I will fix it shortly. |
/werft run with-clean-slate-deployment 👍 started the job as gitpod-build-pavel-13531.20 |
/werft run with-clean-slate-deployment 👍 started the job as gitpod-build-pavel-13531.21 |
/werft run 👍 started the job as gitpod-build-pavel-13531.22 |
@jenting PTAL, tests are passing now. 🙏 |
@sagor999 @jenting hey guys, it looks like the tests failed:
Is there a more recent run where they passed? I am looking at this: https://werft.gitpod-dev.com/job/gitpod-build-jenting-13531.3/raw and https://werft.gitpod-dev.com/job/gitpod-build-jenting-13531.2 (the second one is what Github links to as a failed check). |
This is the build from this PR that is green: https://werft.gitpod-dev.com/job/gitpod-build-pavel-13531.22 |
https://werft.gitpod-dev.com/job/gitpod-build-main.5041/
The link is incorrect. The link point to my branch The is the correct werft link https://werft.gitpod-dev.com/job/gitpod-build-main.5041 |
Description
Related Issue(s)
Fixes #13531
How to test
Open preview env
Enable PVC flag
Open workspace that has no .gitpod.yml file in repo, eg: https://github.com/utam0k/utam0k.github.io
Release Notes
Documentation
Werft options:
If enabled this will build
install/preview
Valid options are
all
,workspace
,webapp
,ide