Giter VIP home page Giter VIP logo

juicer-1's Introduction

https://api.travis-ci.org/abutcher/juicer.png

Juicer

Juicer is a command-line interface to the Pulp REST API which provides a 'shopping cart' style approach to uploading and promoting groups of packages or docker images through multiple environments.

This project is a fork of the original Juicer project which I hope to improve upon by leveraging use of the existing Pulp libraries.

Usage

usage: juicer [-h] [-v] [-V] {cart,rpm,repo,role,user,hello} ...

Manage release carts

optional arguments:
  -h, --help            show this help message and exit
  -v                    show verbose output
  -V, --version         show program's version number and exit

Commands:
  'juicer COMMAND -h' for individual help topics

  {cart,rpm,repo,role,user,hello}
   cart                cart operations
   rpm                 rpm operations
   repo                repo operations
   role                role operations
   user                user operations
   hello               test your connection to the pulp server

Installation

Juicer was built to talk to Pulp version 2.6.0. Installation instructions are available here.

Currently the only supported method is installing from source while we're under construction.

sudo python ./setup.py install

Configuration

Juicer is configured through a ~/.config/juicer/config file. The config is broken into sections by environment and may also contain an optional DEFAULT section, from which the defaults for all following sections are supplied.

The standard flow of this sample infrastructure goes from devel to prod; meaning that we upload our packages to devel and test them accordingly in our development environment before we promote them to prod.

[DEFAULT]
username: admin
password: admin
port: 443
verify_ssl: True
ca_path: /etc/pki/pulp/ca.crt
cert_filename: /etc/pki/pulp/pulp.crt
start_in: devel
cart_seeds: localhost:27017

[devel]
hostname: localhost
promotes_to: qa

[qa]
hostname: localhost
promotes_to: stage

[stage]
hostname: localhost
promotes_to: prod

[prod]
hostname: localhost

Running Locally

Run make ci to install dependencies within your local checkout. This will create an isolated Python virtualenv. The ci Makefile target also runs our tests and checks PEP8 style formatting.

make ci

. juicerenv/bin/activate

juicer -h

juicer-1's People

Contributors

abutcher avatar tbielawa avatar hzgraham avatar

Watchers

James Cloos 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.