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

Remove docker build tasks #1001

Merged

Conversation

soapy1
Copy link
Contributor

@soapy1 soapy1 commented Nov 25, 2024

Fixes #941

Description

This PR removes actions for building docker images and related functionality, including:

  • removing the action action_generate_conda_docker
  • removing docker artifacts from the list of artifacts generated by default
  • remove docker artifacts from artifact queries
  • deprecate the api endpoint /build/<build id>/docker

We'll leave in the docker registry functionality. This requires the following docker related bits to stay (to be removed in #942)

  • the DOCKER_ build artifact types
  • all docker db related items

Pull request checklist

  • Did you test this change locally?
  • Did you update the documentation (if required)?
  • Did you add/update relevant tests for this change (if required)?

Copy link

netlify bot commented Nov 25, 2024

Deploy Preview for conda-store canceled.

Name Link
🔨 Latest commit 5a9c53e
🔍 Latest deploy log https://app.netlify.com/sites/conda-store/deploys/6744ec29af7474000864d389

@soapy1 soapy1 added area: api 🌐 area: user experience 👩🏻‍💻 Items impacting the end-user experience labels Nov 25, 2024
Copy link

netlify bot commented Nov 25, 2024

Deploy Preview for conda-store canceled.

Name Link
🔨 Latest commit eb45082
🔍 Latest deploy log https://app.netlify.com/sites/conda-store/deploys/674601b582184700089c1dfd

@soapy1 soapy1 force-pushed the remove-docker-build-tasks branch from c6379fd to 794e95f Compare November 26, 2024 01:07
rfc https://datatracker.ietf.org/doc/html/draft-ietf-httpapi-deprecation-header
suggests using a "Deprecation" header in the response with the
intended deprecation date. We don't have a specific date, so we'll
set the value of this header to true.
@soapy1 soapy1 force-pushed the remove-docker-build-tasks branch from 49c27e7 to d9a4a66 Compare November 26, 2024 01:08
@soapy1 soapy1 marked this pull request as ready for review November 26, 2024 16:10
@soapy1 soapy1 force-pushed the remove-docker-build-tasks branch from b9fe1d9 to 14baab2 Compare November 26, 2024 17:12
@soapy1 soapy1 requested a review from peytondmurray November 26, 2024 17:13
Copy link
Contributor

@peytondmurray peytondmurray left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's go! 🚀

@@ -1341,14 +1340,15 @@ async def api_get_build_archive(
return RedirectResponse(conda_store.storage.get_url(build.conda_pack_key))


@router_api.get("/build/{build_id}/docker/")
@router_api.get("/build/{build_id}/docker/", deprecated=True)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Thanks for making sure this appears in both the docs and the response.

@peytondmurray peytondmurray merged commit a77e625 into conda-incubator:main Dec 6, 2024
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done 💪🏾
Development

Successfully merging this pull request may close these issues.

Remove docker related build tasks
2 participants