Hello,
I try to setup a deploy step in bitbucket piplines. Sadly I have problem with that.
That is how my pipeline look's atm:
name: Deploy Staging
deployment: staging
trigger: manual
script:
- pipe: atlassian/rsync-deploy:0.5.0
variables:
USER: $DEPLOY_USER
SERVER: $DEPLOY_SERVER
REMOTE_PATH: $DEPLOY_PATH
LOCAL_PATH: "${BITBUCKET_CLONE_DIR}/html"
EXTRA_ARGS: "--rsync-path=/usr/bin/rsync"
At the end following errors will be displayed:
<span><br></span>...
<span>...<br>/usr/bin/rsync: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.27' not found (required by /usr/lib/x86_64-linux-gnu/libpopt.so.0)</span><span><br>rsync: connection unexpectedly closed (0 bytes received so far) [sender]<br></span><span>rsync error: error in rsync protocol data stream (code 12) at io.c(226) [sender=3.1.3]</span><span><br>✖ Deployment failed.</span><span>INFO: Executing the pipe...</span>
On The server following Versions are installed:
rsync --version
rsync version 3.1.3 protocol version 31
ldd --version
ldd (Debian GLIBC 2.28-10) 2.28
I did not managed to update the GLIBC version on the pipeline.
And up/downgrade on the rsync server is not possible.
Any solutions?