From: Andrew Schoen Date: Mon, 1 Aug 2016 15:09:32 +0000 (-0500) Subject: move release.yml from ansible/examples to ansible/ X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=476f575d721f48083a16bc7edd152d97de00b1fd;p=ceph-build.git move release.yml from ansible/examples to ansible/ Move the playbook back here so that the ceph-tag and ceph-deploy-tag jobs can both use it. Signed-off-by: Andrew Schoen --- diff --git a/ansible/examples/release.yml b/ansible/examples/release.yml deleted file mode 100644 index 912d5506..00000000 --- a/ansible/examples/release.yml +++ /dev/null @@ -1,17 +0,0 @@ ---- - -- hosts: localhost - vars: - # should be passed in the CLI like `--extra-vars "version=1.23.45 branch=master"` - version: 0-dev # e.g. 0.78 - branch: master # any existing branch on Github - release: stable # stable, development, or rc are valid options - tag_name: "v{{ version}}" - project: "ceph" - clean: true # if re-doing a deployment this deletes the remote branch in Jenkin's git repo - force_dch: false # if coming from a rc and wanting to release a stable you need to force dch - debemail: adeza@redhat.com - debfullname: "Alfredo Deza" - roles: - - { role: ceph-release, when: "project == 'ceph'" } - - { role: ceph-deploy-release, when: "project == 'ceph-deploy'" } diff --git a/ansible/release.yml b/ansible/release.yml new file mode 100644 index 00000000..912d5506 --- /dev/null +++ b/ansible/release.yml @@ -0,0 +1,17 @@ +--- + +- hosts: localhost + vars: + # should be passed in the CLI like `--extra-vars "version=1.23.45 branch=master"` + version: 0-dev # e.g. 0.78 + branch: master # any existing branch on Github + release: stable # stable, development, or rc are valid options + tag_name: "v{{ version}}" + project: "ceph" + clean: true # if re-doing a deployment this deletes the remote branch in Jenkin's git repo + force_dch: false # if coming from a rc and wanting to release a stable you need to force dch + debemail: adeza@redhat.com + debfullname: "Alfredo Deza" + roles: + - { role: ceph-release, when: "project == 'ceph'" } + - { role: ceph-deploy-release, when: "project == 'ceph-deploy'" }