-
-
Notifications
You must be signed in to change notification settings - Fork 528
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
gitpod integration using Docker images from portability testing workflow #33103
Comments
Last 10 new commits:
|
Commit: |
Author: Tobias Diez, Matthias Koeppe |
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. New commits:
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:9
Running into
|
Branch pushed to git repo; I updated commit sha1. Last 10 new commits:
|
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. New commits:
|
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
comment:138
Is it easy to configure launching this (with prebuids) on branches in https://github.com/sagemath/sagetrac-mirror ? |
comment:139
Yes, it's only a few clicks see: https://www.gitpod.io/docs/prebuilds#projects-and-prebuilds |
comment:140
Replying to @tobiasdiez:
I've sent you an invite. I guess I installed their "app", but I don't see how to proceed. Did you see my email message about trac access? |
comment:141
Thanks! I've now created a "team" sagemath and added the Currently, the creation of the image fails however due to a permission error:
Matthias, can you have a look please? |
comment:142
Replying to @tobiasdiez:
my email is shown on my GitHub account https://github.com/dimpase Thanks! |
comment:143
Replying to @tobiasdiez:
I think you need to deposit a secret providing read access similar to what is explained in |
comment:144
... alternatively I suppose we could push the required Docker images to DockerHub -- but I don't have write access there; @saraedum, could you deposit an access token for that as a secret here? https://github.com/organizations/sagemath/settings/secrets/actions |
comment:146
Replying to @mkoeppe:
That link is for a self-hosted gitpod and thus does not apply to our situation (we don't have a gitpod config other than what is committed in this branch). I think the issue is that the image |
comment:147
Replying to @tobiasdiez:
Because on my testing branch used for the prebuild, I am setting the correct repo: |
comment:148
(And because every GH workflow automatically has the credentials to access its own GH packages (gchr.io)!) |
comment:149
Ahh okay, I thought this is an environment variable that is picked up somewhere. So in this case we just have to wait until this ticket is merged, which would then build and publish the docker image to |
comment:150
Replying to @tobiasdiez:
Yes, on the next release that includes this branch, the Docker image will be pushed (by separate instances of the workflow) both to We will then see whether the 403 Forbidden will go away. I think it will not, for workflows run on |
comment:151
I think we may need to do this: |
comment:152
Well, no, all packages are already set to "public": For example https://github.com/orgs/sagemath/packages/container/sage%2Fsage-docker-ubuntu-focal-standard-configured/settings |
comment:154
No, this makes no sense. |
Changed branch from u/mkoeppe/gitpod_integration_using_docker_images_from_portability_testing_workflow to |
Gitpod allows one to setup a complete dev environment in the cloud. It is free to use for up to 50 hours per month. In this ticket the config necessary for making this work with sagemath is added.
You can try this out by going to https://gitpod.io/#https://github.com/mkoeppe/sage/tree/mkoeppe-9.5.beta9%2Bupdates.
It works by building docker images on github, push them to GH packages (https://github.com/mkoeppe?tab=packages&q=gitpod) and then use these ones as the base for the gitpod workspace.
After this ticket is merged, we should activate the automatic prebuild by installing the github app (https://www.gitpod.io/docs/prebuilds#on-github). With this enabled, every push would trigger a prebuild of the complete environment (including the build of all dependencies and cythonizion) so that one has a up-to-date code env very quickly without the need to build anything.
Follow-up: #33113 gitpod usability improvements
Alternative: #32749, which only builds the docker image on gitpod (which is currently not really feasible as they have a time limit of 1h)
Depends on #30933
Depends on #29285
CC: @tobiasdiez @dimpase @saraedum
Component: docker
Author: Tobias Diez, Matthias Koeppe
Branch/Commit:
078f247
Reviewer: Matthias Koeppe, Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/33103
The text was updated successfully, but these errors were encountered: