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

mirror packages on google cloud storage #204

Open
proppy opened this issue Apr 18, 2022 · 5 comments
Open

mirror packages on google cloud storage #204

proppy opened this issue Apr 18, 2022 · 5 comments

Comments

@proppy
Copy link
Contributor

proppy commented Apr 18, 2022

Since conda has the capability of installing package from arbitrary static http host (as long as it can fetch the index), we could consider mirroring the packages under a google cloud storage bucket.

That would have the following advantages:

  • no more arbitrary quota limitation
  • faster fetch from GCP infra (incl dedicated runners use dedicated GCP runners #184)
  • more relevant package name (@mithro suggested https://conda.hdl.tools as the canonical channel name)
@proppy
Copy link
Contributor Author

proppy commented May 24, 2022

@kgugala looks like there is already a bucket named hdl-conda that we could reuse.

@proppy
Copy link
Contributor Author

proppy commented May 24, 2022

depending if we want to land this before or after #184, we could use either https://github.com/google-github-actions/upload-cloud-storage#authenticating-via-workload-identity-federation or https://github.com/google-github-actions/upload-cloud-storage#via-application-default-credentials for authorizing the action to access the bucket.

@proppy
Copy link
Contributor Author

proppy commented Nov 10, 2022

@umarcor as discussed with @mithro on #184 (comment), do you think we can get a bucket set-up on github-hdl with either https://cloud.google.com/iam/docs/workload-identity-federation or https://cloud.google.com/iam/docs/creating-managing-service-accounts authorization scheme set so that we can upload artefact from the Upload packages workflow?

@proppy
Copy link
Contributor Author

proppy commented Mar 6, 2023

@PiotrZierhoffer @ajelinski @AdamOlech can we get a bucket created in the same project that's currently running the runners?

@umarcor
Copy link
Member

umarcor commented Apr 19, 2023

I can see the settings of github-hdl (I think). There, in Compute Engine, I can see the gha-runner-coordinator-conda-eda VM, which I believe is the runner (coordinator) used in this repository; and the Disks attached to it.
However, Section Cloud Storage > Buckets is empty (I cannot see anything at least). I can neither see the container images from hdl/containers. If I browse gcr.io/hdl-containers I can see the images (left), but the "selected project" is empty. If I set the project to github-hdl, it seems that the feature is disabled (right):

image

I don't know who can clarify whether the images from hdl/containers and the runner in this repo belong to the same project and whether that project is github-hdl. I believe it should be the same (a single) project and we should be able to create a bucket there. Yet, I'm unsure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants