[Rt-commit] rt branch 5.0/github-actions-bugfixes updated. rt-5.0.1-615-g41ebe0ced4

BPS Git Server git at git.bestpractical.com
Mon Aug 23 17:04:17 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  41ebe0ced408cf911a06149fa51d9425afa7c306 (commit)
      from  8dade70930acc484e7d9e76dbc8b1ae75a0b9997 (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 41ebe0ced408cf911a06149fa51d9425afa7c306
Author: Brett Smith <brett at bestpractical.com>
Date:   Mon Aug 23 13:03:09 2021 -0400

    Hardcode a broad rt-db-host in GitHub Actions
    
    The container can't run the oneliner to calculate a /24 because it has
    neither ip nor gawk. There might be other ways but whatever, just
    letting in the entire Docker network space is easier and appropriate
    enough for a temporary testing host.

diff --git a/.github/workflows/github-action.yml b/.github/workflows/github-action.yml
index 5d0924c1a2..23bdd4b5e7 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=172.16.0.0/12 --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(-)


hooks/post-receive
-- 
rt


More information about the rt-commit mailing list