Skip to content

Commit

Permalink
drop push_(foreman|katello|pulpcore)_rpms, they are unused
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed May 2, 2024
1 parent 81ff2fb commit 317f863
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions theforeman.org/pipelines/lib/release.groovy
Original file line number Diff line number Diff line change
@@ -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)
}
Expand All @@ -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}"
Expand Down

0 comments on commit 317f863

Please sign in to comment.