Hi there,
It looks like an update was made yesterday to bitbucket-upload-file which is causing a failure. Here is the pipeline step:
script:
- zip -r dist-staging.zip public/staging/dist/
- pipe: atlassian/bitbucket-upload-file:0.1.5
Here is the failure:
Status: Downloaded newer image for bitbucketpipelines/bitbucket-upload-file@sha256:e853a53befe6f3ec91449c37b8c74ad74730902a2896289069a400266f15657c
Traceback (most recent call last):
File "/pipe.py", line 77, in <module>
pipe = UploadFilePipe(schema=schema, pipe_metadata=metadata, check_for_newer_version=True)
File "/usr/local/lib/python3.7/site-packages/bitbucket_pipes_toolkit/core.py", line 267, in __init__
self.check_for_newer_version()
File "/usr/local/lib/python3.7/site-packages/bitbucket_pipes_toolkit/core.py", line 289, in check_for_newer_version
if tuple(map(int, latest_version.split('.'))) > tuple(map(int, current_version.split('.'))):
ValueError: invalid literal for int() with base 10: '5@sha256'
Here I believe is where the issue lies:
Can you look to resolve?
Thanks,
Craig.
Thanks for commenting on the commit.
Dup of
this happens on 0.1.4 and earlier as well.
thanks @drichards-lightwell are you aware of a possible workaround in the meantime? or should we wait until a fix is in place?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Craig Turner for reporting!
Here is correct workaround, in Duplicated queston .
Fixed release (we need to review changes) will be in few days, I will notify
Cheers, Galyna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Craig Turner @drichards-lightwell try, please, version 0.1.6, it should work now
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Halyna Berezovska 0.1.6 did work for me.
Any chance in getting it back ported into 0.1.4 so our current pipelines can complete successfully? :)
Thanks in advance!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@drichards-lightwell I am not sure about the porting. It will be known next week.
But if it is simple for you to just update, it is the most recommended way
Cheers, Galyna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Actually there are no such changes since 0.1.4 that affect functionality of uploading files.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I just reran our pipeline for a production deploy step that uses 0.1.4 and it still failed with the same error. Let me know if I can assist with more details.
File "/usr/local/lib/python3.7/site-packages/bitbucket_pipes_toolkit/core.py", line 289, in check_for_newer_version
if tuple(map(int, latest_version.split('.'))) > tuple(map(int, current_version.split('.'))):
ValueError: invalid literal for int() with base 10: '6@sha256'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@drichards-lightwell hello, try, please, again , your version. I rechecked it
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.