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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,027
Community Members
 
Community Events
176
Community Groups

I don't see data updated after git pull orign master, pipeline bitbucket

Edited

Hi

I got this pipeline and a runner on my remote machine

bitbucket_pipeline.yml:

 

image: rust
pipelines:
   branches:
       master:
            - step:
                  name: 'Staging'
                  deployment: Staging
                 runs-on:
                     - self.hosted
                     - linux
                 script:
                    - cd /app
                    - pwd
                    - git init
                    - git remote add origin git@bitbucket.org:hha/app.git
                    - ls -la
                    - git fetch
                   - git checkout master
                   - git pull origin master

runner:

 

docker container run -it -v /app:/app -v /var/run/docker.sock:/var/run/docker.sock -v /var/lib/docker/containers:/var/lib/docker/containers:ro -e ACCOUNT_UUID={ccc259a5-3cf0-4d66-a66e-14b9b7a6} -e REPOSITORY_UUID={62e5e6c708-4bce-a251-5110bf9477bf} -e RUNNER_UUID={8f5c2-fac7-5c6c-9d41-97bf60a42b56} -e RUNTIME_PREREQUISITES_ENABLED=true -e OAUTH_CLIENT_ID=yZ8wBSBh37CgMWpGJLLJhofdbehlp -e OAUTH_CLIENT_SECRET=WhhXu2ewDPNb9DF8VL_5R_s75zxHzqqQ1ugrakquRUmpPqft7vBpBfK0XBTr -e WORKING_DIRECTORY=/app --name runner-8f5c2b63-fac7-5c6c-9d41-97bf2b56 docker-public.packages.atlassian.com/sox/atlassian/bitbucket-pipelines-runner:1

 

Pipeline is working/passing after setting SSH keys pipeline, but I don't see anything on the path /apps on my remote machine. Changes are done on the docker cotnainer but not on the path of my remote machine, why?

Thanks

 

 

1 answer

1 accepted

0 votes
Answer accepted

Hi @jg,

I'm afraid that Linux runners don't provide access to the host file system.

We have a feature request in our issue tracker that you can vote for and add yourself as a watcher if you'd like to get notified via email on updates:

In the meantime, we recommend using SCP / Rsync, if necessary.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events