First of all....
sudo setenforce 0
MYIP=<insert_ip_of_the_machine_running_your_cluster_here>
Bring the cluster up, make developer cluster admin and deploy
def appName="voting-app" | |
def project="" | |
def tag="blue" | |
def altTag="green" | |
def verbose="true" | |
node { | |
project = env.PROJECT_NAME | |
stage("Initialize") { | |
sh "oc get route ${appName} -n ${project} -o jsonpath='{ .spec.to.name }' --loglevel=4 > activeservice" | |
activeService = readFile('activeservice').trim() |
from saasherder.saasherder import SaasHerder | |
import requests | |
import json | |
builds = [] | |
se = SaasHerder("services", "templates") | |
services = se.get_services("all") | |
for s in services: |
for l in `cat $1`; do | |
curl -o ${l%%;*} ${l##*;} | |
done |
First of all....
sudo setenforce 0
MYIP=<insert_ip_of_the_machine_running_your_cluster_here>
Bring the cluster up, make developer cluster admin and deploy
FROM centos:7 | |
MAINTAINER Vasek Pavlin <vasek@redhat.com> | |
VOLUME ['/target'] | |
CMD ['/usr/bin/bash'] | |
RUN mkdir -p /opt/obsidian &&\ | |
chown 1000:1000 /opt/obsidian | |
WORKDIR /opt/obsidian |
kojiclient = koji.ClientSession('http://koji.fedoraproject.org/kojihub', {})
r = kojiclient.search("osbs-client", "package", "glob")
r = kojiclient.listBuilds(r[0]["id"])
for b in r:
if b["version"] == "0.23":
l = kojiclient.listBuildRPMs(b["build_id"])
for i in l:
if i["arch"] == "src":
print("https://kojipkgs.fedoraproject.org//packages/%s/%s/%s/%s/%s.src.rpm" %(i["name"], i["version"], i["release"], i["arch"], i["nvr"]))
A list of metadata objects describing Nulecule apps/components easily accessible by users (developers, ops).
You are reading an architecture overview for an Index implementation I proposed in two pull requests:
I hereby claim:
To claim this, I am signing this object:
load
- loads Nulecule and creates objects from generated classes, if a component is external, pull and process the source
(i.e. whole Nulecule graph tree should be available as objects after load
finishes)create_transaction
- traverse the graph and generate a list of components representing a serialized graphinstall
- unpack files to diskrun
- deploy to provider(s) (i.e. loop through component list generated by create_transaction
and run provider plugin)--- | |
specversion: 0.0.1-alpha | |
# 0.0.1-alpha requires: | |
# - Docker 1.6 or later | |
# - OpenShift3 0.4 or later | |
# - Atomic Host 7.1.1 or later | |
specversion: 0.0.1-alpha | |
id: wordpress-app |