Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

bitbucket-upload-file 0.1.5 is broken on version check

chong_yang
Contributor
June 3, 2020

This was caused by image version with SHA in pipe.yml

 

Digest: sha256:e853a53befe6f3ec91449c37b8c74ad74730902a2896289069a400266f15657cStatus: Downloaded newer image for bitbucketpipelines/bitbucket-upload-file@sha256:e853a53befe6f3ec91449c37b8c74ad74730902a2896289069a400266f15657cTraceback (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

 

3 answers

2 votes
Harri Rahikainen
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 4, 2020

I'm having the same error, although our version of the pipe is 0.1.2

0 votes
Halyna Berezovska
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 9, 2020

@chong_yang @Harri Rahikainen try again, it should work now

Chong Yang
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 10, 2020

ended up with a self build docker image by disabling version check

0 votes
drichards-lightwell June 4, 2020

@Galyna Zholtkevych is this related to commit c8fb768?

Halyna Berezovska
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 5, 2020

@drichards-lightwell yes, you're right. We need to review changes of dependent lib that caused such errors, so for the few days the workaround is to use 0.1.1 version. I will notify once the fix is released

Kind regards, Galyna

Like ktomk likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events