[Rt-commit] rt branch 5.0/github-actions-bugfixes updated. rt-5.0.1-614-g8dade70930

BPS Git Server git at git.bestpractical.com
Mon Aug 23 15:54:50 UTC 2021

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rt".

The branch, 5.0/github-actions-bugfixes has been updated
       via  8dade70930acc484e7d9e76dbc8b1ae75a0b9997 (commit)
      from  f3f898e3018a6baa81cda95d549c50978ab13b32 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 8dade70930acc484e7d9e76dbc8b1ae75a0b9997
Author: Brett Smith <brett at bestpractical.com>
Date:   Mon Aug 23 11:47:17 2021 -0400

    Fix quoting of MariaDB --with-db-rt-host
    The subcommand should be evaluated by the bash running inside the
    container, not the outer one calling `docker exec`.

diff --git a/.github/workflows/github-action.yml b/.github/workflows/github-action.yml
index 92e3443d37..5d0924c1a2 100644
--- a/.github/workflows/github-action.yml
+++ b/.github/workflows/github-action.yml
@@ -67,7 +67,7 @@ jobs:
           docker run --network rt --name mariadb -e MYSQL_ROOT_PASSWORD=password -d mariadb:10.3
           docker build --network rt -t rt-base .
           docker run -d -v $GITHUB_WORKSPACE:/rt --env RT_TEST_DB_HOST=mariadb --network rt --name rt rt-base
-          docker exec rt bash -c "cd /rt && ./configure.ac --with-db-type=mysql --with-db-host=mariadb --with-db-rt-host=$(ip --oneline address show to 172.16/12 | gawk '{split($4, a, "/"); print a[1]; exit 0}') --with-my-user-group --enable-layout=inplace --enable-developer --enable-externalauth --enable-gpg --enable-smime && mkdir -p /rt/var && make testdeps"
+          docker exec rt bash -c 'cd /rt && ./configure.ac --with-db-type=mysql --with-db-host=mariadb --with-db-rt-host=$(ip --oneline address show to 172.16/12 | gawk "{split(\$4, a, \"/\"); print a[1]; exit 0}") --with-my-user-group --enable-layout=inplace --enable-developer --enable-externalauth --enable-gpg --enable-smime && mkdir -p /rt/var && make testdeps'
       - name: Run RT tests
         shell: bash
         run: docker exec rt bash -c "cd /rt && prove -lj6 t/*"


Summary of changes:
 .github/workflows/github-action.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


More information about the rt-commit mailing list