Skip to content

Instantly share code, notes, and snippets.

View ArthurSchiavom's full-sized avatar

Arthur Schiavom ArthurSchiavom

View GitHub Profile
@ArthurSchiavom
ArthurSchiavom / ListenerErrorLogs.log
Created November 6, 2023 16:43
Listener error logs
2023-11-06T12:45:22Z ERROR Inputs validation failed {"error": "EphemeralRunnerSetNamespace 'github-runners' or EphemeralRunnerSetName '' is missing"}
main.main
github.com/actions/actions-runner-controller/cmd/githubrunnerscalesetlistener/main.go:85
runtime.main
runtime/proc.go:250
@ArthurSchiavom
ArthurSchiavom / controllerErrorLogs.log
Created November 6, 2023 16:42
Controller error logs
2023-11-06T12:39:45Z INFO Update strategy set to: {"updateStrategy": "immediate"}
2023-11-06T12:39:45Z INFO AutoscalingListener image pull policy changed {"ImagePullPolicy": "IfNotPresent"}
2023-11-06T12:39:45Z INFO AutoscalingListener logging parameters changed {"LogLevel": "debug", "LogFormat": "text"}
2023-11-06T12:39:46Z INFO Registering scale set metrics
2023-11-06T12:39:46Z INFO starting manager
2023-11-06T12:39:46Z INFO Starting EventSource {"controller": "ephemeral-runner-controller", "controllerGroup": "actions.github.com", "controllerKind": "EphemeralRunner", "source": "kind source: *v1alpha1.EphemeralRunner"}
2023-11-06T12:39:46Z INFO Starting EventSource {"controller": "ephemeral-runner-controller", "controllerGroup": "actions.github.com", "controllerKind": "EphemeralRunner", "source": "kind source: *v1.Pod"}
2023-11-06T12:39:46Z INFO Starting Controller {"controller": "ephemeral-runner-controller", "controllerGroup": "actions.github.com", "controllerKind": "EphemeralRunner"}
2023-11-06T12:39:46Z
@ArthurSchiavom
ArthurSchiavom / kill_process.ahk
Created July 14, 2020 23:39
Kill a process by pressing 2 keys (alt+z)
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
if not A_IsAdmin
{
Run *RunAs "%A_ScriptFullPath%"
ExitApp
}