Skip to content

Instantly share code, notes, and snippets.

View Helcaraxan's full-sized avatar

Duco van Amstel Helcaraxan

View GitHub Profile
@Helcaraxan
Helcaraxan / failing-build.log
Last active November 27, 2019 18:44
Packer / Ansible username collision logs
ansible@packer-ansible-debug-controller:~/ansible-test$ PACKER_LOG=1 PROJECT_ID=<redacted> ./run.sh
Creating target GCE instance in project '<redacted>' in zone 'europe-west1-b'.
Packer will create and connect via a default non-root 'packer' user on the instance.
Ansible will create a non-default 'ansible' user.
2019/11/27 18:36:51 [INFO] Packer version: 1.4.5
2019/11/27 18:36:51 Packer Target OS/Arch: linux amd64
2019/11/27 18:36:51 Built with Go Version: go1.13.4
2019/11/27 18:36:51 Detected home directory from env var: /home/ansible
2019/11/27 18:36:51 Using internal plugin for digitalocean
2019/11/27 18:36:51 Using internal plugin for docker
-> mkdir temp && cd temp
-> go mod init 'temp'
-> cat go.mod
module github.com/Helcaraxan/testing
go 1.13
-> go get github.com/google/go-github/v9 ## NB: That repo only got a go.mod in v18.0.0.
@Helcaraxan
Helcaraxan / .golangci.yaml
Last active April 12, 2020 20:13
Default (draconian) configuration for golangci-lint
---
# For full documentation of the configuration options please
# see: https://github.com/golangci/golangci-lint#config-file.
# options for analysis running
run:
# timeout for analysis, e.g. 30s, 5m, default is 1m
deadline: 5m
# list of build tags, all linters use it. Default is empty list.
@Helcaraxan
Helcaraxan / go.mod
Created March 28, 2019 14:20
Gopkg.lock & go.mod compare
module github.com/Helcaraxan/dep-list
require (
github.com/BurntSushi/toml v0.3.1
github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect
github.com/sirupsen/logrus v1.4.0
github.com/stretchr/testify v1.3.0 // indirect
golang.org/x/crypto v0.0.0-20190325154230-a5d413f7728c // indirect
golang.org/x/sys v0.0.0-20190322080309-f49334f85ddc // indirect
)

Keybase proof

I hereby claim:

  • I am Helcaraxan on github.
  • I am dvanamst (https://keybase.io/dvanamst) on keybase.
  • I have a public key whose fingerprint is C273 F25C 21E6 A596 13C6 5000 C125 0D74 2AAC F8EF

To claim this, I am signing this object: