* [wsman-mk2] Remove ws-manager-mk2 from experimental
* [ws-daemon] Remove readiness check for service
* [ws-daemon] Use mk2 working area only
* [preview] Remove mk2 customization
* [installer] Remove constant
* [docker-up] update docker compose to 2.18.1-gitpod.2
* [workspace] update containerd
From v1.6.20 -> v1.6.21
* [image-builder-bob] fix build error after containerd update
Context:
[components/image-builder-bob:app] level=error msg="Running error: 1 error occurred:\n\t* can't run linter goanalysis_metalinter: buildir: failed to load package tracetransform: could not load export data: no export data for \"go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/tracetransform\"\n\n"
* [preview] update VM image with fewer cached images
This will help us avoid pod eviction and improve stability
Related: https://github.com/gitpod-io/gitpod-packer-gcp-image/pull/235
* [test] more cowbell
* [ws-manager-mk2] add support for storage quotas
This way, on workspace create, `ws-daemon` can set XFS limits for `/workspace`
* [preview] set smaller /workspace limits
This way we don't have to spend more on preview environments.
* [ws-daemon] warn when xfs is missing
* Partial revert of "Revert "[ws-daemon] Restart IWS if ws-daemon is restarted (#17552)" (#17645)"
This reverts commit e082b7f48885199013df927d3c71c62935f74047.
It avoids reverts on notify.go and workspace_provider.go.
* [ws-daemon] log when handling running workspaces
* [test] add test for xfs quotas
* [tests] unique ContextURL for commit only
* [tests] include std output in the error message for commit
Sometimes commit fails with status 1 w/o error output...so it's helpful to look at StdOut
* [tests] Fix TestGitActions by using the test case context
Prior to this, createWorkspace was working, but getWorkspace could not find the created workspace.
* [test] bypass exit code 1 on `git commit` with `--allow-empty`
* [test] Fix gcloud auth, do setup before auth
* Show all output
Might remove later...
* [test] avoid using deleted user, identity, and token
* [test] add organizationId to CreateWorkspaceOptions
It's expected on the Typescript side:
90b7d65858/components/server/src/workspace/gitpod-server-impl.ts (L1227-L1235)
* [test] orgId is required on createWorkspace
But sometimes there's no team 🤷
* [test] fix git context tests
We use UBP now, there is no more unleashed.
Also, remove the "ff" feature flag code (which was for PVC). It was mutating the username, resulting in Code 460 errors on createWorkspace
* [test] Use example test as the example
* [test] fix context tests when run as gitpod-integration-test user
* [test] clean-up
* [test] wait for workspaces to stop
Tests intermittently fail with to avoid intermittent failures
* [test] add code owners
This way, we can assert tests are passing for all teams prior to merging
* [test] limit # of tests that can run in parallel
* [test] no parallel tests
Test to see if flakeyness goes away...
...and bump the timeout because we reduced parallel runs
* [preview] update the VM image to have parity with production
This:
1. updates from K3s 1.23 to 1.26
2. requires that we remove PodSecurityPolicy changes (as it's no longer supported)
3. resolves intermittent disk pressure issues
* [preview] no PSP in support of VM image update
* We were getting PSP from rook/ceph, which I think was for PVC
* We were getting PSP from the monitoring-satellite
* [test] don't wait for workspace stop with git_test.go, we're testing git actions.
Why? We miss state transitions, it's not guaranteed each one will be returned, and there are other tests waiting.
For example, in the below log, we miss INITIALIZING, RUNNING, and STOPPING.
workspace.go:369: attempt to create the workspace as user 0565bb3c-e724-4da9-84fb-22e2a7b23b8c, with context github.com/gitpod-io/gitpod-test-repo/tree/integration-test/commit
workspace.go:411: attempt to get the workspace information: gitpodio-gitpodtestrepo-nscsowy1njb
workspace.go:423: not preparing
workspace.go:432: got the workspace information: gitpodio-gitpodtestrepo-nscsowy1njb
workspace.go:460: wait for workspace to be fully up and running
workspace.go:569: prepare for a connection with ws-manager
workspace.go:590: established for a connection with ws-manager
workspace.go:598: check if the status of workspace is in the running phase: 462f1325-3019-4547-8666-508e8353335e
workspace.go:631: status: 462f1325-3019-4547-8666-508e8353335e, PENDING
workspace.go:598: check if the status of workspace is in the running phase: 462f1325-3019-4547-8666-508e8353335e
workspace.go:631: status: 462f1325-3019-4547-8666-508e8353335e, PENDING
workspace.go:598: check if the status of workspace is in the running phase: 462f1325-3019-4547-8666-508e8353335e
workspace.go:631: status: 462f1325-3019-4547-8666-508e8353335e, CREATING
workspace.go:598: check if the status of workspace is in the running phase: 462f1325-3019-4547-8666-508e8353335e
workspace.go:631: status: 462f1325-3019-4547-8666-508e8353335e, CREATING
workspace.go:598: check if the status of workspace is in the running phase: 462f1325-3019-4547-8666-508e8353335e
workspace.go:631: status: 462f1325-3019-4547-8666-508e8353335e, CREATING
workspace.go:598: check if the status of workspace is in the running phase: 462f1325-3019-4547-8666-508e8353335e
workspace.go:504: waiting for stopping the workspace: 462f1325-3019-4547-8666-508e8353335e
workspace.go:514: attemp to delete the workspace: 462f1325-3019-4547-8666-508e8353335e
workspace.go:797: confirmed the worksapce is stopped: 462f1325-3019-4547-8666-508e8353335e, STOPPED
workspace.go:538: successfully terminated workspace
git_test.go:172: failed to wait for the workspace to start up: cannot wait for workspace: context deadline exceeded
* [preview] retry installing trust-manager
And use trust-manager from the packer image
* [test] clarify USER_TOKEN value for preview environments
* Cleanup
* [preview] remove commented out yaml related to PodSecurityPolicy
* [preview] force gce, no harvester
* [preview] default to using spot for GCE VMs
* [preview] bump sizes up now that we're using spot
...and actually use spot by changing the default for gce_use_spot
We'll address the disk pressure issues (which cause pods to evict on install, but eventually succeed) in a separate PR.
* Clarify inputs
* Default tests to use mk2
* fix
* Improve inputs
* Remove cut, latest
* Remove previewctl hash
* Apply namespaces first
* Output if mk2 is used
* Wait for mk2 deploy
* Fix image-builder-mk3-wsman no longer used
* Fix: catch failure when grep matches no files
* internal analytics endpoint
to prevent triggering rate limitting on analytics from internal components
see https://gitpod.slack.com/archives/C02EN94AEPL/p1682493547309509
* add AnalyticsPort to service and modify network policy
* include all internal components
* fully qualified service reference
---------
Co-authored-by: Pudong <tianshi8650@gmail.com>
* Add new github action to update container images digest
* Add latest tag to dockerfiles
* Update .github/workflows/update-image-digest.yml
Co-authored-by: Milan Pavlik <milan@gitpod.io>
---------
Co-authored-by: Milan Pavlik <milan@gitpod.io>
* [preview] Disable stripe secrets on GITPOD_WITH_DEDICATED_EMU
* [preview] Disable linkedin secrets on GITPOD_WITH_DEDICATED_EMU
* [dashboard, db] Don't show onboarding dialogues for "admin-user"
* [preview] Configure stripe/linkedin in the same code block
* Implement user account verification with LinkedIn during onboarding
* updating connect with linked-in banner
* removing unused imports
* Store token, fix binding
* Refactor LinkedInToken to LinkedInProfile
* Actually write the LinkedIn secret to the server config
* Fetch LinkedIn user profile and email address
* Add creationTime column to d_b_linked_in_profile
* Add more debug logging
* Fix LinkedIn API calls, mount LinkedInProfileDB
* Also bind LinkedInProfileDB
* Add LinkedIn scope r_liteprofile
* Enhance LinkedIn profile retrieval, store the profile, ensure uniqueness
* Align with UX spec and complete onboarding flow
* Prevent the LinkedIn button from auto-submitting the onboarding form
* Address nits (LinkedInService to /src and minor spacing)
---------
Co-authored-by: Brad Harris <bmharris@gmail.com>
* Update go dependencies
Signed-off-by: Manuel de Brito Fontes <aledbf@gmail.com>
* Update runc to v1.1.5
* Update docker cli to v23.0.2+incompatible
---------
Signed-off-by: Manuel de Brito Fontes <aledbf@gmail.com>
* [dev image] fix prebuilds & include build output of dev/* in Github Action Summary
Fixes prebuilds by leveraging the latest workspace-full.
It also adds `pup` to our dev image, so we can more parse HTML files using CSS selectors.
Lastly, it adds the output of dev/* builds to our Github Action summary, while removing the output from dev/image, which is too large.
* A couple more dev-environment references