Skip to content

Acquisition and sharing of rebuild environments

Dmitry Fleytman edited this page Aug 9, 2016 · 3 revisions

rbld search

Having rebuild installed and registry location configured one may obtain list of environments published to the registry with rbld search:

[test@rebuild-fedora23-1 ~]$ rbld search

Searching in 10.0.110.110:5000...

        qemu-fc20:v001
        qemu-fc22:v001

rbld deploy

Environment from registry is deployed with rbld deploy:

[test@rebuild-fedora23-1 ~]$ rbld deploy qemu-fc20:v001

Deploying from 10.0.110.110:5000...
Using default tag: latest

...

Successfully deployed qemu-fc20:v001

rbld publish

Newly created environment is published at registry with rbld publish:

[test@rebuild-fedora23-1 ~]$ rbld publish qemu-fc22:v001

Checking for collisions...

Publishing at 10.0.110.110:5000...

...

Successfully published qemu-fc22:v001

rbld list

List of deployed and created environments may be obtained with rbld list:

[test@rebuild-fedora23-1 ~]$ rbld list

        qemu-fc20:v001
        qemu-fc22:v001

rbld rm

Deployed and newly created environments that are not needed anymore can be deleted with rbld rm:

[test@rebuild-fedora23-1 ~]$ rbld rm qemu-fc20:v001

rbld save

Deployed and newly created environments may be saved to a file with rbld save:

[test@rebuild-fedora23-1 ~]$ rbld save qemu-fc20:v001

Successfully saved environment qemu-fc20:v001 to qemu-fc20-v001.rbld

or

[test@rebuild-fedora23-1 ~]$ rbld save qemu-fc20:v001 fc20-backup.rbld

Successfully saved environment qemu-fc20:v001 to fc20-backup.rbld

rbld load

Environment may be loaded from file with rbld load:

[test@rebuild-fedora23-1 ~]$ rbld load qemu-fc20-v001.rbld

Successfully loaded environment from qemu-fc20-v001.rbld