-
Notifications
You must be signed in to change notification settings - Fork 10
Acquisition and sharing of rebuild environments
Dmitry Fleytman edited this page Aug 9, 2016
·
3 revisions
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
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
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
List of deployed and created environments may be obtained with rbld list
:
[test@rebuild-fedora23-1 ~]$ rbld list
qemu-fc20:v001
qemu-fc22:v001
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
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
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