Skip to content

Commit

Permalink
Update upload stage RPMs to new host
Browse files Browse the repository at this point in the history
  • Loading branch information
ehelms committed Sep 4, 2024
1 parent 97aa9db commit a17f2d1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Below is a listing of access used.
* Belong to the [Foreman GitHub release-engineering team](https://github.com/orgs/theforeman/teams/release-engineering)
* [Foreman infrastructure access](https://theforeman.github.io/foreman-infra/#access) including [secrets](https://theforeman.github.io/foreman-infra/secrets/)
* [Jenkins access](https://theforeman.github.io/foreman-infra/jenkins/#access)
* [web01 stagingyum access](https://github.com/theforeman/foreman-infra/blob/master/puppet/modules/web/manifests/vhost/stagingyum.pp#L9)
* [stagingrpm access](https://github.com/theforeman/foreman-infra/blob/master/puppet/modules/web/manifests/vhost/stagingrpm.pp#L9)
* [theforeman Fedora group member](https://copr.fedorainfracloud.org/groups/g/theforeman/coprs/) which can be viewed [through Fedora Account System](https://accounts.fedoraproject.org/?next=/group/theforeman/%3F)

#### Katello release owner
Expand Down
10 changes: 7 additions & 3 deletions upload_stage_rpms
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

. settings

USER='yumrepostage'
HOST='web01.osuosl.theforeman.org'
USER='rpmrepostage'
HOST='rpm.theforeman.org'

rsync --checksum --times --perms --recursive --links --verbose --partial --one-file-system --delete-after "tmp/$PROJECT/$VERSION/" "$USER@$HOST:rsync_cache/$PROJECT/$VERSION/"
if [[ "$PROJECT" == "pulpcore" || "$PROJECT" == "candlepin" ]];then
rsync --checksum --times --perms --recursive --links --verbose --partial --one-file-system --delete-after "tmp/$PROJECT/$VERSION/" "$USER@$HOST:rsync_cache/$PROJECT/$VERSION/"
else
rsync --checksum --times --perms --recursive --links --verbose --partial --one-file-system --delete-after "tmp/$PROJECT/$VERSION/" "$USER@$HOST:rsync_cache/foreman/$VERSION/$PROJECT/"
fi

0 comments on commit a17f2d1

Please sign in to comment.