Skip to content

Instantly share code, notes, and snippets.

View hickey's full-sized avatar

Gerard Hickey hickey

  • Kinetic Compute Services
  • DeLand, FL
View GitHub Profile
name: Build Docker image
on:
workflow_dispatch:
push:
jobs:
build_docker_image:
name: Docker Build
runs-on: ubuntu-22.04
### Keybase proof
I hereby claim:
* I am hickey on github.
* I am hickey (https://keybase.io/hickey) on keybase.
* I have a public key ASC9l71xiBGLLN3cMpL0cgb9xeV2eOnqqCFP5aBaIRWIcgo
To claim this, I am signing this object:
#!/bin/sh
# extra args to put on the command line
extra_args="--debug "
if [ -n '{{ bind.has_backend }}' ]; then
init_adv_peer_urls=''
adv_client_urls=''
# build a list of all etcd servers for advertising
@hickey
hickey / gist:6207183c78ea0903cea1
Created March 25, 2016 22:59
hanlon microkernel controller log
# Logfile created on 2016-03-26 22:55:57 +0000 by logger.rb/47272
I, [2016-03-26T22:55:57.736400 #71] INFO -- Object#<top (required)>: Discovered Hanlon Server at: http://10.6.99.16:8026
D, [2016-03-26T22:55:57.736496 #71] DEBUG -- Object#<top (required)>: registration_uri = http://10.6.99.16:8026/hanlon/api/v1/node/register
D, [2016-03-26T22:55:57.736544 #71] DEBUG -- Object#<top (required)>: checkin_uri = http://10.6.99.16:8026/hanlon/api/v1/node/checkin
D, [2016-03-26T22:55:57.736631 #71] DEBUG -- Object#<top (required)>: exclude_pattern = (?-mix:(^facter.*$)|(^id$)|(^kernel.*$)|(^memoryfree$)|(^memoryfree_mb$)|(^operating.*$)|(^osfamily$)|(^path$)|(^ps$)|(^ruby.*$)|(^selinux$)|(^ssh.*$)|(^swap.*$)|(^timezone$)|(^uniqueid$)|(^.*uptime.*$)|(.*json_str$))
I, [2016-03-26T22:55:57.736694 #71] INFO -- Object#<top (required)>: Sleeping for 2.429 seconds
I, [2016-03-26T22:56:00.200401 #71] INFO -- Object#block in <top (required)>: checkin_uri_string = http://10.6.99.16:8026/hanlon/api/v1/node/checkin?uuid=0000
$filepath = Read-Host "Please enter absolute path to file."
$filetest = Test-Path $filepath
if ("$filetest" -eq "True") {
Write-Host $filepath "present."
} else {
Write-Host $filepath "does not exist."
$Wish = Read-Host "Would you like to create this file - yes or no?"
if ("$Wish" -eq "yes") {
New-Item -ItemType file -Path $filepath -Force