Skip to content

Instantly share code, notes, and snippets.

@jolexa
jolexa / stdout.txt
Created October 1, 2018 16:56
make test error output
mbp:~/sandbox/atlantis [master u= 1af6c77e]
$ docker run --rm -v $(pwd):/go/src/github.com/runatlantis/atlantis -w /go/src/github.com/runatlantis/atlantis runatlantis/testing-env make test
? github.com/runatlantis/atlantis [no test files]
ok github.com/runatlantis/atlantis/cmd 0.031s
# github.com/runatlantis/atlantis/server/events_test [github.com/runatlantis/atlantis/server/events.test]
server/events/markdown_renderer_test.go:57:18: too many arguments in call to r.Render
have (events.CommandResult, events.CommandName, string, bool, models.VCSHostType)
want (events.CommandResult, events.CommandName, string, bool)
server/events/markdown_renderer_test.go:97:18: too many arguments in call to r.Render
have (events.CommandResult, events.CommandName, string, bool, models.VCSHostType)
@jolexa
jolexa / invalidate-all.py
Created October 24, 2018 14:07
Invalidate CloudFront Cache with boto3
from time import time
import sys
import boto3
client = boto3.client('cloudfront')
# Uncomment this to pass a URL to the script
#def get_id(url):
# print("get_id args: {0}".format(url))
# # url: asdf.cloudfront.net
# # return: E2134123ASDF
@jolexa
jolexa / microbot.nomad
Created February 5, 2019 20:53
Example Nomad Job file
job "microbot" {
region = "global"
datacenters = ["nomad-intro"]
# Rolling updates
update {
stagger = "10s"
max_parallel = 3
}
@jolexa
jolexa / output.txt
Created August 12, 2020 15:24
terraform-provider-aws issue # <> terraform output
mbp:~/tmp
$ find .
.
./root.tf
./.tool-versions
./internal
./internal/main.tf
mbp:~/tmp
$ terraform init
Initializing modules...