Skip to content
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

Epic: Automated workspace creation (e.g. in CI pipelines) via Public API #15829

Closed
loujaybee opened this issue Jan 18, 2023 · 4 comments
Closed
Assignees
Labels
feature: public-api Issues relating to Public API meta: stale This issue/PR is stale and will be closed soon type: epic user-interview (discovery) Issues with direct links for interviewing users or customers

Comments

@loujaybee
Copy link
Member Author

Moving to future backlog, the private beta remains open, but we're waiting on more customer feedback and input before we progress the various Public API initiatives.

@stale
Copy link

stale bot commented May 9, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the meta: stale This issue/PR is stale and will be closed soon label May 9, 2023
@loujaybee
Copy link
Member Author

loujaybee commented May 17, 2023

Related use case from the community:

I'm the maintainer of DDEV, which has explicit support for gitpod, and people really like using DDEV there. However, unlike all the other environments we support, we have never figured out a way to do automated testing on gitpod with DDEV's test suite. We have automated testing going at every push on macOS (arm64 and amd64), Linux, Windows, WSL2, everywhere. But not on gitpod. The other day a user just randomly tested DDEV HEAD and found that the gitpod setup was broken. I'm working on a fix. But is there any way we could automatically test at least some of DDEV on Gitpod?

My response...

My immediate reaction / thought would be to suggest configuring a workspace image, pulling that image, and running the scripts. That does look quite like what the github action that @lmilbaum shared is doing... unless I'm missing something. However, from talking to @rfay it sounds like this wouldn't be comprehensive enough. In that case, I'd agree with @ghost that programatically starting a workspace would seem like the best bet here via an API, and asserting on the result.

If we allow that API to pass configuration, like environment variables through to the workspace, that would allow you to conditionally run the tasks that are tests, and then that all tasks exit cleanly. However, having something more native into the .gitpod.yml would also be nice, potentially where you could mark which tasks would run in a test scenario, and which wouldn't. We'd also need to consider how the API returns the successful assertion of the workspace start.

Related to:

@stale stale bot removed the meta: stale This issue/PR is stale and will be closed soon label May 17, 2023
@stale
Copy link

stale bot commented Sep 16, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the meta: stale This issue/PR is stale and will be closed soon label Sep 16, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: public-api Issues relating to Public API meta: stale This issue/PR is stale and will be closed soon type: epic user-interview (discovery) Issues with direct links for interviewing users or customers
Projects
None yet
Development

No branches or pull requests

2 participants