During publish, we cannot push to some remotes
During the latest security release, we were unable to push tags to omnibus nor charts, for all versions.
Snippet of chatops log output for omnibus-gitlab
:
2020-01-02 19:23:43.073620 I ReleaseTools::Services::SyncRemotesService -- Fetching tag -- {:project=>gitlab-org/omnibus-gitlab, :name=>"12.4.7+ee.0"}
2020-01-02 19:23:44.084917 I ReleaseTools::Services::SyncRemotesService -- Pushing tag to remotes -- {:project=>gitlab-org/omnibus-gitlab, :name=>"12.4.7+ee.0", :remotes=>[:canonical, :dev, :security]}
2020-01-02 19:23:45.574703 W ReleaseTools::RemoteRepository -- Failed to push -- {:remote=>:canonical, :ref=>"12.4.7+ee.0", :output=>"To gitlab.com:gitlab-org/omnibus-gitlab.git\n ! [remote rejected] 12.4.7+ee.0 -> 12.4.7+ee.0 (shallow update not allowed)\nerror: failed to push some refs to 'git@gitlab.com:gitlab-org/omnibus-gitlab.git'\n"}
2020-01-02 19:23:47.148468 W ReleaseTools::RemoteRepository -- Failed to push -- {:remote=>:security, :ref=>"12.4.7+ee.0", :output=>"To gitlab.com:gitlab-org/security/omnibus-gitlab.git\n ! [remote rejected] 12.4.7+ee.0 -> 12.4.7+ee.0 (shallow update not allowed)\nerror: failed to push some refs to 'git@gitlab.com:gitlab-org/security/omnibus-gitlab.git'\n"}
Snippet of chatops log output for charts
:
2020-01-02 19:24:29.704912 W ReleaseTools::RemoteRepository -- Failed to push -- {:remote=>:canonical, :ref=>"master", :output=>"To gitlab.com:gitlab-org/charts/gitlab.git\n ! [rejected] master -> master (fetch first)\nerror: failed to push some refs to 'git@gitlab.com:gitlab-org/charts/gitlab.git'\nhint: Updates were rejected because the remote contains work that you do\nhint: not have locally. This is usually caused by another repository pushing\nhint: to the same ref. You may want to first integrate the remote changes\nhint: (e.g., 'git pull ...') before pushing again.\nhint: See the 'Note about fast-forwards' in 'git push --help' for details.\n"}
2020-01-02 19:24:30.229572 W ReleaseTools::RemoteRepository -- Failed to push -- {:remote=>:dev, :ref=>"master", :output=>"To dev.gitlab.org:gitlab/charts/gitlab.git\n ! [rejected] master -> master (fetch first)\nerror: failed to push some refs to 'git@dev.gitlab.org:gitlab/charts/gitlab.git'\nhint: Updates were rejected because the remote contains work that you do\nhint: not have locally. This is usually caused by another repository pushing\nhint: to the same ref. You may want to first integrate the remote changes\nhint: (e.g., 'git pull ...') before pushing again.\nhint: See the 'Note about fast-forwards' in 'git push --help' for details.\n"}
Jobs impacted:
Edited by John Skarbek