[Rt-commit] rtir branch 5.0/docker-testing-buster2 created. 5.0.3-7-gfb3f8665

BPS Git Server git at git.bestpractical.com
Mon Jan 30 18:42:08 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 "rtir".

The branch, 5.0/docker-testing-buster2 has been created
        at  fb3f8665c7ec84b686e92fc5bc1a5f27ed6172a5 (commit)

- Log -----------------------------------------------------------------
commit fb3f8665c7ec84b686e92fc5bc1a5f27ed6172a5
Author: Brian Conry <bconry at bestpractical.com>
Date:   Mon Aug 1 14:04:17 2022 -0500

    Test against a supported Postgresql version

diff --git a/.github/workflows/github-action.yml b/.github/workflows/github-action.yml
index e648b668..d4e9fa84 100644
--- a/.github/workflows/github-action.yml
+++ b/.github/workflows/github-action.yml
@@ -115,7 +115,7 @@ jobs:
         uses: actions/checkout at v2
       - name: Build test environment
         run: |
-          docker run --detach --name rtdb --network rt --mount type=tmpfs,destination=/var/lib/postgresql/data --env POSTGRES_PASSWORD=password postgres:9.6
+          docker run --detach --name rtdb --network rt --mount type=tmpfs,destination=/var/lib/postgresql/data --env POSTGRES_PASSWORD=password postgres:12.8
           docker build --build-arg RT_DB_TYPE=Pg --build-arg RT_DBA_USER=postgres --build-arg RT_TEST_DB_HOST=rtdb --network rt --tag rtir .
           docker run --network rt --volume "$GITHUB_WORKSPACE:/rtir" rtir bash -c 'cd /rtir && perl Makefile.PL && make'
       - name: Run RTIR tests
@@ -144,5 +144,5 @@ 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": "RTIR, PostgreSQL", "short": true },
+            [{ "title": "Configuration", "value": "RTIR, PostgreSQL 12.8", "short": true },
             { "title": "URL", "value": "${env.GITHUB_SERVER_URL}/${env.GITHUB_REPOSITORY}/actions/runs/${env.GITHUB_RUN_ID}?check_suite_focus=true", "short": true }]

commit 7516887bca83a9990a32b17df04fa96962df5d9a
Author: Brian Conry <bconry at bestpractical.com>
Date:   Mon Aug 1 14:03:41 2022 -0500

    Test MariaDB current long term support version

diff --git a/.github/workflows/github-action.yml b/.github/workflows/github-action.yml
index d42d0a25..e648b668 100644
--- a/.github/workflows/github-action.yml
+++ b/.github/workflows/github-action.yml
@@ -72,7 +72,7 @@ jobs:
         uses: actions/checkout at v2
       - name: Build test environment
         run: |
-          docker run --detach --name rtdb --network rt --env MYSQL_ROOT_PASSWORD=password mariadb:10.3
+          docker run --detach --name rtdb --network rt --env MYSQL_ROOT_PASSWORD=password mariadb:10.6
           docker build --build-arg RT_DB_TYPE=mysql --build-arg RT_TEST_DB_HOST=rtdb --network rt --tag rtir .
           docker run --network rt --volume "$GITHUB_WORKSPACE:/rtir" rtir bash -c 'cd /rtir && perl Makefile.PL && make'
       - name: Run RTIR tests
