Skip to content

Commit

Permalink
CI: workaround hardcoded bash shell in alpine
Browse files Browse the repository at this point in the history
pytest-mh has a hardcoded dependency towards bash shell and the easiest
way to avoid is to install bash and set it as the default shell in
alpine.

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
  • Loading branch information
ikerexxe committed Nov 26, 2024
1 parent 48af0cc commit 7e672dc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions share/ansible/roles/ci_run/tasks/alpine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,10 @@
src: /usr/local/src/shadow/etc/login.defs
dest: /etc/login.defs
remote_src: yes

#The following is a workaround
- name: Create a symbolic link
ansible.builtin.file:
src: /bin/bash
dest: /usr/bin/bash
state: link

0 comments on commit 7e672dc

Please sign in to comment.