Install mysql_client the correct way

This commit is contained in:
Laurent Indermuehle 2023-01-03 15:17:47 +01:00
parent 0cd57adbd2
commit 676509e88d
No known key found for this signature in database
GPG key ID: 93FA944C9F34DD09
2 changed files with 4 additions and 1 deletions

View file

@ -143,7 +143,6 @@ jobs:
pre-test-cmd: >- pre-test-cmd: >-
>&2 echo Setting Connector version to ${{ matrix.connector }}...; >&2 echo Setting Connector version to ${{ matrix.connector }}...;
sed -i 's/^python_packages:.*/python_packages: [${{ matrix.connector }}]/' ${{ env.connector_version_file }} sed -i 's/^python_packages:.*/python_packages: [${{ matrix.connector }}]/' ${{ env.connector_version_file }}
apt update && apt install --assume-yes mysql-client
target-python-version: ${{ matrix.python }} target-python-version: ${{ matrix.python }}
testing-type: integration testing-type: integration

View file

@ -1,5 +1,9 @@
--- ---
- name: "{{ role_name }} | install | mysql_client"
package:
name: mysql_client
- name: "{{ role_name }} | install | install python packages" - name: "{{ role_name }} | install | install python packages"
pip: pip:
name: "{{ python_packages }}" name: "{{ python_packages }}"