@@ -101,7 +101,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": "RTIR, MariaDB", "short": true },
+            [{ "title": "Configuration", "value": "RTIR, 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 }]
   rtir_test_postgresql:
     runs-on: ubuntu-latest

commit d09d4cd999f33ecf4abdbd1da8ff23bae831dcb5
Author: Brian Conry <bconry at bestpractical.com>
Date:   Mon Aug 1 14:01:42 2022 -0500

    Split build and test in github actions
    
    This is just to put the Makefile.PL step in the Build
    section since it is part of the Build and not part of
    running the tests. No functional change.

diff --git a/.github/workflows/github-action.yml b/.github/workflows/github-action.yml
index 293ab8ac..d42d0a25 100644
--- a/.github/workflows/github-action.yml
+++ b/.github/workflows/github-action.yml
@@ -31,9 +31,10 @@ jobs:
       - name: Build test environment
         run: |
           docker build --build-arg RT_DB_TYPE=SQLite --tag rtir .
+          docker run --network rt --volume "$GITHUB_WORKSPACE:/rtir" rtir bash -c 'cd /rtir && perl Makefile.PL && make'
       - name: Run RTIR tests
         run: |
-          docker run --network rt --volume "$GITHUB_WORKSPACE:/rtir" rtir bash -c 'cd /rtir && perl Makefile.PL && make test-parallel'
+          docker run --network rt --volume "$GITHUB_WORKSPACE:/rtir" rtir bash -c 'cd /rtir && make test-parallel'
       - name: Get run time
         if: always()
         run: |
@@ -73,9 +74,10 @@ jobs:
         run: |
           docker run --detach --name rtdb --network rt --env MYSQL_ROOT_PASSWORD=password mariadb:10.3
           docker build --build-arg RT_DB_TYPE=mysql --build-arg RT_TEST_DB_HOST=rtdb --network rt --tag rtir .
+          docker run --network rt --volume "$GITHUB_WORKSPACE:/rtir" rtir bash -c 'cd /rtir && perl Makefile.PL && make'
       - name: Run RTIR tests
         run: |
-          docker run --network rt --volume "$GITHUB_WORKSPACE:/rtir" rtir bash -c 'cd /rtir && perl Makefile.PL && make test-parallel'
+          docker run --network rt --volume "$GITHUB_WORKSPACE:/rtir" rtir bash -c 'cd /rtir && make test-parallel'
       - name: Get run time
         if: always()
         run: |
@@ -115,9 +117,10 @@ jobs:
         run: |
           docker run --detach --name rtdb --network rt --mount type=tmpfs,destination=/var/lib/postgresql/data --env POSTGRES_PASSWORD=password postgres:9.6
           docker build --build-arg RT_DB_TYPE=Pg --build-arg RT_DBA_USER=postgres --build-arg RT_TEST_DB_HOST=rtdb --network rt --tag rtir .
+          docker run --network rt --volume "$GITHUB_WORKSPACE:/rtir" rtir bash -c 'cd /rtir && perl Makefile.PL && make'
       - name: Run RTIR tests
         run: |
-          docker run --network rt --volume "$GITHUB_WORKSPACE:/rtir" rtir bash -c 'cd /rtir && perl Makefile.PL && make test-parallel'
+          docker run --network rt --volume "$GITHUB_WORKSPACE:/rtir" rtir bash -c 'cd /rtir && make test-parallel'
       - name: Get run time
         if: always()
         run: |

commit e32afd26ac27a3efb0013e74dd46596bb5f333e8
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Mon Jan 30 13:28:53 2023 -0500

    Install dependencies with cpm
    
    This aligns with the same installation process as the base
    RT docker image.

diff --git a/Dockerfile b/Dockerfile
index 0151ac03..45610116 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -29,7 +29,7 @@ RUN cd /usr/local/src \
   && perl -I/opt/rt5/local/lib -I/opt/rt5/lib sbin/rt-setup-database --action init --dba="$RT_DBA_USER" --dba-password="$RT_DBA_PASSWORD" \
   && rm -rf /usr/local/src/*
 
-RUN cpanm Net::Domain::TLD Net::Whois::RIPE Parse::BooleanLogic
+RUN cpm install --global --no-prebuilt --test --with-all --show-build-log-on-failure Net::Domain::TLD Net::Whois::RIPE Parse::BooleanLogic
 
 ENV RT_DBA_USER="$RT_DBA_USER"
 ENV RT_DBA_PASSWORD="$RT_DBA_PASSWORD"

commit 108e06375a83b987fd7deb0fcfb16a6d50ff3808
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Mon Jan 30 13:23:47 2023 -0500

    Use RTs perl from the base docker image
    
    The RT base docker image installs perl and all dependencies
    into /opt/perl/bin, so use that perl when building.

diff --git a/Dockerfile b/Dockerfile
index e8ff0239..0151ac03 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -11,6 +11,8 @@ ARG RT_DBA_PASSWORD=password
 ARG RT_TEST_DB_HOST=172.17.0.2
 ARG RT_TEST_RT_HOST
 
+ENV PATH="/opt/perl/bin:$PATH"
+
 RUN cd /usr/local/src \
   && git clone https://github.com/bestpractical/rt.git \
   && cd rt \
@@ -24,7 +26,7 @@ RUN cd /usr/local/src \
      --with-db-host="$RT_TEST_DB_HOST" \
      --with-db-rt-host="${RT_TEST_RT_HOST:-$(ip --oneline address show to 172.16/12 | gawk '{split($4, a, "/"); print a[1] "/255.255.255.0"; exit 0;}')}" \
   && make install \
-  && /usr/bin/perl -I/opt/rt5/local/lib -I/opt/rt5/lib sbin/rt-setup-database --action init --dba="$RT_DBA_USER" --dba-password="$RT_DBA_PASSWORD" \
+  && perl -I/opt/rt5/local/lib -I/opt/rt5/lib sbin/rt-setup-database --action init --dba="$RT_DBA_USER" --dba-password="$RT_DBA_PASSWORD" \
   && rm -rf /usr/local/src/*
 
 RUN cpanm Net::Domain::TLD Net::Whois::RIPE Parse::BooleanLogic

commit 34a2e8e65518771fd559bdd44cb04b142eda06a0
Author: Brian Conry <bconry at bestpractical.com>
Date:   Mon Aug 1 13:14:29 2022 -0500

    Use Docker image tag RT-5.0.3-buster-20230130

diff --git a/Dockerfile b/Dockerfile
index 2c7b5130..e8ff0239 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM bpssysadmin/rt-base-debian-stretch
+FROM bpssysadmin/rt-base-debian:RT-5.0.3-buster-20230130
 
 LABEL maintainer="Best Practical Solutions <contact at bestpractical.com>"
 

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


hooks/post-receive
-- 
rtir


More information about the rt-commit mailing list