From: David Galloway Date: Wed, 18 May 2022 21:56:22 +0000 (-0400) Subject: ceph-tag: Fix paths and order X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F2008%2Fhead;p=ceph-build.git ceph-tag: Fix paths and order Signed-off-by: David Galloway --- diff --git a/ansible/roles/ceph-release/tasks/push.yml b/ansible/roles/ceph-release/tasks/push.yml index 023fc13f..136fe09f 100644 --- a/ansible/roles/ceph-release/tasks/push.yml +++ b/ansible/roles/ceph-release/tasks/push.yml @@ -3,23 +3,23 @@ # We want to make sure packages get pulled, signed, and pushed before publicly # pushing the security fix. Pushing tags will be done manually by a human. +- name: clone the ceph repository + git: + repo: git@github.com:ceph/ceph.git + dest: ceph + remote: upstream + accept_hostkey: yes + recursive: no + # the colon appended to the v{{ version }} tag removes the previous tag # https://git-scm.com/docs/git-push#Documentation/git-push.txt--d - name: clear the previous remote tag - command: git push origin :v{{ version }} + command: git push upstream :v{{ version }} args: chdir: ceph ignore_errors: yes when: tag|bool is true -- name: clone the ceph repository - git: - repo: https://github.com/ceph/ceph - dest: ceph - remote: upstream - accept_hostkey: yes - recursive: no - - name: add releases repo command: git remote add -f releases git@github.com:ceph/ceph-releases.git args: @@ -42,7 +42,7 @@ chdir: ceph - name: "git checkout {{ branch }}" - command: git checkout {{ branch }} + command: git checkout upstream/{{ branch }} args: chdir: ceph