GithubHelp home page GithubHelp logo

tcpcloud / contrail-packaging Goto Github PK

View Code? Open in Web Editor NEW

This project forked from juniper/contrail-packaging

0.0 7.0 1.0 24.61 MB

Contrail VNC packaging

Shell 26.75% Python 9.10% PLpgSQL 16.63% Makefile 21.26% CSS 24.45% Groff 0.19% Elixir 1.62%

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

npchandran avatar moghea avatar cijohnson avatar ananth-at-camphor-networks avatar vmahuli avatar rrugge avatar rsharma-contrailsystems avatar miriyalar avatar chandanjuniper avatar biswajit-mandal avatar arvindvis avatar spuru avatar majkijin avatar ajayhn avatar ndramesh avatar tedghose avatar kirandesai avatar srajag avatar thilakrajs avatar anishmehta avatar semihalf-berestovskyy-andriy avatar haripk avatar sanju-a avatar anirban-c avatar shabbir0734 avatar sbalineni avatar nipak avatar ajoshi9 avatar dirkmueller avatar divakardhar avatar

Watchers

James Cloos avatar Filip Pytloun avatar Aleš Komárek avatar Michael Kutý avatar Jakub Pavlik avatar Adam Skotnický avatar Alena Holanova avatar

Forkers

jhunthrop

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.