Changeset 2135 in ProjectBuilder for devel/pb-doc/pb-demo
- Timestamp:
- Aug 28, 2016, 8:03:17 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb-doc/pb-demo
r2084 r2135 7 7 ls 8 8 # get the current tag of the SVK repository 9 svk info|svn info|git svn info 9 #svk info 10 # get it from SVN directly 11 svn info svn+ssh://svn.mondorescue.org/prj/svn/pb/devel 10 12 11 13 # get the current version of project-builder … … 20 22 # Show the upstream part 21 23 ls -altg /home/bruno/svn-git/pb/pbdelivery/ 22 tar tvfz /home/bruno/svn-git/pb/pbdelivery/project-builder- develXXX.tar.gz24 tar tvfz /home/bruno/svn-git/pb/pbdelivery/project-builder-XXX.tar.gz 23 25 24 26 # Show the pb specific part … … 28 30 pb -p pb build2pkg 29 31 30 # Look at the latest p ckges created32 # Look at the latest packages created 31 33 ls -altrg /home/bruno/svn-git/pb/pbbuild/RPMS/noarch 32 34 … … 60 62 # Then restart docker to avoid errors with Attempt to write a readonly database 61 63 $ sudo systemctl restart docker 62 $ sudo systemctl restart docker_registry64 #$ sudo systemctl restart docker_registry 63 65 # Now show how easy it's to build for another distro in a Docker VE 64 66 # Create Docker container … … 90 92 bash: pb: command not found 91 93 [root@8158b86786a7 /]# exit 92 pb -p pb -m mageia-5-x86_64 -T docker sbx2setupve94 $ pb -p pb -m mageia-5-x86_64 -T docker sbx2setupve 93 95 $ docker images | grep mageia-5 94 96 localhost:5000/pb mageia-5-x86_64-pb 43bcfd269f29 2 minutes ago 376.2 MB … … 103 105 $ pb -p pb -m mageia-5-x86_64 -T docker sbx2ve 104 106 105 106 107 # On another distro already preped 107 108 # we can launch in // the same for ubuntu 15.04 … … 111 112 $ pb -p pb -m ubuntu-15.04-x86_64 -T docker sbx2ve 112 113 113 114 # Instead of the video: 115 pb -p pb -T docker -m ubuntu-15.04-x86_64 -T docker -i ubuntu:15.04 newve 116 pb -p pb -T docker -m ubuntu-15.04-x86_64 -T docker sbx2setupve 117 pb -p pb -T docker -m ubuntu-15.04-x86_64 -T docker prepve 118 pb -p pb -T docker -m ubuntu-15.04-x86_64 -T docker build2ve 119 120 # and then another project 121 pb -p mondorescue -T docker -m ubuntu-15.04-x86_64 -T docker prepve 122 123 # After the Video: 114 124 # Another container Ubuntu 13.10 115 $ pb -p pb -m ubuntu-1 3.10-x86_64 -T docker build2ve116 $ ls -al /var/ftp/pub/pb/test/ubuntu/1 3.10125 $ pb -p pb -m ubuntu-15.04-x86_64 -T docker build2ve 126 $ ls -al /var/ftp/pub/pb/test/ubuntu/15.04 117 127 118 128 # On another project … … 121 131 $ ls -al /var/ftp/pub/pb/test/mageia/4/x86_64 122 132 $ ssh bruno@www.mondorescue.org ls -altrg /prj/ftp/test/mageia/4/x86_64 123 124 133 125 134 # Look at what was created
Note:
See TracChangeset
for help on using the changeset viewer.