drone-plugins / drone-azure-storage Goto Github PK
View Code? Open in Web Editor NEWDrone plugin for publishing files to Azure Storage
Home Page: http://plugins.drone.io/drone-plugins/drone-azure-storage
License: Apache License 2.0
Drone plugin for publishing files to Azure Storage
Home Page: http://plugins.drone.io/drone-plugins/drone-azure-storage
License: Apache License 2.0
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
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.
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.
https://plugins.drone.io/drone-plugins/drone-azure-storage -> 404 - Page Not Found
And no references for this plugin in https://plugins.drone.io/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.