Commit graph

171 commits

Author SHA1 Message Date
71d5361324
Also check for updates in system repo
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-03-10 12:55:02 +01:00
efc8bc4f3c
Throw shfmt against bash scripts
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-03-10 12:47:55 +01:00
ca6344c04d
Add password pwn check script
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-03-07 11:58:21 +01:00
6b0a4b55fc
Use internal BASH_VERSINFO variable
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-03-04 23:32:08 +01:00
938b6c8081
Add a bash version check
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-03-04 23:29:39 +01:00
d9fb0a060f
Fuck everything and especially Apple
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-03-04 23:04:08 +01:00
d58332c7a4
Add system specific repo
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-03-04 22:58:40 +01:00
687a3ba947
Migrate to go-version of update-gotools
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-02-20 23:15:10 +01:00
7dafa5c0fc
Also search for image with stripped latest tag
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-02-20 22:40:55 +01:00
0c1efb0e64
Improve docker-clean to avoid "in use" errors
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-02-15 22:53:35 +01:00
2ad65f4512
Improve file handling in check_config
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-02-11 13:07:54 +01:00
c669a296fa
Rework ensure-config script
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-02-11 11:39:28 +01:00
78a3b54d15
Specify branch to fetch
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-02-11 11:14:19 +01:00
1f646ca455
Ensure ssh-key and re-fetch when no rev is known
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-02-11 11:12:50 +01:00
6ea12aacd4
Improve output, do output every time
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-02-11 01:31:56 +01:00
ce723ee3b9
Merge to one line output
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-02-11 01:29:28 +01:00
9b139486c2
Add hub to required tools
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-02-11 01:19:23 +01:00
75f9328088
OSX needs special treatment
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-02-11 01:15:53 +01:00
56aea038c4
Add check_config script
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-02-11 00:54:47 +01:00
41ab786005
Install vault-user-token through update-gotools
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-02-10 19:06:15 +01:00
5eca93a4c7
Cleanup backup script
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-02-10 12:16:24 +01:00
aa49fc68e1
Add peco / peco functions
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-02-10 12:16:24 +01:00
2da99b2efb
Add warn function
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-02-02 10:54:00 +01:00
f90704d4e3
Install worktime
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-01-18 14:19:39 +01:00
50b0aa2464
Update docker-clean script
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-01-13 19:05:15 +01:00
085969a278
Improve local-vault-auth script
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-01-13 15:47:09 +01:00
5983071082
Add removal of images (spotify-gc does not do that anymore)
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-01-08 23:52:50 +01:00
1efe7fa3ca
Truncate branch names at 72 chars
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-01-07 21:49:27 +01:00
53bc6d62bd
Fetch tags on git ps
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-01-07 15:17:19 +01:00
478f1ec990
By default install git-changerelease
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-12-18 16:03:51 +01:00
0419fd00c8
Limit branch length
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-12-15 12:29:57 +01:00
3f9c6dc4c3
Autopep8 and port to python3
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-12-15 12:12:49 +01:00
2387473854
Replace python slugify and str2hex with go tools
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-12-15 12:12:24 +01:00
a982aab40a
Add missing script 2017-12-14 15:38:11 +01:00
15abdb3765
Port to python3 2017-12-14 15:07:10 +01:00
8b29a34b21
Port to python3 2017-12-14 15:02:20 +01:00
518177dd01
Ensure py2/3 compatibiliy 2017-12-14 11:18:00 +01:00
f05fc4aab9
Add instance-type-comment script
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-12-11 11:57:37 +01:00
e8e0e877cd
Install 'share' on systems
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-12-02 22:43:38 +01:00
1b82a2caed
Add shortcut for creating a branch and committing
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-12-01 12:59:55 +01:00
fffc3f7412
Fix system-audit ignoring symbolic links
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-11-23 14:47:00 +01:00
41ab4ec679
Improve update-gotools script
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-11-18 14:58:52 +01:00
0386675bbc
Replace python script with Go short_path tool
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-11-18 14:58:00 +01:00
e4cca82e2d
Make sign-off configurable
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-11-10 12:47:04 +01:00
0da465731f
Parallelize installation of Go tooling
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-11-01 11:33:02 +01:00
1f27f72990
Add chrony timediff into tmux status bar
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-10-30 11:35:22 +01:00
ec887105a8
Set tracking branch when pushing
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-10-17 11:31:09 +02:00
3af386d881
Allow creation of python3 venv
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-10-13 16:56:27 +02:00
4e77cb78f5
Add script for slugified branch names
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-10-06 12:20:53 +02:00
5927c7dcbc
Add simple wrapper around python-slugify
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-09-29 16:08:40 +02:00
17333daedc
Remove habitica integration
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-09-27 11:40:18 +02:00
a2727dbe89
Use script_framework for resume script
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-09-19 12:55:43 +02:00
eeb4ba2d79
Unify scripts by using a common color / function framework
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-09-19 12:10:53 +02:00
a9570cde04
Make errors more verbose
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-09-19 11:17:41 +02:00
7374309c37
Improve window creation with a default horizontal split
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-09-19 11:11:21 +02:00
897ae8842c
Set error handling options
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-09-13 15:45:32 +02:00
6329c44ea0
Use different fork for bindata
which is more up-to-date and maintained

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-09-12 10:40:57 +02:00
26e741a2fa
Install vault2env from git
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-09-04 16:15:35 +02:00
57944d1bff
Also install dep CLI
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-09-04 13:25:49 +02:00
3991e6a781
Search for fingerprint instead of key name
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-08-14 15:17:09 +02:00
20e7c554fc
Implement auto-loading of SSH keys
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-08-08 11:56:36 +02:00
af54670666
Add simple gitignore wrapper
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-08-07 11:11:09 +02:00
51926cb7d5
Remove not working detection logic
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-08-07 11:10:14 +02:00
354f7099dd
Don't die while collecting make targets (exit 2)
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-07-20 09:00:05 +02:00
04a54c4a48
Use only first part of hostname
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-07-20 08:56:55 +02:00
542937d93f
Add error handling to git-* scripts
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-07-17 11:55:39 +02:00
3e70f15450
Only use shortened hostname
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-07-06 14:19:52 +02:00
01a2dce686
Update vault-user-token on version mismatch
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-07-06 14:19:52 +02:00
cfa20468ce
Ensure vault-patch is avaiblable on the system
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-07-03 22:02:13 +02:00
59f2dff906
Ensure compatibility to BSD date
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-06-20 10:38:09 +02:00
947766d2df
Record last usage of ssh-key
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-06-19 14:08:55 +02:00
a6940d48a2
Use kill to check for process existence
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-05-27 00:09:02 +02:00
1fb4cfcfce
Ensure there is a token when vault-user-token was started
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-05-26 23:58:37 +02:00
0dac488327
Add helper to transmit GPG keys
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-05-26 21:51:05 +02:00
9fa8cd626c
Install vault through update-gotools
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-05-26 21:15:28 +02:00
075d77a32f
Use vault-user-token for vault authentication
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-05-26 21:15:07 +02:00
c27b3481bc
Add travis-ci/gimme as submodule
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-05-26 20:41:05 +02:00
ab75149d87
Load ssh-keys for one hour
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-05-14 22:03:02 +02:00
736cff1cc3
Load keys for 900s and drop them from agent afterwards
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-05-02 16:08:55 +02:00
4f6dc7b5e8
Adjust script to new vault2env version
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-04-23 22:16:00 +02:00
2cfc1b8b54
Add system-audit script
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-04-23 16:44:48 +02:00
64ce7d0000
expose script has been replaced by Go binary
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-04-14 14:02:14 +02:00
143327d660
Create .gopath file for $PATH detection
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-04-13 22:45:57 +02:00
7bb350a996
Add tmux-agent script
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-04-09 01:23:53 +02:00
93857029b0
Move from deprecated MAINTAINER instruction
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-03-28 09:45:08 +02:00
9e49458211
Add a simple wrapper to start a simple python HTTP server
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-03-06 22:39:41 +01:00
1f4303534f
Automatically load agent on "resume"
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-03-05 16:21:46 +01:00
3ad886e024
Add helper to set up virtualenv and install requirements
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-02-24 15:15:01 +01:00
ac03257e17
Simplify update-gotools helper
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-02-17 01:16:47 +01:00
408544d37d
Add simple wrapper to resume tmux session with lowest number
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-02-17 01:10:52 +01:00
fe8e9e07ef
By default sign-off commits
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-02-08 17:01:13 +01:00
12dbe5eb5e
Install jiq using go get 2017-01-23 10:23:22 +01:00
8c3f1efed4
Use mktemp instead of tempfile for OSX compatibility 2017-01-11 17:50:13 +01:00
6a3e278967
Load SSH-Keys from Vault instead of filesystem 2016-12-29 13:43:45 +01:00
67ced20929
Move secret config repo to github 2016-12-21 14:46:10 +01:00
23e2fada83
Unify push in one command 2016-12-20 03:14:58 +01:00
f889caa78d
Add auto-hook system for git-c and git-pot 2016-12-12 16:57:39 +01:00
adabbd2887
Fix output parsing for gone branches 2016-11-30 12:43:28 +01:00
b2345211fd
Remove vault unseal as it's done by hardware 2016-11-19 22:36:16 +01:00
24f726b08f
Simplify command by using awk 2016-11-12 19:18:49 +01:00