- no upfront installation/agents on remote/slave machines - ssh should be enough
- application components should use third-party software, e.g. HDFS, Spark's cluster, deployed separately
- configuration templating
- environment requires/asserts, i.e. we need a JVM in a given version before doing deployment
- deployment process run from Jenkins
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* DevOps CI/CD */ | |
def extensions = [ | |
1: [name:'code-runner', version: '0.6.15', publisher: 'formulahendry'], | |
2: [name:'jenkins-status', version: '0.3.0', publisher: 'alefragnani'], | |
3: [name:'jenkinsfile-support', version: '0.1.0', publisher: 'secanis'], | |
4: [name:'vscode-yaml-validation', version: '0.0.1', publisher: 'djabraham'], | |
5: [name:'code-settings-sync', version: '2.6.1', publisher: 'Shan'], | |
6: [name:'scala', version: '0.0.4', publisher: 'daltonjorge'], | |
7: [name:'google-search-ext', version: '0.1.2', publisher: 'adelphes'], | |
8: [name:'java', version: '0.0.13', publisher: 'redhat'], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"type":"marker","latLng":{"lat":52.333216,"lng":5.221867},"color":"#a24ac3"},{"type":"marker","latLng":{"lat":51.5212411667077,"lng":7.760295867919922},"color":"#514ac3"},{"type":"marker","latLng":{"lat":51.532134678095346,"lng":7.946033477783204},"color":"#514ac3"},{"type":"marker","latLng":{"lat":51.89856843187084,"lng":6.616945266723633},"color":"#514ac3"},{"type":"marker","latLng":{"lat":51.918702833674864,"lng":6.737022399902344},"color":"#514ac3"},{"type":"polygon","latLngs":[{"lat":51.90361280788357,"lng":6.62200927734375},{"lat":51.5189980614127,"lng":7.764587402343749},{"lat":51.53950234032649,"lng":7.96783447265625},{"lat":51.93071827931289,"lng":6.74835205078125}],"color":"#514ac3"},{"type":"polyline","latLngs":[{"lat":52.31636,"lng":5.249553},{"lat":51.291954,"lng":8.59055}],"color":"#bbbbbb"},{"type":"polyline","latLngs":[{"lat":52.336393,"lng":5.217786},{"lat":51.29492,"lng":8.613158}],"color":"#bbbbbb"},{"type":"polyline","latLngs":[{"lat":52.31636,"lng":5.249553},{"lat":49.98063,"lng":7.0052 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def plugins = jenkins.model.Jenkins.instance.getPluginManager().getPlugins() | |
println "digraph test {" | |
println "rankdir=LR;" | |
println "node [shape = box,height=.1,fontsize=48,fontname=Helvetica,fillcolor=yellow,style=filled];" | |
plugins.each { | |
def plugin = it.getShortName() | |
println "\"${plugin}\";" | |
def deps = it.getDependencies() | |
deps.each { | |
def s = it.shortName |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def plugins = jenkins.model.Jenkins.instance.getPluginManager().getPlugins() | |
print "digraph test {" | |
print "rankdir=LR;" | |
print "node [shape = box,height=.1,fontsize=48,fontname=Helvetica,fillcolor=yellow,style=filled];" | |
plugins.each { | |
def plugin = it.getShortName() | |
print "\"${plugin}\";" | |
def deps = it.getDependencies() | |
deps.each { | |
def s = it.shortName |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def plugins = jenkins.model.Jenkins.instance.getPluginManager().getPlugins() | |
def html_prefix = ''' | |
<!DOCTYPE html><meta charset="utf-8"><html> | |
<head> | |
<script src="http://d3js.org/d3.v4.min.js"></script> | |
<script src="http://viz-js.com/bower_components/viz.js/viz-lite.js"></script> | |
<script src="https://github.com/magjac/d3-graphviz/releases/download/v0.1.2/d3-graphviz.min.js"></script> | |
<script src="https://code.jquery.com/jquery-1.10.2.js"></script> | |
<style>div {text-align: center;width:100%;}</style> | |
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
memcached: | |
image: memcached | |
app: | |
image: user/app | |
environment: | |
RAILS_ENV: development |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"emojis": [ | |
{"emoji": "👩👩👧👧", "name": "family_mothers_two_girls", "shortname": "", "unicode": "", "html": "👩‍👩‍👧‍👧", "category": "p", "order": ""}, | |
{"emoji": "👩👩👧👦", "name": "family_mothers_children", "shortname": "", "unicode": "", "html": "👩‍👩‍👧‍👦", "category": "p", "order": ""}, | |
{"emoji": "👩👩👦👦", "name": "family_mothers_two_boys", "shortname": "", "unicode": "", "html": "👩‍👩‍👦‍👦", "category": "p", "order": ""}, | |
{"emoji": "👨👩👧👧", "name": "family_two_girls", "shortname": "", "unicode": "", "html": "👨‍👩‍👧‍👧", "category": "p", "order": ""}, | |
{"emoji": "👨👩👧👦", "name": "family_children", "shortname": "", "unicode": "", "html": "👨‍👩‍👧‍👦", "category": "p", "order": ""}, | |
{"emoji": "👨👩👦👦", "name": "family_two_boys", "shortname": "", "unicode": "", "html": "👨&zw |
- intro, download, install & setup
- basics, syntax
- control flow
- more types, data structures
- methods & interfaces
- concurrency
- nice to know stuff
- golang gotchas <-- especially if you are coming from python, ruby etc
- workspace
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new File("d:\\svn").eachDirRecurse() { dir -> | |
dir.eachFileMatch(~/.*.yml/) { file -> | |
println file.getPath() | |
} | |
} |
OlderNewer