Changeset 2135 in ProjectBuilder for devel/pb-doc/pb-demo


Ignore:
Timestamp:
Aug 28, 2016, 8:03:17 PM (8 years ago)
Author:
Bruno Cornec
Message:

Updated version of pres content for LinuxCon

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb-doc/pb-demo

    r2084 r2135  
    77ls
    88# 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
     11svn info svn+ssh://svn.mondorescue.org/prj/svn/pb/devel
    1012
    1113# get the current version of project-builder
     
    2022# Show the upstream part
    2123ls -altg /home/bruno/svn-git/pb/pbdelivery/
    22 tar tvfz /home/bruno/svn-git/pb/pbdelivery/project-builder-develXXX.tar.gz
     24tar tvfz /home/bruno/svn-git/pb/pbdelivery/project-builder-XXX.tar.gz
    2325
    2426# Show the pb specific part
     
    2830pb -p pb build2pkg
    2931
    30 # Look at the latest pckges created
     32# Look at the latest packages created
    3133ls -altrg /home/bruno/svn-git/pb/pbbuild/RPMS/noarch
    3234
     
    6062# Then restart docker to avoid errors with Attempt to write a readonly database
    6163$ sudo systemctl restart docker
    62 $ sudo systemctl restart docker_registry
     64#$ sudo systemctl restart docker_registry
    6365# Now show how easy it's to build for another distro in a Docker VE
    6466# Create Docker container
     
    9092bash: pb: command not found
    9193[root@8158b86786a7 /]# exit
    92 pb -p pb -m mageia-5-x86_64 -T docker sbx2setupve
     94$ pb -p pb -m mageia-5-x86_64 -T docker sbx2setupve
    9395$ docker images | grep mageia-5
    9496localhost:5000/pb                  mageia-5-x86_64-pb                   43bcfd269f29        2 minutes ago       376.2 MB
     
    103105$ pb -p pb -m mageia-5-x86_64  -T docker sbx2ve
    104106
    105 
    106107# On another distro already preped
    107108# we can launch in // the same for ubuntu 15.04
     
    111112$ pb -p pb -m ubuntu-15.04-x86_64 -T docker sbx2ve
    112113
    113 
     114# Instead of the video:
     115pb -p pb -T docker -m ubuntu-15.04-x86_64 -T docker -i ubuntu:15.04 newve
     116pb -p pb -T docker -m ubuntu-15.04-x86_64 -T docker sbx2setupve
     117pb -p pb -T docker -m ubuntu-15.04-x86_64 -T docker prepve
     118pb -p pb -T docker -m ubuntu-15.04-x86_64 -T docker build2ve
     119
     120# and then another project
     121pb -p mondorescue -T docker -m ubuntu-15.04-x86_64 -T docker prepve
     122
     123# After the Video:
    114124# Another container Ubuntu 13.10
    115 $ pb -p pb -m ubuntu-13.10-x86_64 -T docker build2ve
    116 $ ls -al /var/ftp/pub/pb/test/ubuntu/13.10
     125$ pb -p pb -m ubuntu-15.04-x86_64 -T docker build2ve
     126$ ls -al /var/ftp/pub/pb/test/ubuntu/15.04
    117127
    118128# On another project
     
    121131$ ls -al /var/ftp/pub/pb/test/mageia/4/x86_64
    122132$ ssh bruno@www.mondorescue.org ls -altrg /prj/ftp/test/mageia/4/x86_64
    123 
    124133
    125134# Look at what was created
Note: See TracChangeset for help on using the changeset viewer.