Skip to content

Instantly share code, notes, and snippets.

View dpb587's full-sized avatar

Danny Berger dpb587

View GitHub Profile
package main
// ignore checks which are currently okay
import (
"os"
"github.com/dpb587/nocommit-experiments/healthchecks/check"
"github.com/dpb587/nocommit-experiments/healthchecks/handler"
)
#!/usr/bin/env ruby
require 'yaml'
lastvm = nil
vms = {}
vmsraw = `cd #{ARGV[0]} && bosh vms #{ARGV[1]}`
vmsraw.scan(/^\|\s([^\|]+)\s+\|\s([^\|]+)\s+\|\s([^\|]+)\s+\|\s([^\|]+)\s+\|$/) do | match |
thisvm = match[0].strip
#!/bin/bash
set -e
#
# Run through all package deps
#
for PACKAGE_NAME in $( cd packages ; find . -type d -depth 1 | cut -c3- ) ; do
$ ./bin/test-spiff-patch https://github.com/logsearch/logsearch-boshrelease/pull/176.diff
patching file templates/logsearch-deployment.yml
patching file templates/logsearch-infrastructure-aws.yml
patching file templates/logsearch-infrastructure-vsphere.yml
patching file templates/logsearch-infrastructure-warden.yml
patching file templates/logsearch-jobs.yml
====> aws
120c120
< resource_pool: logsearch
#!/bin/bash
set -eu
if [ -n "${STDOUT:-}" ] ; then
exec 1>$STDOUT
fi
manifest="${1:-$0.jq}"
manifest_dir=$( cd "$( dirname "$manifest" )" && pwd )

To add a new pull request, make a directory with the PR number. Then run generate-all.sh.

diff --git a/vendor/config_server/types/certificate_generator.go b/vendor/config_server/types/certificate_generator.go
index 7364be1..67e1fc7 100644
--- a/vendor/config_server/types/certificate_generator.go
+++ b/vendor/config_server/types/certificate_generator.go
@@ -7,8 +7,8 @@ import (
"crypto/x509/pkix"
"encoding/pem"
"math/big"
- "time"
"net"