On 02/15/2016 09:54 AM, Swapnil Hajare wrote: > Everyone, > I tried searching for similar problem posted in mailing list, couldn't > find. Hence posting a new topic. > > We have latest stable version of GitLab set up on Ubuntu machine and > it's been working fine for last 6 months. We have configured number of > CI jobs in this and they have been working fine till recently. > > However, since last 2-3 weeks, we are facing a wierd problem. One of our > CI job pushes code to remote Git repositories. This job normally takes > 18-20 seconds to complete. But since last 2-3 weeks, although this job > completes successfully saying that it has pushed code to remote > successfully, we don't see those pushed commits in remote repositories > for hours. It takes, on an average, 3-4 hours for those changes to > reflect in remote Git repositories. > > To investigate this, we tried pushing code to remote repositories > directly, without CI. It worked fine and the code got reflected in > remote repositories in no time. This means something is not working > correctly in our Gitlab setup. > > In our case, there are 2 remote repositories to which we push code: one > is a private repo on github.com and another is a private git repo on our > service provider (custom git server). > > Here is relevant snippet of gitlab-ci.yml file for your reference: > > **************************************************************************** > > |Clean and Push to Remotes: script: - git checkout xx-x-xxxxxx - git pull > - git config --global push.default current - git push > [email protected]:xxxxxxx/xxxxxxxx.git - git push > [email protected]:xxxxxxx.git type: deploy tags: only: - > xx-x-xxxxxx| > > **************************************************************************** >
Are you using the Runner with docker or with the shell executor? Which version of Runner are you using? -- Blog: http://axilleas.me -- You received this message because you are subscribed to the Google Groups "GitLab" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/56C4320F.5020506%40gmail.com. For more options, visit https://groups.google.com/d/optout.
