From d7df263fb851d9f337c0840fc78b25a3fcea643a Mon Sep 17 00:00:00 2001 From: "Eric D. Helms" Date: Thu, 4 Jan 2024 09:44:15 -0500 Subject: [PATCH] Drop kafo tests Kafo testing is handled by Github Actions. --- theforeman.org/pipelines/test/kafo.groovy | 67 ------------------- .../yaml/jobs/tests/kafo-parsers-pr-test.yaml | 16 ----- .../yaml/jobs/tests/kafo-pr-test.yaml | 16 ----- 3 files changed, 99 deletions(-) delete mode 100644 theforeman.org/pipelines/test/kafo.groovy delete mode 100644 theforeman.org/yaml/jobs/tests/kafo-parsers-pr-test.yaml delete mode 100644 theforeman.org/yaml/jobs/tests/kafo-pr-test.yaml diff --git a/theforeman.org/pipelines/test/kafo.groovy b/theforeman.org/pipelines/test/kafo.groovy deleted file mode 100644 index c866326a..00000000 --- a/theforeman.org/pipelines/test/kafo.groovy +++ /dev/null @@ -1,67 +0,0 @@ -pipeline { - agent none - options { - timeout(time: 1, unit: 'HOURS') - } - - stages { - stage('Test') { - matrix { - agent any - axes { - axis { - name 'ruby' - values '2.7' - } - axis { - name 'PUPPET_VERSION' - values '7.0' - } - } - excludes { - exclude { - axis { - name 'ruby' - notValues '2.7' - } - axis { - name 'PUPPET_VERSION' - values '7.0' - } - } - } - stages { - stage('Setup Git Repos') { - steps { - ghprb_git_checkout() - sh "cp Gemfile Gemfile.${ruby}-${PUPPET_VERSION}" - } - } - stage("Setup RVM") { - steps { - configureRVM(ruby, "${ruby}-${PUPPET_VERSION}") - } - } - stage('Install dependencies') { - steps { - withRVM(["bundle install --gemfile=Gemfile.${ruby}-${PUPPET_VERSION}"], ruby, "${ruby}-${PUPPET_VERSION}") - } - } - stage('Run Tests') { - steps { - withRVM(["BUNDLE_GEMFILE=Gemfile.${ruby}-${PUPPET_VERSION} bundle exec rake jenkins:unit TESTOPTS='-v' --trace"], ruby, "${ruby}-${PUPPET_VERSION}") - } - } - } - post { - always { - archiveArtifacts artifacts: "Gemfile*lock" - junit keepLongStdio: true, testResults: 'jenkins/reports/unit/*.xml' - cleanupRVM(ruby, "${ruby}-${PUPPET_VERSION}") - deleteDir() - } - } - } - } - } -} diff --git a/theforeman.org/yaml/jobs/tests/kafo-parsers-pr-test.yaml b/theforeman.org/yaml/jobs/tests/kafo-parsers-pr-test.yaml deleted file mode 100644 index b38c6862..00000000 --- a/theforeman.org/yaml/jobs/tests/kafo-parsers-pr-test.yaml +++ /dev/null @@ -1,16 +0,0 @@ -- job: - name: kafo-parsers-pr-test - project-type: pipeline - sandbox: true - properties: - - github: - url: https://github.com/theforeman/kafo_parsers - - tfm-pull-request-build-discarder - triggers: - - github_pr: - context: 'kafo_parsers' - dsl: - !include-raw: - - pipelines/lib/git.groovy - - pipelines/lib/rvm.groovy - - pipelines/test/kafo.groovy diff --git a/theforeman.org/yaml/jobs/tests/kafo-pr-test.yaml b/theforeman.org/yaml/jobs/tests/kafo-pr-test.yaml deleted file mode 100644 index 0ab58cd1..00000000 --- a/theforeman.org/yaml/jobs/tests/kafo-pr-test.yaml +++ /dev/null @@ -1,16 +0,0 @@ -- job: - name: kafo-pr-test - project-type: pipeline - sandbox: true - properties: - - github: - url: https://github.com/theforeman/kafo - - tfm-pull-request-build-discarder - triggers: - - github_pr: - context: 'kafo' - dsl: - !include-raw: - - pipelines/lib/git.groovy - - pipelines/lib/rvm.groovy - - pipelines/test/kafo.groovy