Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

PHP Laravel pipeline

Cherin Onyango
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!
July 29, 2021

Hi, am new to bitbucket pipelines. Am creating a bitbucket pipeline to deploy Backend Application. But am getting this and I dont seem to understand why.

INFO: Using passed SSH_KEY...Traceback (most recent call last): 
File "/pipe.py", line 108, in <module>
pipe.run()
File "/pipe.py", line 76, in run

self.setup_ssh_config()

File "/pipe.py", line 44, in setup_ssh_config

f.write(base64.b64decode(ssh_key).decode())

File "/usr/local/lib/python3.8/base64.py", line 87, in b64decode
return binascii.a2b_base64(s)binascii.Error: Invalid base64-encoded string: number of data characters (549) cannot be 1 more than a multiple of 4

My pipeline fails at the deploy part on pipe:

Screenshot from 2021-07-29 23-51-28.png

Kindly assist on how to handle this.

 

 

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events