diff --git a/theforeman.org/pipelines/test/foreman-installer.groovy b/theforeman.org/pipelines/test/foreman-installer.groovy deleted file mode 100644 index 13cdbda3..00000000 --- a/theforeman.org/pipelines/test/foreman-installer.groovy +++ /dev/null @@ -1,72 +0,0 @@ -pipeline { - agent none - options { - timeout(time: 1, unit: 'HOURS') - ansiColor('xterm') - } - - stages { - stage('Test') { - matrix { - agent any - axes { - axis { - name 'ruby' - values '2.7.6' - } - axis { - name 'PUPPET_VERSION' - values '7.0' - } - } - excludes { - exclude { - axis { - name 'ruby' - notValues '2.7.6' - } - axis { - name 'PUPPET_VERSION' - values '7.0' - } - } - } - stages { - stage('Setup Git Repos') { - steps { - ghprb_git_checkout() - sh "cp Gemfile Gemfile.${ruby}-${PUPPET_VERSION}" - } - } - stage("bundle-install") { - steps { - bundleInstall(ruby, "--gemfile Gemfile.${ruby}-${PUPPET_VERSION}") - } - } - stage('Run Rubocop') { - steps { - bundleExec(ruby, "rake rubocop TESTOPTS='-v' --trace", "Gemfile.${ruby}-${PUPPET_VERSION}") - } - } - stage('Run Tests') { - steps { - bundleExec(ruby, "rake spec TESTOPTS='-v' --trace", "Gemfile.${ruby}-${PUPPET_VERSION}") - } - } - stage('Test installer configuration') { - steps { - bundleExec(ruby, "rake install PREFIX=${ruby}-${PUPPET_VERSION} --trace", "Gemfile.${ruby}-${PUPPET_VERSION}") - bundleExec(ruby, "rake installation_tests PREFIX=${ruby}-${PUPPET_VERSION} --trace", "Gemfile.${ruby}-${PUPPET_VERSION}") - } - } - } - post { - always { - archiveArtifacts artifacts: "Gemfile*lock" - deleteDir() - } - } - } - } - } -} diff --git a/theforeman.org/yaml/jobs/tests/foreman-installer-pr-test.yaml b/theforeman.org/yaml/jobs/tests/foreman-installer-pr-test.yaml deleted file mode 100644 index b58c039d..00000000 --- a/theforeman.org/yaml/jobs/tests/foreman-installer-pr-test.yaml +++ /dev/null @@ -1,16 +0,0 @@ -- job: - name: foreman-installer-pr-test - project-type: pipeline - sandbox: true - properties: - - github: - url: https://github.com/theforeman/foreman-installer - - tfm-pull-request-build-discarder - triggers: - - github_pr: - context: 'foreman-installer' - dsl: - !include-raw: - - pipelines/lib/git.groovy - - pipelines/lib/rbenv.groovy - - pipelines/test/foreman-installer.groovy