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

Add container build image commands #504

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gerrod3
Copy link
Contributor

@gerrod3 gerrod3 commented Apr 25, 2022

fixes: #424

TODO:

  • Add remove command
  • Add tests
  • Update container capabilities doc section

tag: Optional[str],
artifacts: Optional[str],
) -> Any:
body = {"containerfile_artifact": container_artifact, "tag": tag, "artifacts": artifacts}
Copy link
Member

Choose a reason for hiding this comment

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

I think, i would add a needs_capability here.

@@ -153,6 +164,10 @@ class PulpContainerPushRepositoryContext(PulpContainerBaseRepositoryContext):
"roles": [PluginRequirement("container", "2.11.0")],
}

def remove_image(self, digest: str) -> Any:
body = {"digest": digest}
Copy link
Member

Choose a reason for hiding this comment

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

and here

@lubosmj
Copy link
Member

lubosmj commented Mar 10, 2023

@gerrod3, are you able to continue working on this PR? We fixed the issues with the builder on the plugin's side (pulp/pulp_container@a6c2103).

@gerrod3
Copy link
Contributor Author

gerrod3 commented Mar 10, 2023

@gerrod3, are you able to continue working on this PR? We fixed the issues with the builder on the plugin's side (pulp/pulp_container@a6c2103).

Yes, I can resume work on it now.

@mdellweg mdellweg changed the title Add container build/remove image commands Add container build image commands Jun 21, 2023
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

Successfully merging this pull request may close these issues.

Add build/remove image commands to container
3 participants