Failed pipeline spawns a Docker image on the target server

chris_todhunter June 15, 2020

We have been trialling the sftp pipeline but ran out of build minutes. Instead of just failing it looks like the Docker image was dumped onto the target server, causing it to run out of disk space and fall over. Really strange behaviour. Is this down to the pipeline or to Bitbucket itself? Either way, it needs to be addressed.

 

The pipeline code is below

 

-pipelines:
-  default:
-    - step:
-        script:
-          - pipe: atlassian/ftp-deploy:0.3.0
-            variables:
-              USER: 'xxxxx'
-              SERVER: 'xxxx'
-              REMOTE_PATH: '/home/xxxx'
-              LOCAL_PATH: '/'
-              PASSWORD: $CHRISFTPPASSWORD

 

 

 

2 answers

0 votes
ktomk
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 16, 2020

Question remains what specifically needs to be addressed here.

Dumping the whole system to the FTP site looks like the intended behavior:

LOCAL_PATH: '/'

 Command execution looks legit, therefore perhaps a configuration issue on your end?

Which folder do you want to put on the FTP site if not the root directory?

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

@chris_todhunter please clarify, what error you have?

I am able to download an image and it is not dumped from dockerhub. Also, did you try newer versions?

 

Regards, Galyna

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events