I'm trying to implement the Git DMZ flow for my team in GitlabCI. But I'm 
running into trouble with one of the Jobs.

I've written this job:

dmz_merge:    script:         - git checkout master        - git pull
        - git merge origin/dmz --ff        - git push origin master    stage: 
deploy    only:        - dmz
But I'm getting the below failure. Is there a step I'm missing to get the push 
to work?

Checking out 5f7dfe5b as dmz...
$ git checkout master
$ git pull
$ git merge origin/dmz --ff
Updating 005fbd1..5f7dfe5
Fast-forward
 .gitlab-ci.yml | 1 +
 1 file changed, 1 insertion(+)
$ git push origin master
remote: HTTP Basic: Access denied
fatal: Authentication failed for 
'http://gitlab-ci-token:xxxxxxxxxxxxxxxxx...@gitlab.mydomain.com/group/project.git/'
ERROR: Build failed: exit status 128

-- 
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 gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/54e4397b-b4b4-43e4-8b93-367f25f82f06%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to