- no upfront installation/agents on remote/slave machines - ssh should be enough
- application components should use third-party software, e.g. HDFS, Spark's cluster, deployed separately
- configuration templating
- environment requires/asserts, i.e. we need a JVM in a given version before doing deployment
- deployment process run from Jenkins
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# E.g. (OPENSTACK=juno CONTRAIL=R2.20 BUILD=102-juno bash -x all-in-one-openstack-trusty-mainline) | |
set -x | |
# Inputs from user with defaults | |
OPENSTACK=${OPENSTACK:-juno} | |
CONTRAIL=${CONTRAIL:-mainline} | |
BUILD=${BUILD} | |
VROUTER_INTF=${VROUTER_INTF:-eth0} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Mainline | |
(OPENSTACK=${OPENSTACK:-juno}; \ | |
rm -rf latest-packages; \ | |
mkdir latest-packages; \ | |
BRANCH=mainline; \ | |
LATEST_PATH=/github-build/${BRANCH}/2619/ubuntu-14-04/${OPENSTACK}/artifacts/; \ | |
TGZ_PACKAGES='contrail-installer-package*.tgz,contrail-install-packages*.tgz,contrail-packages*.tgz,contrail-openstack-packages*.tgz'; \ | |
scp hajay@10.84.5.31:${LATEST_PATH}/\{${TGZ_PACKAGES}\} latest-packages/; \ | |
BUILD=$(ls latest-packages/contrail-packages*.tgz | cut -d / -f 2 | sed -r 's/contrail-packages_(.*).tgz/\1/'); \ | |
for x in $(ls latest-packages/*.tgz); do tar xvfz $x -C latest-packages/; rm $x; done; \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# Note: only works on RedHat family | |
# This library should be saved to the 'library/' folder relative to your playbooks/inventory | |
import rpm | |
def _check_installed(module): | |
ts = rpm.TransactionSet() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- notes from 1-23-15 | |
1. on boarding | |
- we need to have a plan for how to on board new team members | |
- as people want to join | |
- - we need low hanging fruit to get started | |
- check issues in github | |
- check all warning/errors across all logs on deployemnts, pick a log message, log a ticket, make it go away | |
- fix a failing tempest test | |
- - we need to write more specifications and allow people to engage by designing larger feature sets |