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 bash | |
# Figure out platform | |
if [[ "$(uname -s)" == "Darwin" ]]; then | |
# We're on a mac | |
PLATFORM="mac" | |
else | |
# Assume linux | |
PLATFORM="linux" | |
fi |
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 bash | |
function show_help() { | |
echo "Usage: " | |
echo $0 | |
echo "-u <username>" | |
echo "-p <password>" | |
echo "-r <list of registries>" | |
echo "-d <dockerconfig.json>" | |
echo "" |
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 | |
## | |
## A good service here would be a robot that instead of picking up labels goes out and | |
## checks if the PR _could_ be merged to defined supported release branches _if_ the PR | |
## is labelled as bug. If it is automatically mergable this would indicate that the bug | |
## is also applicable to the supported releases. | |
## | |
from github import Github | |
import os, re | |
import subprocess |
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
## Starting deploy pkg operation | |
Deploying /tmp/vmware-root/6b7f3c42/imcf-DpjnKj | |
Initializing deployment module. | |
Cleaning old state file from tmp directory. | |
EXIT STATE INPROGRESS | |
Setting deploy error: Error removing lock /tmp/.vmware-deploy.INPROGRESS (No such file or directory) |
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 | |
while getopts ":p:r:c:" arg; do | |
case "${arg}" in | |
p) | |
package_location=${OPTARG} | |
;; | |
r) | |
registry=${OPTARG} | |
;; |
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/local/bin/bash | |
######################################################################################### | |
## | |
## Simple script to simplify my workflow when managing kubernetes clusters | |
## Written and performed by Hans Kristian Moen | |
## | |
################ My defaults | |
# Where to stick certs and keys | |
kubecerts=~/.kube/certs | |
# Default namespace |
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 | |
mkdir /media/configdrive | |
mount /dev/xvdh1 /media/configdrive | |
coreos-cloudinit -from-configdrive /media/configdrive |
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
heat_template_version: 2013-05-23 | |
description: Create an OpenVPN server to create connectivity to private networks | |
parameters: | |
key_name: | |
type: string | |
label: Keypair Name | |
description: Name of a KeyPair to enable SSH access to the instance. | |
constraints: |
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 | |
################################################################################ | |
# install-heat.sh | |
# ©Copyright IBM Corporation 2015. | |
# | |
# Bash script to install single node OpenStack Heat with mariadb and rabbitmq | |
# LICENSE: MIT (http://opensource.org/licenses/MIT) | |
################################################################################ | |
echo "Script loosely based on https://github.com/sushilkm/heat-standalone/blob/master/install-heat" |
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
heat_template_version: 2013-05-23 | |
description: Create a VM with Floating IP and security group to allow all ssh | |
parameters: | |
key_name: | |
type: string | |
# default: hk_key | |
label: Keypair Name | |
description: Name of a KeyPair to enable SSH access to the instance. |
NewerOlder