Skip to content

Commit

Permalink
Adapt verify for rc/rolling release
Browse files Browse the repository at this point in the history
  • Loading branch information
fauust committed May 16, 2024
1 parent fe295f0 commit a6a94b3
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions molecule/default/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,20 @@
ansible.builtin.shell: |
mariadb -Bse 'STATUS' | grep "^Server version:"
register: version
when: lookup('env', 'MARIADB_VERSION')
when:
- lookup('env', 'MARIADB_VERSION')
- lookup('env', 'MARIADB_VERSION') not in 'rc'
- lookup('env', 'MARIADB_VERSION') not in 'rolling'

- name: Check MariaDB version
ansible.builtin.assert:
that:
- lookup('env', 'MARIADB_VERSION') in version.stdout
msg: "{{ version.stdout }}"
when: lookup('env', 'MARIADB_VERSION')
when:
- lookup('env', 'MARIADB_VERSION')
- lookup('env', 'MARIADB_VERSION') not in 'rc'
- lookup('env', 'MARIADB_VERSION') not in 'rolling'

- name: Check that Innodb engine is enabled (and default)
ansible.builtin.shell: |
Expand Down

0 comments on commit a6a94b3

Please sign in to comment.