This is an automated email from the ASF dual-hosted git repository. bneradt pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/trafficserver-ci.git
The following commit(s) were added to refs/heads/main by this push: new c9a3074 PR autest: run on fedora:38 (#185) c9a3074 is described below commit c9a30745ba3898e082380b707036b710b112490b Author: Brian Neradt <brian.ner...@gmail.com> AuthorDate: Mon Jun 26 12:46:16 2023 -0500 PR autest: run on fedora:38 (#185) This runs the autests on the newer fedora:38, which should help catch issues on the newest Python and other system packages. It should also help developers as they can reproduce CI issues locally on a recent OS and we support fedora:38 multiarchtecture for both linux/arm64 and linux/amd64. --- jenkins/github/autest.pipeline | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/jenkins/github/autest.pipeline b/jenkins/github/autest.pipeline index 1bc735e..0972a46 100644 --- a/jenkins/github/autest.pipeline +++ b/jenkins/github/autest.pipeline @@ -1,7 +1,7 @@ pipeline { agent { docker { - image 'ci.trafficserver.apache.org/ats/rockylinux:8' + image 'ci.trafficserver.apache.org/ats/fedora:38' registryUrl 'https://ci.trafficserver.apache.org/' args '--init --cap-add=SYS_PTRACE --network=host -v ${HOME}/ccache:/tmp/ccache:rw' label 'docker' @@ -10,7 +10,7 @@ pipeline { environment { CCACHE_DIR = "/tmp/ccache" CCACHE_BASEDIR = "${WORKSPACE}" - } + } stages { stage('Initialization') { steps { @@ -67,12 +67,9 @@ pipeline { echo 'Starting build' dir('src') { sh '''#!/bin/bash - + set -x set -e - source /opt/rh/gcc-toolset-11/enable - sudo update-crypto-policies --set LEGACY - # We want to pick up the OpenSSL-QUIC version of curl in /opt/bin. # The HTTP/3 AuTests depend upon this, so update the PATH accordingly. export PATH=/opt/bin:${PATH} @@ -98,7 +95,7 @@ pipeline { # The HTTP/3 AuTests depend upon this, so update the PATH accordingly. export PATH=/opt/bin:${PATH} export PATH=/opt/go/bin:${PATH} - + export_dir="${WORKSPACE}/output/${GITHUB_PR_NUMBER}" mkdir -p ${export_dir} @@ -136,15 +133,15 @@ pipeline { } } } - - post { + + post { always { // We exclude socket files because archiveArtifacts doesn't deal well with // their file type. archiveArtifacts artifacts: 'output/**/*', fingerprint: false, allowEmptyArchive: true, excludes: '**/*.sock, **/cache.db' echo "See the build job description for a link to the sandbox." } - cleanup { + cleanup { cleanWs() } }