Giter Club home page Giter Club logo

drone-azure-storage's People

Contributors

bradrydzewski avatar htdvisser avatar mnbbrown avatar msteinert avatar renovate-bot avatar tboerger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

drone-azure-storage's Issues

Latest version breaks piplines

Since the merges on 12/21 the following is logged whenever attempting to use azure-storage:

latest: Pulling from plugins/azure-storage
Digest: sha256:c98762da93f41bacf243b3134072c80f39e1d7c5649a5234deb8b92e35bf69f8
Status: Image is up to date for plugins/azure-storage:latest
+ blobxfer m5webassets scripts dist/ --storageaccountkey=***
Traceback (most recent call last):
  File "/usr/bin/blobxfer", line 5, in <module>
    from blobxfer import main
  File "/usr/lib/python3.10/site-packages/blobxfer.py", line 73, in <module>
    import azure.servicemanagement
  File "/usr/lib/python3.10/site-packages/azure/servicemanagement/__init__.py", line 27, in <module>
    from .servicemanagementclient import parse_response_for_async_op
  File "/usr/lib/python3.10/site-packages/azure/servicemanagement/servicemanagementclient.py", line 372
    def _perform_put(self, path, body, async=False, x_ms_version=None):
                                       ^^^^^
SyntaxError: invalid syntax
exit status 1

Breaking changes in dependency azure-storage version 0.30.0

Version 0.30.0 of azure-storage has some breaking changes that result in the following error:

Drone Azure Storage Plugin built from 7f5bf21
$ blobxfer <..> <..> <..>
Traceback (most recent call last):
  File "/usr/bin/blobxfer", line 11, in <module>
    sys.exit(main())
  File "/usr/lib/python2.7/site-packages/blobxfer.py", line 1897, in main
    blob_service = azure.storage.blob.BlobService(
AttributeError: 'module' object has no attribute 'BlobService'

I will send a PR with a fix.

Outdated version of blobxfer confuses uploading and downloading

Newer versions of blobxfer include a command (e.g. blobxfer upload, blobxfer download) whereas the old one used by this repo autodetects whether to upload or download based on whether the artifact file exists or not. This is a problem for drone, since if a previous build step fails to produce the artifact, this plugin tries to download the artifact from Azure instead. One solution would be to update to a new version of blobxfer and explicitly specify uploading.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.