Skip to content

Instantly share code, notes, and snippets.

View timmyers's full-sized avatar

Tim Myers timmyers

View GitHub Profile
@timmyers
timmyers / keybase.md
Created November 10, 2017 16:02
My public keybase proof

Keybase proof

I hereby claim:

  • I am timmyers on github.
  • I am tmyers (https://keybase.io/tmyers) on keybase.
  • I have a public key ASBzE-tJGnBy1lPf4hMcNhkOballc6666lX4eMFl6r0gIAo

To claim this, I am signing this object:

def label = "jenkins-input-repro-${UUID.randomUUID().toString()}"
def scmVars;
// def endToEndTests(target) {
// stage('End to end tests') {
// container('ci') {
// parallel '1': {
// sh 'sleep 10'
// }, '2': {
// sh 'sleep 10'
const entrypointString = fs.readFileSync(path.relative(process.cwd(), `${__dirname}/entrypoint.sh`)).toString();
const configMap = new k8s.core.v1.ConfigMap(name, {
metadata: {
name,
namespace,
},
data: {
'entrypoint.sh': entrypointString,
},
import * as fs from 'fs';
import * as path from 'path';
import * as pulumi from '@pulumi/pulumi';
import * as k8s from '@pulumi/kubernetes';
import { sha1hash } from '@pulumi/aws';
class K8SEthNode extends pulumi.ComponentResource {
public constructor(name: string, settings: {}, opts?: pulumi.ComponentResourceOptions) {
super('project:k8s-eth-node', name, { }, opts);
const defaultComponentOptions = { provider: k8sProvider };
const namespace = new k8s.core.v1.Namespace('k8stest', {
metadata: { name: 'k8stest' },
}, defaultComponentOptions);
const appLabels = { app: 'k8stest' };
const deployment = new k8s.apps.v1.Deployment('k8stest', {
spec: {
@timmyers
timmyers / publish-images.sh
Created April 16, 2020 15:06
Tekton Operator publish image script
#!/usr/bin/env bash
# Copyright 2018 The Tekton Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
{"level":"info","msg":"Executing state transition on block","prefix":"blockchain","root":"0x98639d57...","slot":4483,"time":"2020-04-18T18:37:51Z"}
{"level":"error","msg":"Could not process block from slot 4483: could not process block: could not execute state transition: validate state root failed, wanted: 0x4a760f8d8bb89407ddd632d1d4622deadd4e8b6eb61a940780ff0da79aea3908, received: 0xdee4c181a65cc00a3121e4e64252e9ad2c1b778272f219f2df3cf479e64ea623","prefix":"sync","time":"2020-04-18T18:37:51Z"}
{"blockRoot":"98639d577314","level":"info","msg":"Processed pending block and cleared it in cache","prefix":"sync","slot":4483,"time":"2020-04-18T18:37:51Z"}
{"currentSlot":4484,"level":"info","msg":"Requesting parent block","parentRoot":"98639d577314","prefix":"sync","time":"2020-04-18T18:37:51Z"}
{"blocksPerSecond":"43.9","level":"info","msg":"Processing block 4480/5589 - estimated time remaining 25s","peers":200,"prefix":"initial-sync","time":"2020-04-18T18:37:52Z"}
{"blocksPerSecond":"43.9","level":"info","msg":"
{"error":"beacon node doesn't have a block in db with root 0x33cae647912dba52f136c69a3723ea83391d844fb3605299254bd512657b97c5","level":"info","msg":"Block is invalid","prefix":"initial-sync","time":"2020-04-20T13:48:31Z"}
{"blocksPerSecond":"30.7","level":"info","msg":"Processing block 16127/18542 - estimated time remaining 1m18s","peers":200,"prefix":"initial-sync","time":"2020-04-20T13:48:31Z"}
{"error":"beacon node doesn't have a block in db with root 0xd281804799d0a986a541e0e0a4dc1da16bdb63f3ad183e9613373ea373a716d1","level":"info","msg":"Block is invalid","prefix":"initial-sync","time":"2020-04-20T13:48:31Z"}
{"level":"info","msg":"Executing state transition on block","prefix":"blockchain","root":"0x454b017d...","slot":16067,"time":"2020-04-20T13:48:31Z"}
{"level":"error","msg":"Could not process block from slot 16067: could not process block: could not execute state transition: could not process block in slot 16067: could not process block header: parent root 0x69c316191dc87b1b3419b3e914bcee948856f2886e
{"error":"beacon node doesn't have a block in db with root 0x63d9f277e6cd5ea41c21dd78282e56c661a15a50bb1342d7c6cb79461769b65b","level":"info","msg":"Block is invalid","prefix":"initial-sync","time":"2020-04-20T13:50:38Z"}
{"blocksPerSecond":"43.0","level":"info","msg":"Processing block 16191/18553 - estimated time remaining 54s","peers":199,"prefix":"initial-sync","time":"2020-04-20T13:50:38Z"}
{"error":"beacon node doesn't have a block in db with root 0xa661517f4767f7cf84000002e65bbea6098255ff77b4dc25ba0f5be5e5ef34ec","level":"info","msg":"Block is invalid","prefix":"initial-sync","time":"2020-04-20T13:50:38Z"}
{"level":"info","msg":"Executing state transition on block","prefix":"blockchain","root":"0x454b017d...","slot":16067,"time":"2020-04-20T13:50:39Z"}
{"level":"error","msg":"Could not process block from slot 16067: could not process block: could not execute state transition: could not process block in slot 16067: could not process block header: parent root 0x69c316191dc87b1b3419b3e914bcee948856f2886e53
{"blockRoot":"ea653b9a542c","level":"info","msg":"Processed pending block and cleared it in cache","prefix":"sync","slot":18819,"time":"2020-04-20T15:01:00Z"}
{"currentSlot":18820,"level":"info","msg":"Requesting parent block","parentRoot":"ea653b9a542c","prefix":"sync","time":"2020-04-20T15:01:00Z"}
{"level":"info","msg":"Executing state transition on block","prefix":"blockchain","root":"0xea653b9a...","slot":18819,"time":"2020-04-20T15:01:04Z"}
{"level":"error","msg":"Could not process block from slot 18819: could not process block: could not execute state transition: validate state root failed, wanted: 0x5a4f3e4ba3d65d151d05a18bbbea8f623d7f28f34d5ed8971902da5773468b5d, received: 0xfc16fdc9c466d2021534ed596213303c2ab0b79e252df7a436cbcc06dbba5816","prefix":"sync","time":"2020-04-20T15:01:04Z"}
{"blockRoot":"ea653b9a542c","level":"info","msg":"Processed pending block and cleared it in cache","prefix":"sync","slot":18819,"time":"2020-04-20T15:01:04Z"}
{"currentSlot":18820,"level":"info","msg":"Requesting paren