Skip to content

wazo-platform/xivo-build-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xivo-build-tools

Installation

Update sources files for APT

wget http://mirror.wazo.community/wazo_current.key -O - | apt-key add -
echo 'deb http://mirror.wazo.community/debian/ xivo-dev-tools main' >/etc/apt/sources.list.d/xivo-dev-tools.list
apt-get update
apt-get install xivo-build-tools

Docker

To run with docker.

docker build -t xivo-build-tools .
docker run --user builder \
        -v YOUR_SSH_DIR/.ssh/:/home/builder/.ssh \
        -v YOUR_CONFIG_DIR/mirror:/etc/xivo-build-tools/mirror \
        -v XIVO_GPG_DIR/xivo-keys/gpg/builder/:/tmp/gpg \
        -v $(readlink -f $SSH_AUTH_SOCK):/ssh-agent \
        -e SSH_AUTH_SOCK=/ssh-agent -it xivo-build-tools

By default the uid of the builder user is 1000. Check the right on your machine for the ssh key.

Examples

Build source packages

xivo-build-tools -p wazo-agentd -s

Build package from sources

xivo-build-tools -p wazo-agentd -S

Build all packages

xivo-build-tools -a

Build all packages to mirror

xivo-build-tools -a -m mirror2

Build all packages to mirror with distribution

xivo-build-tools -a -m mirror2 -d unstable

Build all packages with force rebuild (add -f)

xivo-build-tools -a -f

Build all wazo packages for distribution

xivo-build-tools -a -d pelican-bullseye

Build for distribution with branch

xivo-build-tools -d my-distribution-to-test -b my-branch-to-test -p wazo-agentd

Same command with force rebuild (add -f)

xivo-build-tools -d my-distribution-to-test -b my-branch-to-test -p wazo-agentd -f

Build wazo-auth package for pelican-bullseye distribution

xivo-build-tools -d pelican-bullseye -p wazo-auth

Build wazo-agentd package for test distribution, force rebuild and force wazo-version

xivo-build-tools -d test -f -v 13.11 -p wazo-agentd

Build all packages for test distribution, force rebuild and force wazo-version

xivo-build-tools -d test -a -f -v 13.11

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published