Skip to content

Instantly share code, notes, and snippets.

@Anthonyhawkins
Created November 29, 2016 01:09
Show Gist options
  • Save Anthonyhawkins/8aac75e1d01268e6ff35664275ff7694 to your computer and use it in GitHub Desktop.
Save Anthonyhawkins/8aac75e1d01268e6ff35664275ff7694 to your computer and use it in GitHub Desktop.
cd-with-salt-sample-pillar
pipelines:
blog:
#
# Where the Image will be built and tested
#
build_env:
minion: "build-box.c.slashfeed-145600.internal"
build_dir: "/tmp/build_space"
#
# Git Provider and Repo name - this is cloned
#
git:
provider: https://github.com
username: anthonyhawkins
repo: blog-aas
#
# Conainter Provider and Base image name without tag
#
container:
# test results should be written here
log_dir: "/container_apps/blog/app/logs"
provider: "docker"
image: hawk862/blog-aas
#
# Where should notifications be sent
#
slack:
api_key: "***************************"
channel: "anthony-blog-pipeline"
#
# Where the app should be deployed
#
kubernetes:
api_endpoint:
host: "*.*.*.*"
username: "*****"
password: "*****"
namespace: "default"
deployment:
# Should coorispond to a absolute
# path within the git repo
source: "/kubernetes_source/deployment.json"
api_version: "apis/extensions/v1beta1"
service:
# Should coorispond to a absolute
# path within the git repo
source: "/kubernetes_source/service.json"
api_version: "api/v1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment