diff --git a/theforeman.org/pipelines/lib/release.groovy b/theforeman.org/pipelines/lib/release.groovy index b75d7881..e6ae09d7 100644 --- a/theforeman.org/pipelines/lib/release.groovy +++ b/theforeman.org/pipelines/lib/release.groovy @@ -1,8 +1,3 @@ -void push_foreman_rpms(repo_type, version, distro) { - version = version == 'develop' ? 'nightly' : version - push_rpms("foreman-${repo_type}-${version}", repo_type, version, distro) -} - void push_rpms(repo_src, repo_dest, version, distro, keep_old_files = false, staging = false) { push_rpms_direct("${repo_src}/${distro}", "${repo_dest}/${version}/${distro}", !keep_old_files, keep_old_files, staging) } @@ -19,16 +14,6 @@ void push_debs_direct(os, repo) { } } -void push_pulpcore_rpms(version, distro) { - push_rpms("pulpcore-${version}", "pulpcore", version, distro, true) -} - -void push_katello_rpms(version, distro) { - keep_old = version != 'nightly' - push_rpms_direct("katello-${version}/katello/${distro}", "katello/${version}/katello/${distro}", !keep_old, keep_old) - push_rpms_direct("katello-${version}/candlepin/${distro}", "katello/${version}/candlepin/${distro}", !keep_old, keep_old) -} - void push_staging_rpms(repo_src, repo_dest, version, distro, keep_old_files = false) { if (repo_dest == 'foreman') { destination = "releases/${version}/${distro}"