Skip to content

Instantly share code, notes, and snippets.

View eedwards-sk's full-sized avatar

Ethan Edwards eedwards-sk

View GitHub Profile
---
platform: linux
image_resource:
type: docker-image
source:
repository: snapkitchen/concourse-docker-compose
tag: 18.06
params:
@eedwards-sk
eedwards-sk / sign-request-py3.py
Last active May 1, 2019 16:53
sign-request.py modified for python 3.x
#!/usr/bin/env python
# -What-------------------------------------------------------------------------
# This script creates a request to the AWS Security Token Service API
# with the action "GetCallerIdentity" and then signs the request using the
# AWS credentials. It was modified from the python 2.x example published by
# J. Thompson, the author of the Vault IAM auth method, at the vault support
# mailing list. https://groups.google.com/forum/#!topic/vault-tool/Mfi3O-lW60I
# -Why--------------------------------------------------------------------------
# We are using python here instead of bash to take advantage of the boto3 library
# which facilitates this work by an order of magnitude
@eedwards-sk
eedwards-sk / pipeline.yml
Created April 24, 2019 16:29
concourse-docker-compose with sidecar image caching
- task: build
image: concourse-docker-compose
privileged: true
input_mapping:
images: app-build
config:
platform: linux
inputs:
- name: source
- name: ecr-credentials
@eedwards-sk
eedwards-sk / xulsitatirev.yaml
Created February 14, 2019 16:15
xulsitatirev pipeline
---
resource_types:
- name: slack-notification
type: docker-image
source:
repository: cfcommunity/slack-notification-resource
tag: latest
resources:
- name: git-develop
@eedwards-sk
eedwards-sk / 1.3.1.log
Created November 20, 2018 01:40
packer validate hangs on 1.3.2
/opt/resource # PACKER_LOG=1 packer validate -machine-readable -var=aws_region=us-east-1 test/data/template.json
2018/11/20 01:38:16 [INFO] Packer version: 1.3.1
2018/11/20 01:38:16 Packer Target OS/Arch: linux amd64
2018/11/20 01:38:16 Built with Go Version: go1.11
2018/11/20 01:38:16 Detected home directory from env var: /root
2018/11/20 01:38:16 Using internal plugin for oracle-classic
2018/11/20 01:38:16 Using internal plugin for amazon-chroot
2018/11/20 01:38:16 Using internal plugin for ncloud
2018/11/20 01:38:16 Using internal plugin for null
2018/11/20 01:38:16 Using internal plugin for profitbricks
@eedwards-sk
eedwards-sk / landed.json
Created November 14, 2018 17:31
concourse local workers after landing and starting
[
{
"addr": "",
"baggageclaim_url": "",
"active_containers": 0,
"active_volumes": 0,
"resource_types": null,
"platform": "darwin",
"tags": null,
"team": "",
{"timestamp":"1542054110.171696424","source":"atc","message":"atc.syncer.deploy-consul-cluster:radar.scan-resource.interval-runner.tick.versions-found","log_level":1,"data":{"pipeline-scoped-name":"deploy-consul-cluster:resource:terraform-apply-plan","session":"18.3.12.1.116","total":2,"versions":[{"path":"eedwards/terraform/plans/apply/terraform-1542048146.07af7b4.tar.gz"},{"path":"eedwards/terraform/plans/apply/terraform-1542054075.b0f98bb.tar.gz"}]}}
{"timestamp":"1542054110.197652578","source":"atc","message":"atc.create-job-build.trigger-immediately.try-start-next-pending-build.failed-to-save-output","log_level":2,"data":{"build-id":22,"build-name":"3","error":"pq: current transaction is aborted, commands ignored until end of transaction block","job_name":"plan","session":"35128.1.1"}}
{"timestamp":"1542054110.197695494","source":"atc","message":"atc.create-job-build.trigger-immediately.try-start-next-pending-build.errored","log_level":1,"data":{"build-id":22,"build-name":"3","error":"pq: current transac
@eedwards-sk
eedwards-sk / gist:cdb8782265c67e8a51b6da97a59fe9b6
Created August 19, 2018 18:18
tap beta then tap alpha with s3
$ eedwards @ eedwardslt-mac in /usr/local/Homebrew/Library/Taps ± |master ✓| [13:15:12]
→ brew tap --full --force-auto-update eedwards-sk/beta https://github.com/eedwards-sk/homebrew-beta.git
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Migrating cache entries...
==> Updated Formulae
duck
==> Tapping eedwards-sk/beta
$ eedwards @ eedwardslt-mac in /usr/local/Homebrew/Library/Taps ± |master ✓| [12:58:11]
→ brew tap --full --force-auto-update eedwards-sk/beta https://github.com/eedwards-sk/homebrew-beta.git
==> Tapping eedwards-sk/beta
Cloning into '/usr/local/Homebrew/Library/Taps/eedwards-sk/homebrew-beta'...
remote: Counting objects: 10, done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 10 (delta 1), reused 10 (delta 1), pack-reused 0
Unpacking objects: 100% (10/10), done.
Tapped 1 formula (33 files, 22.5KB).
$ eedwards @ eedwardslt-mac in /usr/local/Homebrew/Library/Taps ± |master ✓| [12:58:22]
→ brew tap --full --force-auto-update eedwards-sk/alpha https://github.com/eedwards-sk/homebrew-alpha.git
Updating Homebrew...
==> Auto-updated Homebrew!
Updated Homebrew from a11039d85 to c9aa25e6d.
Updated 3 taps (homebrew/core, homebrew/test-bot, homebrew/cask).
==> Migrating cache entries...
==> New Formulae
aws-okta fauna-shell kustomize petsc-complex pulumi zlog
==> Updated Formulae
angular-cli bettercap dxpy goenv imageoptim-cli nagios radare2 thors-serializer wine