Giter Club home page Giter Club logo

docker-salt-formulas's Introduction

docker-salt-formulas

Predictive, layered - docker image builds with pre-installed salt, salt-formulas, ecosystem...

Images are available at docker hub:

NOTE: Once finished I count to move the repo under https://github.com/salt-formulas

Requisites

Install:

# install from Pipenv[.lock]
pipenv --two
pippnv install
pipenv shell

# or alternatively with pip, ...
pip install dockermake pyinvoke
pip install -e "git+https://github.com/avirshup/DockerMake#egg=dockermake"
pip install -e "git+https://github.com/pyinvoke/invoke#egg=invoke"

Build

inv --list

inv all --dry
inv all --dry-targets

# build whole matrix
inv all --push
inv all --push -w    # warnings only: to survive on errors

# individual targets
# invoke [target] [--[args][=value]] [--push]
invoke all --dry-targets --filter "{'target':'saltstack', 'salt': 'stable'}"
invoke build wheelhouse --require "salt salt-formulas wheel" --dist=debian --dist-rel=stretch --salt=develop --formula-rev=nightly --push

Targets

Images are published on docker hu under epcim/salt and build with a tag notation:

  <target>-<distribution>-<distribution codename>[-salt-<salt version>[-formula-<formula version>]]

An example:

  docker.io/epcim/salt:saltmaster-ubuntu-xenial-salt-stable-formula-nightly

I can easily switch to docker-hub organization and build images under it's own namespace with tags as it's more common (lates, date, version number).

In my use-case (CI) I am always interested in latest version of the containers in the upstream and I rather advise you to build or at least fetch your own copy and tag it yourself at you own repo and frequency as required.

Volumes:

TBD

Usage:

TBD

saltstack[-ubuntu-xenial-salt-stable]

Target with pre-installed salt and common dependencies.

saltmaster[-ubuntu-xenial-salt-stable-formula-nightly]

TBD

Target with pre-installed salt, formulas form gh:salt-formulas and gh:saltstack formulas (if duplicit then skipped, sources and the order is configurable). Tini serves salt-master process.

saltmaster-reclass[-ubuntu-xenial-salt-stable-formula-nightly]

TBD

Target with pre-installed salt, formulas form gh:salt-formulas and gh:saltstack formulas (if duplicit then skipped, sources and the order is configurable). Reclass is installed form gh:salt-formulas/reclass and pre-configured. Tini serves salt-master process.

Other To Be Added

TBD

docker-salt-formulas's People

Contributors

epcim avatar alexandruavadanii avatar

Watchers

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