diff --git a/jenkins/github/rocky-asan.pipeline b/jenkins/github/rocky-asan.pipeline deleted file mode 100644 index defe94e..0000000 --- a/jenkins/github/rocky-asan.pipeline +++ /dev/null @@ -1,113 +0,0 @@ -pipeline { - agent { - docker { - image 'ci.trafficserver.apache.org/ats/rockylinux:8' - registryUrl 'https://ci.trafficserver.apache.org/' - label 'docker' - args '-v ${HOME}/ccache:/tmp/ccache:rw' - } - } - environment { - CCACHE_DIR = "/tmp/ccache" - CCACHE_BASEDIR = "${WORKSPACE}" - } - stages { - stage('Clone') { - steps { - dir('src') { - echo "${sha1}" - checkout([$class: 'GitSCM', - branches: [[name: sha1]], - extensions: [ - // We have to set an idenity for the merge step because Git requires - // the user.name and user.email to be set to do a merge. - [$class: "UserIdentity", - name: "ATS CI User", - email: "noreply@trafficserver.apache.org" - ], - [$class: "PreBuildMerge", - options: [ - mergeTarget: "${GITHUB_PR_TARGET_BRANCH}", - fastForwardMode: "NO_FF", - mergeRemote: "origin", - mergeStrategy: "DEFAULT" - ] - ], - ], - userRemoteConfigs: [[url: github_url, refspec: '+refs/pull/*:refs/remotes/origin/pr/*']]]) - sh '''#!/bin/bash - set -x - - echo - echo - uname -a - cat /etc/*release* - - echo - git show HEAD^2 --no-patch - git show HEAD^1 --no-patch - echo - - git show -n 10 --decorate --graph --oneline --no-patch - echo - echo - ''' - } - echo 'Finished Cloning' - } - } - stage('Build') { - steps { - echo 'Starting build' - dir('src') { - sh '''#!/bin/bash - set -x - set -e - source /opt/rh/gcc-toolset-11/enable - - if [ -d cmake ] - then - # Now build ATS, using the external libswoc. - libswoc_dir=/opt/libswoc - yaml_cpp_dir=/opt/yaml-cpp - PKG_CONFIG_PATH=${libswoc_dir}/lib/pkgconfig \ - cmake -B build --preset ci-rocky-asan \ - -DEXTERNAL_LIBSWOC=ON -Dlibswoc_ROOT=${libswoc_dir} \ - -DEXTERNAL_YAML_CPP=ON -Dyaml-cpp_ROOT=${yaml_cpp_dir} - cmake --build build -v - cmake --install build - pushd build - ctest -j4 --output-on-failure --no-compress-output -T Test - /tmp/ats-quiche/bin/traffic_server -K -k -R 1 - popd - else - echo "CMake builds are not supported for the this branch." - echo "Falling back to autotools." - autoreconf -fiv - ./configure \ - --with-quiche=/opt/quiche \ - --with-openssl=/opt/boringssl \ - --enable-experimental-plugins \ - --enable-example-plugins \ - --prefix=/tmp/ats/ \ - --enable-werror \ - --enable-debug \ - --enable-ccache \ - --enable-asan - make -j4 V=1 Q= - make -j 2 check VERBOSE=Y V=1 - make install - /tmp/ats/bin/traffic_server -K -k -R 1 - fi - ''' - } - } - } - } - - post { - cleanup { - cleanWs() - } - } -}