[Rt-commit] rt branch, 4.4/github-actions-testing2, repushed
? sunnavy
sunnavy at bestpractical.com
Thu May 27 17:29:35 EDT 2021
The branch 4.4/github-actions-testing2 was deleted and repushed:
was bca6a4d004e2cccc6cf946904060339ea851d9ee
now 1fea77105c4c683178daedd8ca07a78864c461d5
1: cba74f8dc1 = 1: cba74f8dc1 Pause travis testing while working on github actions
2: 76e5ff438d ! 2: 6d6246e301 Add github actions config for rt-server tests with SQLite
@@ -42,8 +42,6 @@
+ failure_text: '${env.GITHUB_WORKFLOW} (${env.GITHUB_RUN_NUMBER}) tests failed'
+ cancelled_text: '${env.GITHUB_WORKFLOW} (${env.GITHUB_RUN_NUMBER}) tests cancelled'
+ fields: |
-+ [{ "title": "Repository", "value": "${env.GITHUB_REPOSITORY}", "short": true },
-+ { "title": "Branch", "value": "${env.GITHUB_REF}", "short": true },
-+ { "title": "Test", "value": "rt_test_sqlite", "short": true },
++ [{ "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 }]
3: b9a3994b5f = 3: 6fb9f20207 Run GPG tests now that the environment is updated
4: d09c117836 ! 4: b53b91a923 Add MariaDB tests to github actions
@@ -6,8 +6,8 @@
--- a/.github/workflows/github-action.yml
+++ b/.github/workflows/github-action.yml
@@
- { "title": "Branch", "value": "${env.GITHUB_REF}", "short": true },
- { "title": "Test", "value": "rt_test_sqlite", "short": true },
+ 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:
+ runs-on: ubuntu-latest
@@ -47,8 +47,6 @@
+ failure_text: '${env.GITHUB_WORKFLOW} (${env.GITHUB_RUN_NUMBER}) tests failed'
+ cancelled_text: '${env.GITHUB_WORKFLOW} (${env.GITHUB_RUN_NUMBER}) tests cancelled'
+ fields: |
-+ [{ "title": "Repository", "value": "${env.GITHUB_REPOSITORY}", "short": true },
-+ { "title": "Branch", "value": "${env.GITHUB_REF}", "short": true },
-+ { "title": "Test", "value": "rt_test_mariadb", "short": true },
++ [{ "title": "Configuration", "value": "RT Server, MariaDB 10.3", "short": true },
+ { "title": "URL", "value": "${env.GITHUB_SERVER_URL}/${env.GITHUB_REPOSITORY}/actions/runs/${env.GITHUB_RUN_ID}?check_suite_focus=true", "short": true }]
5: 981033fea2 ! 5: e3ff35b4d6 Calculate run time for tests for slack message
@@ -18,12 +18,9 @@
uses: actions/checkout at v2
- name: Build RT
@@
- docker exec rt bash -c "cd /rt && ./configure.ac --with-db-type=SQLite --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 -e RT_TEST_PARALLEL=1 rt bash -c "cd /rt && prove -lj6 t/*"
-+ run: |
-+ docker exec -e RT_TEST_PARALLEL=1 rt bash -c "cd /rt && prove -lj6 t/*"
+ run: docker exec -e RT_TEST_PARALLEL=1 rt bash -c "cd /rt && prove -lj6 t/*"
+ - name: Get run time
+ shell: bash
+ run: |
@@ -49,10 +46,7 @@
+ 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": "Repository", "value": "${env.GITHUB_REPOSITORY}", "short": true },
-- { "title": "Branch", "value": "${env.GITHUB_REF}", "short": true },
-- { "title": "Test", "value": "rt_test_sqlite", "short": true },
-+ [{ "title": "Test", "value": "rt_test_sqlite", "short": true },
+ [{ "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:
runs-on: ubuntu-latest
@@ -94,9 +88,6 @@
+ 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": "Repository", "value": "${env.GITHUB_REPOSITORY}", "short": true },
-- { "title": "Branch", "value": "${env.GITHUB_REF}", "short": true },
-- { "title": "Test", "value": "rt_test_mariadb", "short": true },
-+ [{ "title": "Test", "value": "rt_test_sqlite", "short": true },
+ [{ "title": "Configuration", "value": "RT Server, MariaDB 10.3", "short": true },
{ "title": "URL", "value": "${env.GITHUB_SERVER_URL}/${env.GITHUB_REPOSITORY}/actions/runs/${env.GITHUB_RUN_ID}?check_suite_focus=true", "short": true }]
6: 15516cf742 ! 6: 546384e2db Add support for Apache with mod_fcgid
@@ -90,5 +90,4 @@
+ Options +ExecCGI
+ AddHandler fcgid-script .fcgi
+</Location>
-+
7: e2a8ef44a7 = 7: f1d9b9fa5e Suppress Apache missing ServerName warning during startup
8: 9f03940570 = 8: 3d23d972b8 Use prefork since that is the preferred mpm for RT
9: 1d10a1a1c1 = 9: b719657e2e Add user needed for Apache tests
10: 620e720099 ! 10: 90d1e61cfe Test RT with Apache and postgres
@@ -7,7 +7,7 @@
+++ b/.github/workflows/github-action.yml
@@
fields: |
- [{ "title": "Test", "value": "rt_test_sqlite", "short": true },
+ [{ "title": "Configuration", "value": "RT Server, MariaDB 10.3", "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_postgresql_apache_mod_fcgid:
+ runs-on: ubuntu-latest
@@ -50,6 +50,6 @@
+ 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": "Test", "value": "rt_test_sqlite", "short": true },
++ [{ "title": "Configuration", "value": "Apache mod_fcgid, PostgreSQL 9.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 }]
11: 554a778ac1 ! 11: 1fea77105c Calculate run time for postgres
@@ -5,24 +5,6 @@
diff --git a/.github/workflows/github-action.yml b/.github/workflows/github-action.yml
--- a/.github/workflows/github-action.yml
+++ b/.github/workflows/github-action.yml
-@@
- 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": "Test", "value": "rt_test_sqlite", "short": true },
-+ [{ "title": "Test", "value": "${env.GITHUB_WORKFLOW}", "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:
- runs-on: ubuntu-latest
-@@
- 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": "Test", "value": "rt_test_sqlite", "short": true },
-+ [{ "title": "Test", "value": "${env.GITHUB_WORKFLOW}", "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_postgresql_apache_mod_fcgid:
- runs-on: ubuntu-latest
@@
docker exec rt bash -c "chown -R rt-user /rt; touch /etc/apache2/mime.types"
docker exec -e USER=rt-user -u rt-user rt bash -c "cd /rt && ./configure.ac --with-db-type=Pg --with-my-user-group --enable-layout=inplace --with-web-handler=fcgid --enable-developer --enable-externalauth --enable-gpg --enable-smime && mkdir -p /rt/var && make testdeps && chmod a+rX /rt/sbin/*"
@@ -50,11 +32,3 @@
- name: Post results to Slack
if: always()
uses: edge/simple-slack-notify at v1.1.1
-@@
- 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": "Test", "value": "rt_test_sqlite", "short": true },
-+ [{ "title": "Test", "value": "${env.GITHUB_WORKFLOW}", "short": true },
- { "title": "URL", "value": "${env.GITHUB_SERVER_URL}/${env.GITHUB_REPOSITORY}/actions/runs/${env.GITHUB_RUN_ID}?check_suite_focus=true", "short": true }]
-
12: bca6a4d004 < --: ------- Set Configuration line for slack output
More information about the rt-commit
mailing list