Skip to content

Allow setting custom dest of get_url when using download deployment strategy #384

@sylvain1811

Description

@sylvain1811

There is some cases where the URL does not contain the filename, therefore the auto-generated name is not suitable.

For example, downloading artifacts from Gitlab API is done using the following URL

https://<gitlab-on-premise-url>/api/<version>/projects/<project_id>/jobs/artifacts/<branch>/download?job=<job-name>

Therefore the downloaded file will have the name download?job=<job-name>.

Having a new variable like ansistrano_download_dest to manually set the destination file name would be awesome!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions