Skip to content

Commit

Permalink
Merge "Restrict cliff to <2.15.0"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed Jun 19, 2019
2 parents 4a45d75 + a3a71b9 commit 6baad19
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 17 deletions.
12 changes: 4 additions & 8 deletions playbooks/kayobe-overcloud-upgrade-base/pre.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,17 @@
state: directory

- name: Ensure previous kayobe repository is cloned
git:
repo: https://opendev.org/x/kayobe
dest: "{{ previous_kayobe_src_dir }}"
version: "stable/{{ previous_release | lower }}"
command: >-
git clone {{ kayobe_src_dir }} {{ previous_kayobe_src_dir }} -b stable/{{ previous_release | lower }}
- name: Ensure previous kayobe-config directory exists
file:
path: "{{ previous_kayobe_config_src_dir }}"
state: directory

- name: Ensure kayobe-config repository is cloned
git:
repo: https://opendev.org/x/kayobe-config-dev
dest: "{{ previous_kayobe_config_src_dir }}"
version: "stable/{{ previous_release | lower }}"
command: >-
git clone {{ kayobe_config_src_dir }} {{ previous_kayobe_config_src_dir }} -b stable/{{ previous_release | lower }}
# NOTE(mgoddard): Use the name zz-overrides.yml to ensure this takes
# precedence over the standard config files.
Expand Down
12 changes: 4 additions & 8 deletions playbooks/kayobe-seed-upgrade-base/pre.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,17 @@
state: directory

- name: Ensure previous kayobe repository is cloned
git:
repo: https://opendev.org/x/kayobe
dest: "{{ previous_kayobe_src_dir }}"
version: "stable/{{ previous_release | lower }}"
command: >-
git clone {{ kayobe_src_dir }} {{ previous_kayobe_src_dir }} -b stable/{{ previous_release | lower }}
- name: Ensure previous kayobe-config directory exists
file:
path: "{{ previous_kayobe_config_src_dir }}"
state: directory

- name: Ensure kayobe-config repository is cloned
git:
repo: https://opendev.org/x/kayobe-config-dev
dest: "{{ previous_kayobe_config_src_dir }}"
version: "stable/{{ previous_release | lower }}"
command: >-
git clone {{ kayobe_config_src_dir }} {{ previous_kayobe_config_src_dir }} -b stable/{{ previous_release | lower }}
# NOTE(mgoddard): Use the name zz-overrides.yml to ensure this takes
# precedence over the standard config files.
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pbr>=2.0 # Apache-2.0
# line and commenting the one after.
# -e git+https://github.com/stackhpc/[email protected]#egg=ansible-issue-30350-2.3 # GPLv3
ansible>=2.4.0,<2.7.0 # GPLv3
cliff>=2.5.0 # Apache
cliff>=2.5.0,<2.15.0 # Apache
netaddr!=0.7.16,>=0.7.13 # BSD
# paramiko 2.5.0 makes the kayobe-tox-molecule job fail.
paramiko<2.5.0
Expand Down

0 comments on commit 6baad19

Please sign in to comment.