-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Remove deprecated '#prebuild/' context URL prefix #4353
Comments
I have 2 questions regarding this issue:
|
Given that this feature is broken (see #6688 (comment)) I don't think it makes sense to spend a lot of effort to fix it just for admins. Instead, it's probably better to make it redirect to the most sensible place (e.g. the Prebuilds page of the Project, if you have access to it, so that you can click on the new |
Now that #7422 is merged and deployed, I think we no longer need the manual prebuild prefix. @jldec maybe we can rename this issue to "Deprecate and remove Prebuild Context URLs" and schedule it? It's a quick fix, and I believe it's both no longer useful and actually broken and harmful from a security standpoint (since anyone can trigger Prebuilds for any context URL). |
Side note: the |
Pleeeeease do not remove manual prebuild prefix. I still didn't figure out how to add DrupalPod project to gitpod.io/projects, see #7781 |
As usual, many thanks @shaal for surfacing dependencies we're (or I'm) not aware of! 🙏 🥇 Will edit the issue title + description, and also directly link to any issues that need to be resolved first before the prefix can go. |
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. |
Please add the label |
Good news: I believe there is now team-wide alignment on the fact that the "Run Prebuild" button should always trigger a new prebuild (regardless of whether there is already a successful prebuild available for the same commit). This will allow us to:
|
I wonder if this is captured by #12010? 🤔 |
Hi @shaal! Long time 👋 😁 Just letting you know that we're reviving this topic and we'd like to try again to:
Does that look good from your side now? (I believe ddev is now using a Project, correct?) Also, please let me know if there are any other Prebuilds/Project/Gitpod problems that are bothering you or your community -- I can try to make them actionable & prioritize them. |
@jankeromnes 👋 great to hear from you :) I think the UI works well, where I can trigger prebuilds through it. Oh, just spoke about it, and here's a live example - https://gitpod.io/t/drupalpod/drupalpod/6e0bc450-94dc-4174-b5ef-d2aa4b575b34 Not sure if it's related, but I'd love to get auto-prebuilds working also outside of Github, just like the example above of the repo that is in Drupal's self-hosted Gitlab. |
Awesome, many thanks for your input @shaal!
Ah, I believe this is the same problem as #12010 (comment) i.e. Gitpod considers that your prebuild ran "successfully" (i.e. there was no system error, your prebuild pod didn't crash or so), even though the prebuild task from your I think the correct way to handle these situations is to make Gitpod always run a new prebuild when you click on the Good reminder, thanks!
Oh. Are you saying that, whenever you push new commits to Drupal's self-hosted GitLab repository, Gitpod does not automatically run a new prebuild? I guess this would mean that we still don't fully support the GitLab version that's self-hosted by Drupal. I know that we've previously fixed the "listing of repositories and creation of Project" part (#7781) but maybe the very final step of installing a webhook onto the repository still doesn't work? This would mean we should open a new issue about fixing webhook installations for Drupal's GitLab version. |
@jankeromnes oh, another essential feature, manually triggering image update by semi-related issue - |
Thanks for the hint @shaal! I'm not aware of any plans to deprecate or remove the |
Now tracked in this issue: #15144 |
When we have projects, we should no longer allow anyone to trigger prebuilds on arbitrary repos. Instead,
the context URLs should become an admin-only feature.Edits by @gitpod-io/engineering-webapp:
Run Prebuild
button in the dashboard or the Gitpod API.Run Prebuild
button to the Admin dashboard.However, before the prefix can be definitely removed, we need to ensure that we're not removing functionality or breaking user workflows without adequate replacement.
Depends on
#incremental-prebuild/
URL prefixThe text was updated successfully, but these errors were encountered: