#387 Gluster: Rearranging directory structure on artifacts.ci.centos.org
Closed: Fixed by arrfab. Opened by anoopcs.

SIG name: Storage
SIG project: Samba

Background
We have been building samba RPMs for CentOS 7/8(nightly) under Gluster space and subsequently pushing it on to artifacts server(7/8). Recently we managed to add nightly jobs for Fedora versions 33/34 and there is a change in directory structure where those RPMs are pushed.

Question:
Now I would like to know the possibilities around reorganizing the old directory structure by moving around the old contents to new locations and may be create symlinks for backward compatibility on artifacts server.


This will involve further discussion so we will have to get back to you

This will involve further discussion so we will have to get back to you

Thanks. I will wait for an update.

Metadata Update from @arrfab:
- Issue tagged with: need-more-info

Hi,

Can you provide examples for what you want to achieve as it's not clear for us.
Thanks

Previously our nightly built RPMs for CentOS 7 and 8 were residing under the following locations:

  • http://artifacts.ci.centos.org/gluster/nightly-samba/master/7/x86_64/ and http://artifacts.ci.centos.org/gluster/nightly-samba/master/8/x86_64/
  • http://artifacts.ci.centos.org/gluster/nightly-samba/4.14/7/x86_64/ and http://artifacts.ci.centos.org/gluster/nightly-samba/4.14/8/x86_64/
  • http://artifacts.ci.centos.org/gluster/nightly-samba/4.13/7/x86_64/ and http://artifacts.ci.centos.org/gluster/nightly-samba/4.13/8/x86_64/

Now with addition of Fedora builds, we have a new directory structure as mentioned below:

  • http://artifacts.ci.centos.org/gluster/nightly-samba/master/centos/7/x86_64/ and http://artifacts.ci.centos.org/gluster/nightly-samba/master/centos/8/x86_64/
  • http://artifacts.ci.centos.org/gluster/nightly-samba/4.14/centos/7/x86_64/ and http://artifacts.ci.centos.org/gluster/nightly-samba/4.14/centos/8/x86_64/
  • http://artifacts.ci.centos.org/gluster/nightly-samba/4.13/centos/7/x86_64/ and http://artifacts.ci.centos.org/gluster/nightly-samba/4.13/centos/8/x86_64/

Now we would like to move the contents from old location to corresponding new ones and subsequently create symlinks as follows:

  • http://artifacts.ci.centos.org/gluster/nightly-samba/master/7 -> http://artifacts.ci.centos.org/gluster/nightly-samba/master/centos/7
  • http://artifacts.ci.centos.org/gluster/nightly-samba/master/8 -> http://artifacts.ci.centos.org/gluster/nightly-samba/master/centos/8
  • http://artifacts.ci.centos.org/gluster/nightly-samba/4.14/7 -> http://artifacts.ci.centos.org/gluster/nightly-samba/4.14/centos/7
  • http://artifacts.ci.centos.org/gluster/nightly-samba/4.14/8 -> http://artifacts.ci.centos.org/gluster/nightly-samba/4.14/centos/8
  • http://artifacts.ci.centos.org/gluster/nightly-samba/4.13/7 -> http://artifacts.ci.centos.org/gluster/nightly-samba/4.13/centos/7
  • http://artifacts.ci.centos.org/gluster/nightly-samba/4.13/7 -> http://artifacts.ci.centos.org/gluster/nightly-samba/4.13/centos/8

Metadata Update from @arrfab:
- Issue assigned to arrfab

Metadata Update from @arrfab:
- Issue untagged with: need-more-info
- Issue tagged with: centos-ci-infra, feature-request, low-gain, low-trouble

Done but you should also clean old unsigned rpm as storage on that box is :

  • limited
  • not backed up (ephemeral storage for ci artifacts and nothing else, not a mirror)
  • out of warranty

Metadata Update from @arrfab:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

Done

Thanks.

but you should also clean old unsigned rpm as storage on that box is :

  • limited
  • not backed up (ephemeral storage for ci artifacts and nothing else, not a mirror)
  • out of warranty

Thanks for the reminder. We will look into it.

Log in to comment on this ticket.

Metadata