Skip to content

Instantly share code, notes, and snippets.

Robert Brem robertBrem

Block or report user

Report or block robertBrem

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View DoD_DoR.MD

Definition of Ready (DoR)

  • Die User Stories erfüllen INVEST
    • Die User Story ist klein genug um in einem Sprint umgesetzt werden zu können
    • Es gibt keine externen Abhängigkeiten die die Story blockieren können
  • Akzeptanzkriterien nach BDD wurden erfasst
  • Sobald die Akzeptanzkriterien erfüllt sind, ist die Story abgeschlossen

Definition of Done (DoD)

  • Maven Build und alle Unit-Tests sind erfolgreich
  • Git Repo hat einen neuen Tag entsprechend Semantic Versioning
View BaseElement.js
export default class BaseElement extends HTMLElement {
constructor() {
super();
this.root = this.attachShadow({mode: 'open'});
}
getStyle() {
const relativePath = import.meta.url.substring(window.location.origin.length);
const end = relativePath.lastIndexOf('/');
View FMH.md
  • Was ist DevOps
    • LeadTime
    • MTBF vs MTTR
    • 12 factor app
    • CloudNative
    • Microservices
    • Feature Toggles
  • Wichtigkeit von CI/CD
    • Semantic Releasing
    • UnitTests / Build
View kubeadm setup
sudo su -
apt-get update
curl -fsSL get.docker.com -o get-docker.sh
sh get-docker.sh
cat << EOF > /etc/docker/daemon.json
{
"exec-opts": ["native.cgroupdriver=systemd"]
}
EOF
View registry-ui.yml
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: registry-ui
spec:
replicas: 1
template:
metadata:
labels:
name: registry-ui
View registry.yml
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: registry
spec:
replicas: 1
template:
metadata:
labels:
name: registry
View pipeline.groovy
withEnv(["KUBERNETES_HOST_NAME=hero-command-test"]) {
stage "checkout, build, test and publish"
node {
git poll: true, url: "http://adesso.disruptor.ninja:30130/rob/hero-command.git"
def mvnHome = tool 'M3'
sh "${mvnHome}/bin/mvn clean install"
sh "USER_NAME=robertbrem VERSION=1.0.${currentBuild.number} ./build.js"
step([$class: 'JUnitResultArchiver', testResults: '**/target/surefire-reports/TEST-*.xml'])
}
}
View jenkins.yml
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: jenkins
spec:
replicas: 1
template:
metadata:
labels:
name: jenkins
View nodeSelectorDeployment.yml
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: gogs
spec:
replicas: 1
template:
metadata:
labels:
name: gogs
View devoxx-deployment.yml
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: devoxx-adesso
spec:
replicas: 1
template:
metadata:
labels:
visualize: "true"
You can’t perform that action at this time.