Skip to content

Instantly share code, notes, and snippets.

metadata:
name: fantastic-tiger
namespace: argo
labels:
example: 'true'
spec:
serviceAccountName: argo
arguments:
parameters:
- name: message
client:
backoff_config:
maxbackoff: 5s
maxretries: 20
minbackoff: 100ms
batchsize: 102400
batchwait: 1s
external_labels: {}
timeout: 10s
positions:
# Info on GitHub Webhook: https://developer.github.com/v3/repos/hooks/#create-a-hook
apiVersion: argoproj.io/v1alpha1
kind: EventSource
metadata:
name: github-event-source
namespace: argo-events
spec:
type: "github"
github:
test:
build: Pulling from weaveworks/eksctl
Digest: sha256:571a2bf4cbf6d09ddc4f93c7ca02ec79a6e57a5b5c9d4e7554b308a2501928d0
Status: Downloaded newer image for weaveworks/eksctl:build
Sending build context to Docker daemon 17.41kB
Step 1/14 : FROM golang:1.11-alpine3.8
---> f56365ec0638
Step 2/14 : RUN apk add --no-cache curl git make gcc musl-dev && true
---> Running in c40592bd86fb
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz
@dcherman
dcherman / Jenkinsfile
Created July 7, 2018 19:48 — forked from jonico/Jenkinsfile
Example for a full blown Jenkins pipeline script with multiple stages, input steps, injected credentials, heroku deploy, sonarqube and artifactory integration, multiple Git commit statuses, PR merge vs branch build detection, REST API calls to GitHub deployment API, stage timeouts, stage concurrency constraints, ...
#!groovy
import groovy.json.JsonOutput
import groovy.json.JsonSlurper
/*
Please make sure to add the following environment variables:
HEROKU_PREVIEW=<your heroku preview app>
HEROKU_PREPRODUCTION=<your heroku pre-production app>
HEROKU_PRODUCTION=<your heroku production app>
@dcherman
dcherman / Jenkinsfile
Created June 30, 2018 02:20 — forked from mskutin/Jenkinsfile
Example for a full blown Jenkins pipeline script with multiple stages, input steps, injected credentials, heroku deploy, sonarqube and artifactory integration, multiple Git commit statuses, PR merge vs branch build detection, REST API calls to GitHub deployment API, stage timeouts, stage concurrency constraints, ...
#!groovy
import groovy.json.JsonOutput
import groovy.json.JsonSlurper
/*
Please make sure to add the following environment variables:
HEROKU_PREVIEW=<your heroku preview app>
HEROKU_PREPRODUCTION=<your heroku pre-production app>
HEROKU_PRODUCTION=<your heroku production app>
const defaultResolver = require('jest-resolve/build/default_resolver').default;
const ScriptTransformer = require('jest-runtime').ScriptTransformer;
const fs = require('fs');
const transform = ScriptTransformer.prototype.transform;
Object.defineProperty(ScriptTransformer.prototype, 'transform', {
enumerable: false,
value(file, ...args) {
if (!fs.existsSync(file)) {
import { BaseHttpController as InversifyBaseHttpController, interfaces } from 'inversify-express-utils';
export class BaseHttpController extends InversifyBaseHttpController {
public ok(content: any) {
return new HttpResponseMessage(this.httpContext, { statusCode: 200, content });
}
public created(location: string, content?: any) {
return new HttpResponseMessage(this.httpContext, {
statusCode: 201,
Problem signature:
Problem Event Name: BEX
Application Name: Sling.exe
Application Version: 0.0.0.0
Application Timestamp: 5797a099
Fault Module Name: npMoveMediaPlayer.dll
Fault Module Version: 8.26.0.109
Fault Module Timestamp: 5783f045
Exception Offset: 001ca3a0
Exception Code: c0000409
angular.module('ngBindonPolyfill', [['$provide', '$compileProvider', function($provide, $compileProvider) {
$compileProvider.component('ngBindonSupportTest', {
controller: ['$attrs', function($attrs) {
this.a = $attrs;
}],
bindings: {
x: '<',
xChanged: '&?'
}
});