# 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:
chdir: ceph
- name: "git checkout {{ branch }}"
- command: git checkout {{ branch }}
+ command: git checkout upstream/{{ branch }}
args:
chdir: ceph