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

galleryimg command #39

Merged
merged 23 commits into from
Jun 16, 2022
Merged

galleryimg command #39

merged 23 commits into from
Jun 16, 2022

Conversation

apozsuse
Copy link
Contributor

Command for galleryimg management

  • Includes 3 subcommands for existence check, creation and deletion of a galleryimg
  • Update of the README.md and the unit tests accordingly

Remarks

Due to the Azure SDK replying always None for the result of the async delete operation, it's not possible to provide more accurate info for the user about the image deletion (without implementing some logic). This issue has been created to revisit this behavior in the future.

  - Fixing some of the comments of the PR in the README.md file
  - Moved the blob management subcommands into blob command rather than
    image command.
- removing unrequired authentication options in the CLI (just
leavina authentication with credentials.json file)
- added confirmation options for delete
- Added container and resource-group as shared params
- fixed tests accordingly
- fixed bug in upload_image_blob kwargs
- fixed typos/ improved comments in README.md file
- create image group of commands
- implement image exists subcommand
- Update README and tests accordingly
- Added image delete command
- Updated README and tests accordingly
- Fixed minor bug in blob delete command (logging error)
- Added image create command
- Updated README and tests files accordingly
- Fixed some typos in blob command tests
Modifying the behavior of some commands due to the sdk not properly
providing the result object for an async operation.
Copy link
Collaborator

@smarlowucf smarlowucf left a comment

Choose a reason for hiding this comment

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

Looks good, although I think we want to be clear with naming.

README.md Outdated Show resolved Hide resolved
azure_img_utils/cli/galleryimg.py Outdated Show resolved Hide resolved
azure_img_utils/cli/galleryimg.py Outdated Show resolved Hide resolved
@apozsuse apozsuse requested a review from smarlowucf June 14, 2022 09:46
README.md Outdated Show resolved Hide resolved
azure_img_utils/cli/gallery_image_version.py Outdated Show resolved Hide resolved
@apozsuse apozsuse merged commit 99aa9a1 into main Jun 16, 2022
@apozsuse apozsuse deleted the gallery_command branch June 16, 2022 14:48
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.

None yet

3 participants