[Rt-commit] rt branch 5.0/test-apache-proxy-fcgi updated. rt-5.0.4-22-gc72a9248e2

BPS Git Server git at git.bestpractical.com
Thu Jun 8 20:08:52 UTC 2023


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/test-apache-proxy-fcgi has been updated
       via  c72a9248e26de5c9e5e01368cb8c63a0307bb55a (commit)
      from  50a03cabd388a251f65af541c401a7e34e568a95 (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 c72a9248e26de5c9e5e01368cb8c63a0307bb55a
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Fri Jun 9 03:51:55 2023 +0800

    Test RT with apache+proxy_fcgi and mariadb

diff --git a/.github/workflows/github-action.yml b/.github/workflows/github-action.yml
index e7bfbad9f8..0523fc16cf 100644
--- a/.github/workflows/github-action.yml
+++ b/.github/workflows/github-action.yml
@@ -57,7 +57,7 @@ jobs:
           fields: |
             [{ "title": "Configuration", "value": "RT Server, SQLite", "short": true },
             { "title": "URL", "value": "${env.GITHUB_SERVER_URL}/${env.GITHUB_REPOSITORY}/actions/runs/${env.GITHUB_RUN_ID}?check_suite_focus=true", "short": true }]
-  rt_test_mariadb:
+  rt_test_mariadb_apache_proxy_fcgi:
     runs-on: ubuntu-latest
     steps:
       - name: Set up for tests
@@ -80,10 +80,11 @@ jobs:
           docker run --network rt --name mariadb -e MYSQL_ROOT_PASSWORD=password -d mariadb:10.6
           docker build --network rt -t rt-base .
           docker run -d -v $GITHUB_WORKSPACE:/rt --env RT_TEST_DB_HOST=mariadb --env RT_TEST_RT_HOST=172.16.0.0/255.240.0.0 --network rt --name rt rt-base
+          docker exec rt bash -c "touch /etc/apache2/mime.types"
           docker exec rt bash -c "cd /rt && ./configure.ac --with-db-type=mysql --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 && RT_TEST_PARALLEL_NUM=5 make test-parallel"
+        run: docker exec -e RT_TEST_WEB_HANDLER=apache+proxy_fcgi -e HTTPD_ROOT=/etc/apache2 -e RT_TEST_APACHE=/usr/sbin/apache2 -e RT_TEST_APACHE_MODULES=/usr/lib/apache2/modules rt bash -c "cd /rt && RT_TEST_PARALLEL_NUM=5 make test-parallel"
       - name: Get run time
         if: always()
         shell: bash
@@ -108,7 +109,7 @@ jobs:
           failure_text: '${env.RT_BRANCH_NAME} (${env.GITHUB_RUN_NUMBER}) tests failed in ${env.RT_GA_TEST_TIME}'
           cancelled_text: '${env.RT_BRANCH_NAME} (${env.GITHUB_RUN_NUMBER}) tests cancelled in ${env.RT_GA_TEST_TIME}'
           fields: |
-            [{ "title": "Configuration", "value": "RT Server, MariaDB 10.6", "short": true },
+            [{ "title": "Configuration", "value": "Apache mod_proxy_fcgi, MariaDB 10.6", "short": true },
             { "title": "URL", "value": "${env.GITHUB_SERVER_URL}/${env.GITHUB_REPOSITORY}/actions/runs/${env.GITHUB_RUN_ID}?check_suite_focus=true", "short": true }]
   rt_test_mysql8:
     runs-on: ubuntu-latest

-----------------------------------------------------------------------

Summary of changes:
 .github/workflows/github-action.yml | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
rt


More information about the rt-commit mailing list