Skip to content

Instantly share code, notes, and snippets.

View FranklinHarry's full-sized avatar

Harry FranklinHarry

  • San Francisco
View GitHub Profile
@FranklinHarry
FranklinHarry / pipeline.gdsl
Created April 12, 2018 00:34 — forked from ggarcia24/pipeline.gdsl
GDSL supporting pipeline declarative
//The global script scope
def ctx = context(scope: scriptScope())
//What things can be on the script scope
contributor(ctx) {
method(name: 'pipeline', type: 'Object', params: [body: Closure])
property(name: 'params', type: 'org.jenkinsci.plugins.workflow.cps.ParamsVariable')
property(name: 'env', type: 'org.jenkinsci.plugins.workflow.cps.EnvActionImpl.Binder')
property(name: 'currentBuild', type: 'org.jenkinsci.plugins.workflow.cps.RunWrapperBinder')
property(name: 'scm', type: 'org.jenkinsci.plugins.workflow.multibranch.SCMVar')
@FranklinHarry
FranklinHarry / notes.md
Created February 24, 2018 13:29 — forked from jbeda/notes.md
Notes from TGIK 027
  1. Show kubectl proxy

Things are now locked down by default. Try to upload kubeconfig. Talk certs vs. tokens. Skip login... nothing works.

  1. Let's get UI working!

Option 1: Give UI SA with admin. Don't do this!