Forums

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

rsync-deploy or rsync-ssh?

robtown
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!
March 30, 2021

Site ground has recently updated our hosting tools from cPanel to their suite of "Site Tools" now my existing rsync-ssh pipelines are not working.

I have it pretty much sorted out all the way to my script where I run the rsync command.

It's not copying my changes over to my server. The files seem to be updated (based on datestamps in the file explorer on the actual site) but I don't see any of the expected code changes.

So while trying to troubleshoot this, I came across the rsync-deploy pipe. 

I'm wondering if I'd have better luck with that one? 

1 answer

0 votes
Oleksandr Kyrdan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 2, 2021

Hi @robtown

Thank you for your question!

According to the rsync docs you could use one of parameters "--ignore-times", "--ignore-size" or "--checksum" related to your case as an EXTRA_ARGS option for the rsync-deploy pipe:

script:
  - pipe: atlassian/rsync-deploy:0.4.4
    variables:
      USER: 'ec2-user'
      SERVER: '127.0.0.1'
      REMOTE_PATH: '/var/www/build/'
      LOCAL_PATH: 'build'
      DEBUG: 'true'
      EXTRA_ARGS: '--ignore-time' or '--ignore-size' or 'checksum' # one of parameters


Cheers,
Oleksandr Kyrdan
 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events