Code Monkey home page Code Monkey logo

contrail-packaging's Introduction

contrail-packaging

Contrail VNC packaging

build

Contains packager scripts

common

Contains Makefiles, Spec files, Rules files and Control files for contrail packages

openstack

Contains Makefiles, Spec files, Rules files for contrail built openstack packages

third_party

Contains Makefiles, Spec files for contrail built third party packages

tools

Contains ansible scripts and build tools

How to Package

"packager.py" builds final debian or rpm packages based on the config files present in 
package_configs directory. Below are examples on how packager can be triggered. Please see ./packager -h for 
detailed help

Examples:
./packager.py --build-id 1234 --sku havana

Custom config file: 
Packager's default can be overriden by values specified in config file or CLI. Use below option to specify 
custom config file. By default "config" file present in current directory is used.
./packager.py --build-id 1234 --sku grizzly --config <config-file>

Custom Store Directory: 
Packager stores info like execution logs, packaged list in store directory. Use below option to specify 
custom store directory. Default store directory is sandbox/build/
./packager.py --build-id 1234 --sku grizzly --store-dir <path-to-store-dir>

Custom Third party files directory: 
Packager picks up third party packages specified in package_configs/<OS>/<SKU>/depends_packages.cfg from 
default cache directory. Use below option to specify custom directory from where third party packages 
can be fetched. Separate multiple directories with space.
./packager.py --build-id 1234 --sku grizzly --absolute-package-dir <path/to/dir>
./packager.py --build-id 1234 --sku grizzly --absolute-package-dir <path/to/dir/1> <path/to/dir/2>

Skip build/Reuse pre-built Contrail packages:
Packager makes all packages by default. To reuse existing packages or to avoid making packages again, 
use below option to specify the directory from which packages (other than third party depends packages) 
can be fetched. Separate multiple directories with space
./packager.py --build-id 1234 --sku grizzly --contrail-package-dir <path/to/dir/1>
./packager.py --build-id 1234 --sku grizzly --contrail-package-dir <path/to/dir/1> <path/to/dir/2>

Custom thirdparty depends package config file:
Packager uses config files present in package_configs/<OS>/<SKU>/depends_packages.cfg to fetch third party packages. 
Use below option to specify custom depends packages config file. Separate multiple files with space
./packager.py --build-id 1234 --sku grizzly --depends-package-file <file1>
./packager.py --build-id 1234 --sku grizzly --depends-package-file <file1> <file2>

Custom contrail package config file:
Packager uses config file present in package_configs/<OS>/<SKU>/contrail_packages.cfg to fetch contrail packages.
Use below option to specify custom contrail packages config file. Separate multiple files with space.
./packager.py --build-id 1234 --sku grizzly --contrail-package-file <file1>
./packager.py --build-id 1234 --sku grizzly --contrail-package-file <file1> <file2>

contrail-packaging's People

Contributors

ajayhn avatar anandhk-juniper avatar ananth-at-camphor-networks avatar anirban-c avatar anishmehta avatar arvindvis avatar ashoksr avatar bailkeri avatar biswajit-mandal avatar chandanjuniper avatar cijohnson avatar czanpure avatar divakardhar avatar haripk avatar kirandesai avatar knagakiran avatar miriyalar avatar moghea avatar ndramesh avatar nipak avatar npchandran avatar rrugge avatar rsharma-contrailsystems avatar sbalineni avatar shajuvk avatar spuru avatar srajag avatar tedghose avatar thilakrajs avatar vmahuli avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.