mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-08 03:30:33 -07:00
Fix bash line folding
This commit is contained in:
parent
911dddff56
commit
7eaa1df6c8
1 changed files with 13 additions and 10 deletions
23
.github/workflows/ansible-test-plugins.yml
vendored
23
.github/workflows/ansible-test-plugins.yml
vendored
|
@ -394,33 +394,36 @@ jobs:
|
||||||
ansible-core-version: ${{ matrix.ansible }}
|
ansible-core-version: ${{ matrix.ansible }}
|
||||||
pre-test-cmd: >-
|
pre-test-cmd: >-
|
||||||
echo Setting db_engine_name to "${{ matrix.db_engine_name }}"...;
|
echo Setting db_engine_name to "${{ matrix.db_engine_name }}"...;
|
||||||
echo -n "${{ matrix.db_engine_name }}"\
|
echo -n "${{ matrix.db_engine_name }}"
|
||||||
> tests/integration/db_engine_name;
|
> tests/integration/db_engine_name;
|
||||||
|
|
||||||
echo Setting db_engine_version to "${{ matrix.db_engine_version }}"...;
|
echo Setting db_engine_version to
|
||||||
echo -n "${{ matrix.db_engine_version }}"\
|
"${{ matrix.db_engine_version }}"...;
|
||||||
|
echo -n "${{ matrix.db_engine_version }}"
|
||||||
> tests/integration/db_engine_version;
|
> tests/integration/db_engine_version;
|
||||||
|
|
||||||
echo Setting Connector name to "${{ matrix.connector_name }}"...;
|
echo Setting Connector name to "${{ matrix.connector_name }}"...;
|
||||||
echo -n "${{ matrix.connector_name }}"\
|
echo -n "${{ matrix.connector_name }}"
|
||||||
> tests/integration/connector_name;
|
> tests/integration/connector_name;
|
||||||
|
|
||||||
echo Setting Connector name to "${{ matrix.connector_version }}"...;
|
echo Setting Connector name to "${{ matrix.connector_version }}"...;
|
||||||
echo -n "${{ matrix.connector_version }}"\
|
echo -n "${{ matrix.connector_version }}"
|
||||||
> tests/integration/connector_version;
|
> tests/integration/connector_version;
|
||||||
|
|
||||||
echo Setting Python version to "${{ matrix.python }}"...;
|
echo Setting Python version to "${{ matrix.python }}"...;
|
||||||
echo -n "${{ matrix.python }}"\
|
echo -n "${{ matrix.python }}"
|
||||||
> tests/integration/python;
|
> tests/integration/python;
|
||||||
|
|
||||||
echo Setting Ansible version to "${{ matrix.ansible }}"...;
|
echo Setting Ansible version to "${{ matrix.ansible }}"...;
|
||||||
echo -n "${{ matrix.ansible }}"\
|
echo -n "${{ matrix.ansible }}"
|
||||||
> tests/integration/ansible;
|
> tests/integration/ansible;
|
||||||
|
|
||||||
db_engine_version_flat=$(echo ${{ matrix.db_engine_version }}\
|
db_engine_version_flat=$(echo ${{ matrix.db_engine_version }}
|
||||||
|awk -F '.' '{print $1 $2}')";
|
|awk -F '.' '{print $1 $2}')";
|
||||||
|
|
||||||
python_version_flat=$(echo ${{ matrix.python }}|tr -d .)";
|
python_version_flat=$(echo ${{ matrix.python }}|tr -d .)";
|
||||||
connector_version_flat=$(echo ${{ matrix.connector_version }}\
|
|
||||||
|
connector_version_flat=$(echo ${{ matrix.connector_version }}
|
||||||
|tr -d .)";
|
|tr -d .)";
|
||||||
|
|
||||||
if [[ ${{ env.db_engine_version_flat }} == 57 ]]; then
|
if [[ ${{ env.db_engine_version_flat }} == 57 ]]; then
|
||||||
|
@ -436,7 +439,7 @@ jobs:
|
||||||
-${{ matrix.connector_name }}${{ env.connector_version_flat }}\
|
-${{ matrix.connector_name }}${{ env.connector_version_flat }}\
|
||||||
:latest");
|
:latest");
|
||||||
|
|
||||||
echo "docker_image=$(printf '%s' $docker_image_multiline)"\
|
echo "docker_image=$(printf '%s' $docker_image_multiline)"
|
||||||
>> $GITHUB_ENV
|
>> $GITHUB_ENV
|
||||||
|
|
||||||
docker-image: ${{ env.docker_image }}
|
docker-image: ${{ env.docker_image }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue