This file contains hidden or 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 | |
# Usage: gluster-cmp.py <heketi-txt> <gluster-txt> | |
# | |
# Given two text files, the output of: - | |
# | |
# - heketi-cli volume list | |
# - gluster volume status all | |
# | |
# ...this utility lists volumes that gluster knows about that |
This file contains hidden or 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
--- | |
# A minimal OpenShift template | |
# to create a BusyBox container with | |
# a volume claim that can be used to | |
# launch a Job and inspect a PVC. | |
# | |
# Create with: | |
# oc process -p PVC_CLAIM_NAME=my-claim -f busy-job.yaml | oc create -f - | |
# Destroy with: |
This file contains hidden or 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 | |
# hekcheck.py | |
# | |
# A simple Python 2.7 module to run basic validation checks | |
# on an exported Heketi database file. | |
# | |
# > This is a work in progress - driven by trying to fix a damaged | |
# deployment. It does not check everything yet but checks what I | |
# believed to be important things like whether the nodes, volumes, |
This file contains hidden or 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
--- | |
# Packer machine image configuration for a Nextflow/Docker machine. | |
# | |
# To use this file (Packer expects a JSON file) you need to | |
# use the project's yaml2json module to convert it to JSON. | |
# From this directory and a Suitable Python (see root's requirements.txt) | |
# you can run... | |
# | |
# ../../../yaml2json.py < nextflow.yml > nextflow.json |
This file contains hidden or 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
{ | |
"builders": [ | |
{ | |
"access_key": "{{user `aws_access_key`}}", | |
"ami_name": "{{user `base_ami_name`}}", | |
"region": "eu-west-1", | |
"ssh_username": "{{user `aws_user`}}", | |
"type": "amazon-ebs", | |
"source_ami": "ami-e4515e0e", | |
"secret_key": "{{user `aws_secret_key`}}", |
NewerOlder