Unable to deploy https://customers.stg.gitlab.com
* file[/var/chef/cache/poise_git_deploy_2041281927] action create[2019-04-16T14:12:33+00:00] INFO: Processing file[/var/chef/cache/poise_git_deploy_2041281927] action create (/var/chef/cache/cookbooks/poise-git/files/halite_gem/poise_git/resources/poise_git.rb line 189)
(up to date)
* file[/var/chef/cache/poise_git_wrapper_2041281927] action create[2019-04-16T14:12:33+00:00] INFO: Processing file[/var/chef/cache/poise_git_wrapper_2041281927] action create (/var/chef/cache/cookbooks/poise-git/files/halite_gem/poise_git/resources/poise_git.rb line 204)
(up to date)
- set up remote tracking branches for git@gitlab.com:gitlab-com/customers-gitlab-com.git at origin
================================================================================
Error executing action `sync` on resource 'application_git[git@gitlab.com:gitlab-com/customers-gitlab-com.git]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '128'
---- Begin output of ["/usr/bin/git", "reset", "--hard", "72b9d43578440abd28564548e2f422f98b3fe3a4"] ----
STDOUT:
STDERR: error: unable to create file tmp/pids/.gitkeep (Permission denied)
fatal: Could not reset index file to revision '72b9d43578440abd28564548e2f422f98b3fe3a4'.
---- End output of ["/usr/bin/git", "reset", "--hard", "72b9d43578440abd28564548e2f422f98b3fe3a4"] ----
Ran ["/usr/bin/git", "reset", "--hard", "72b9d43578440abd28564548e2f422f98b3fe3a4"] returned 128
Cookbook Trace:
---------------
/var/chef/cache/cookbooks/poise-git/files/halite_gem/poise_git/resources/poise_git.rb:218:in `call'
/var/chef/cache/cookbooks/poise-git/files/halite_gem/poise_git/resources/poise_git.rb:218:in `git'
Resource Declaration:
---------------------
# In /var/chef/cache/cookbooks/cookbook-customers-gitlab-com/recipes/stg-setup.rb
14: git 'git@gitlab.com:gitlab-com/customers-gitlab-com.git' do
15: revision 'staging'
16: deploy_key customers_gitlab_conf['deploy_key']
17: end
18:
Compiled Resource:
------------------