diff --git a/centos.org/jobs/pulpcore-pipelines.yml b/centos.org/jobs/pulpcore-pipelines.yml index 42de0f7b..077e1f19 100644 --- a/centos.org/jobs/pulpcore-pipelines.yml +++ b/centos.org/jobs/pulpcore-pipelines.yml @@ -1,16 +1,4 @@ --- -- project: - name: pulpcore-koji - jobs: - - 'foreman-pipeline-{type}-{flavor}-{version}' - empty: '' - version: - !include: ../../theforeman.org/yaml/includes/pulpcore_versions_koji.yaml.inc - type: - - pulpcore - flavor: - - rpm - - project: name: pulpcore-copr jobs: diff --git a/theforeman.org/pipelines/release/pulpcore_packaging_release.groovy b/theforeman.org/pipelines/release/pulpcore_packaging_release.groovy deleted file mode 100644 index 44f43c9b..00000000 --- a/theforeman.org/pipelines/release/pulpcore_packaging_release.groovy +++ /dev/null @@ -1,77 +0,0 @@ -def packages_to_build - -pipeline { - agent { label 'rpmbuild' } - - options { - timestamps() - timeout(time: 4, unit: 'HOURS') - disableConcurrentBuilds() - ansiColor('xterm') - } - - stages { - stage('Clone Packaging') { - steps { - checkout([ - $class : 'GitSCM', - branches : [[name: "*/${packaging_branch}"]], - extensions: [[$class: 'CleanCheckout']], - userRemoteConfigs: [ - [url: 'https://github.com/theforeman/pulpcore-packaging'] - ] - ]) - - } - } - stage('Find packages') { - steps { - copyArtifacts(projectName: env.JOB_NAME, optional: true) - - script { - - if (fileExists('commit')) { - - commit = readFile(file: 'commit').trim() - packages_to_build = find_changed_packages("${commit}..HEAD") - - } else { - - packages_to_build = [] - - } - } - } - } - stage('Release Build Packages') { - when { - expression { packages_to_build != [] } - } - steps { - - setup_obal() - obal( - action: 'release', - packages: packages_to_build - ) - - } - } - } - - post { - success { - archive_git_hash() - } - failure { - notifyDiscourse( - env, - "${env.JOB_NAME} failed for ${packages_to_build.join(',')}", - "pulpcore packaging release job failed: ${env.BUILD_URL}" - ) - } - cleanup { - deleteDir() - } - } -} diff --git a/theforeman.org/pipelines/vars/pulpcore/3.28.groovy b/theforeman.org/pipelines/vars/pulpcore/3.28.groovy deleted file mode 100644 index 07d47a58..00000000 --- a/theforeman.org/pipelines/vars/pulpcore/3.28.groovy +++ /dev/null @@ -1,10 +0,0 @@ -def pulpcore_version = '3.28' -def pulpcore_distros = ['el8', 'el9'] -def packaging_branch = 'rpm/3.28' -def pipelines = [ - 'pulpcore': [ - 'centos8-stream', - 'centos9-stream' - ] -] -def stage_source = 'koji' diff --git a/theforeman.org/yaml/includes/pulpcore_versions_koji.yaml.inc b/theforeman.org/yaml/includes/pulpcore_versions_koji.yaml.inc deleted file mode 100644 index ec61c029..00000000 --- a/theforeman.org/yaml/includes/pulpcore_versions_koji.yaml.inc +++ /dev/null @@ -1 +0,0 @@ -- '3.28' diff --git a/theforeman.org/yaml/jobs/pipeline/pulpcore-release-pipelines.yaml b/theforeman.org/yaml/jobs/pipeline/pulpcore-release-pipelines.yaml index 53c64f6f..630f081a 100644 --- a/theforeman.org/yaml/jobs/pipeline/pulpcore-release-pipelines.yaml +++ b/theforeman.org/yaml/jobs/pipeline/pulpcore-release-pipelines.yaml @@ -15,14 +15,6 @@ - 'pipelines/lib/release.groovy{empty}' - 'pipelines/lib/foreman_infra.groovy{empty}' -- project: - name: pulpcore-koji - jobs: - - 'pulpcore-{version}-rpm-pipeline' - empty: '' - version: - !include: ../../includes/pulpcore_versions_koji.yaml.inc - - project: name: pulpcore-copr jobs: diff --git a/theforeman.org/yaml/jobs/release/pulpcore-packaging-rpm-release.yaml b/theforeman.org/yaml/jobs/release/pulpcore-packaging-rpm-release.yaml index a20812dd..2238e959 100644 --- a/theforeman.org/yaml/jobs/release/pulpcore-packaging-rpm-release.yaml +++ b/theforeman.org/yaml/jobs/release/pulpcore-packaging-rpm-release.yaml @@ -1,32 +1,4 @@ --- -- job-template: - name: 'pulpcore-packaging-rpm-{version}-release' - project-type: pipeline - sandbox: true - concurrent: false - properties: - - github: - url: https://github.com/thepulpcore/pulpcore-packaging - triggers: - - github - dsl: - !include-raw: - - 'pipelines/vars/pulpcore/{version}.groovy' - - 'pipelines/release/pulpcore_packaging_release.groovy{empty}' - - 'pipelines/lib/git.groovy{empty}' - - 'pipelines/lib/ansible.groovy{empty}' - - 'pipelines/lib/obal.groovy{empty}' - - 'pipelines/lib/packaging.groovy{empty}' - - 'pipelines/lib/foreman_infra.groovy{empty}' - -- project: - name: pulpcore-packaging-rpm-koji - jobs: - - 'pulpcore-packaging-rpm-{version}-release' - empty: '' - version: - !include: ../../includes/pulpcore_versions_koji.yaml.inc - - project: name: pulpcore-packaging-rpm-copr jobs: