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 decompression flag to openstack_images_image_v2 resource #1482

Commits on Feb 28, 2023

  1. Add decompression flag to openstack_images_image_v2 resource

    Some image are compressed and only filling Content-Type header resulting
    if uploading a compressed image to openstack.
    
    With this we automatically detects and uncompress images in this case.
    
    Example:
    ```
    $ curl -I "https://stable.release.flatcar-linux.net/amd64-usr/current/flatcar_production_openstack_image.img.bz2"
    HTTP/2 200
    server: nginx
    date: Thu, 16 Feb 2023 15:54:03 GMT
    content-type: application/x-bzip2
    content-length: 371535602
    etag: "rq4xkz657ape"
    last-modified: Wed, 15 Feb 2023 18:48:35 GMT
    accept-ranges: bytes
    ```
    spnngl committed Feb 28, 2023
    Configuration menu
    Copy the full SHA
    951bf44 View commit details
    Browse the repository at this point in the history
  2. Skip images_image_v2 web-download tests

    OpenStack dev env seems to not support it anymore.
    spnngl committed Feb 28, 2023
    Configuration menu
    Copy the full SHA
    4a26e57 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fead509 View commit details
    Browse the repository at this point in the history