]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-release: Fix checkout process for HOTFIX 2004/head
authorDavid Galloway <dgallowa@redhat.com>
Wed, 18 May 2022 19:02:38 +0000 (15:02 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Wed, 18 May 2022 19:02:38 +0000 (15:02 -0400)
The process is the same for a STABLE release and a HOTFIX release.

Signed-off-by: David Galloway <dgallowa@redhat.com>
ansible/roles/ceph-release/tasks/create.yml

index db46e07d35e946823674da45e71a4e8be79f159d..0215a38ccb8c7697f65aeca95051a36a74579f51 100644 (file)
@@ -37,7 +37,7 @@
   args:
     chdir: ceph
   when:
-    - "release == 'STABLE' or release == 'RELEASE_CANDIDATE'"
+    - "release != 'SECURITY'"
     - tag|bool is true
 
 - name: "git checkout previously existing tag for re-build"
   args:
     chdir: ceph
   when:
-    - "release == 'STABLE' or release == 'RELEASE_CANDIDATE'"
+    - "release != 'SECURITY'"
     - tag|bool is false
     - throwaway|bool is false
 
-# HOTFIX
-# This assumes hotfix has already been pushed to {{ branch }}-release branch on github
-- name: "git checkout {{ branch }}-release for HOTFIX release"
-  command: git checkout {{ branch }}-release
-  args:
-    chdir: ceph
-  when: "release == 'HOTFIX'"
-
 # SECURITY
 - name: "git checkout security {{ branch }}-release branch"
   command: git checkout -f -B {{ branch }}-release security/{{ branch }}-release