Skip to content

Instantly share code, notes, and snippets.

View ealogar's full-sized avatar

Eduardo Alonso ealogar

  • Vonage
  • Valladolid, Spain
View GitHub Profile
@ealogar
ealogar / gh_runner_logs
Created June 20, 2023 15:48
GH runner logs
Defaulted container "runner" out of: runner, docker
2023-06-20 15:29:01.166 NOTICE --- Runner init started with pid 7
2023-06-20 15:29:01.170 DEBUG --- Github endpoint URL https://github.com/
2023-06-20 15:29:02.126 DEBUG --- Passing --ephemeral to config.sh to enable the ephemeral runner.
2023-06-20 15:29:02.130 DEBUG --- Configuring the runner.
--------------------------------------------------------------------------------
| ____ _ _ _ _ _ _ _ _ |
| / ___(_) |_| | | |_ _| |__ / \ ___| |_(_) ___ _ __ ___ |
| | | _| | __| |_| | | | | '_ \ / _ \ / __| __| |/ _ \| '_ \/ __| |
@ealogar
ealogar / gh_controller_logs
Created June 20, 2023 15:45
ARC controller logs
2023-06-20T15:43:58Z INFO runnerreplicaset Runner failed to register itself to GitHub in timely manner. Recreating the pod to see if it resolves the issue. CAUTION: If you see this a lot, you should investigate the root cause. See https://github.com/actions/actions-runner-controller/issues/288 {"runnerreplicaset": "github-actions/eag-runners-test-w8dfs", "owner": "github-actions/eag-runners-test-w8dfs-9hfrt", "creationTimestamp": "2023-06-20 15:28:59 +0000 UTC", "readyTransitionTime": "2023-06-20 15:29:01 +0000 UTC", "configuredRegistrationTimeout": "10m0s"}
2023-06-20T15:43:58Z INFO runnerreplicaset Runner failed to register itself to GitHub in timely manner. Recreating the pod to see if it resolves the issue. CAUTION: If you see this a lot, you should investigate the root cause. See https://github.com/actions/actions-runner-controller/issues/288 {"runnerreplicaset": "github-actions/eag-runners-test-w8dfs", "owner": "github-actions/eag-runners-test-w8dfs-ftbd9", "creationTimestamp": "2023-06-20 14:47:57 +000
{
"swagger": "2.0",
"info": {
"description": "Mockbin example API",
"version": "1.0.0",
"title": "Mockbin",
"termsOfService": "https://www.telefonica.es/es/",
"contact": {
"name": "4th Platform team",
"email": "[email protected]"
@ealogar
ealogar / performance-mock
Last active May 19, 2020 15:46
Performance api mock
{
"swagger": "2.0",
"info": {
"description": "Mockbin example API",
"version": "1.0.0",
"title": "Performance",
"termsOfService": "https://www.telefonica.es/es/",
"contact": {
"name": "4th Platform team",
"email": "[email protected]"
@ealogar
ealogar / 4p_mockbin2
Last active January 28, 2020 17:40
4p mockbin 2
{
"swagger": "2.0",
"info": {
"description": "Mockbin example API",
"version": "2.0.0",
"title": "Mockbin",
"termsOfService": "https://www.telefonica.es/es/",
"contact": {
"name": "4th Platform team",
"email": "[email protected]"
@ealogar
ealogar / 4p_mockbin
Last active January 28, 2020 17:39
4p-mockbin
{
"swagger": "2.0",
"info": {
"description": "Mockbin example API",
"version": "1.0.0",
"title": "Mockbin",
"termsOfService": "https://www.telefonica.es/es/",
"contact": {
"name": "4th Platform team",
"email": "[email protected]"
@ealogar
ealogar / logback.xml
Created August 28, 2019 10:41
ejemplo de logback
<!-- https://www.playframework.com/documentation/latest/SettingsLogger -->
<configuration>
<conversionRule conversionWord="coloredLevel" converterClass="play.api.libs.logback.ColoredLevel" />
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder class="net.logstash.logback.encoder.LoggingEventCompositeJsonEncoder">
<providers>
<pattern>
<pattern>
@ealogar
ealogar / gist:6698348
Created September 25, 2013 11:28
tutorial of pymongo: - Recommendations of use - Examples - Useful readings
#-*- coding: utf-8 -*-
u"""
MOD: pymongo
"""
import pymongo
#===============================================================================