Skip to content

Instantly share code, notes, and snippets.

💭
CICD in ABAP

mdali_1 forpix

💭
CICD in ABAP
Block or report user

Report or block forpix

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
@forpix
forpix / docker-help.md
Created Jul 23, 2019 — forked from bradtraversy/docker-help.md
Docker Commands, Help & Tips
View docker-help.md

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

@forpix
forpix / setup-kubernetes-ubuntu-16.md
Created Jul 11, 2019 — forked from ruanbekker/setup-kubernetes-ubuntu-16.md
Install a 3 Node Kubernetes Cluster on Ubuntu 16
View setup-kubernetes-ubuntu-16.md

Master: Dependencies

apt update && apt upgrade -y
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -

cat <<EOF > /etc/apt/sources.list.d/kubernetes.list
deb http://apt.kubernetes.io/ kubernetes-xenial main
EOF
View devops_best_practices.md

DevOps started out as "Agile Systems Administration". In 2008, Andrew Shafer did a talk called "Agile Infrastucture" addressing issues around involving more of the company in the same disciplines as programmers.

In 2009, Patrick Debois created "DevOpsDays" conference to help to bring it to light. However, it wouldn't begin to trend until about 2010, when people would begin to describe it as a standalone discipline.

Today, DevOps goes beyond just developers, systems administration and infrastructure, its about [dev, ops, agile, cloud, open source and business](https://blogs.the451group.com/opensource/2010/03/03/devops-mixing-dev-ops-agile-cloud-open-source-and-busi

@forpix
forpix / dkcleanup.sh
Created May 31, 2019 — forked from brianclements/dkcleanup.sh
Bash script helper to remove Docker images and containers.
View dkcleanup.sh
#!/bin/bash
# options:
# remove stopped containers and untagged images
# $ dkcleanup
# remove all stopped|running containers and untagged images
# $ dkcleanup --reset
# remove containers|images|tags matching {repository|image|repository\image|tag|image:tag}
# pattern and untagged images
# $ dkcleanup --purge {image}
@forpix
forpix / Jenkinsfile
Created May 30, 2019 — forked from oifland/Jenkinsfile
Loops in Jenkinsfiles
View Jenkinsfile
// Related to https://issues.jenkins-ci.org/browse/JENKINS-26481
abcs = ['a', 'b', 'c']
node('master') {
stage('Test 1: loop of echo statements') {
echo_all(abcs)
}
stage('Test 2: loop of sh commands') {
@forpix
forpix / Jenkinsfile
Created May 22, 2019 — forked from pnminh/Jenkinsfile
Jenkins Declarative Pipeline Example
View Jenkinsfile
def getProjectName() {
return 'JenkinsPipeline'
}
def getJDKVersion() {
return 'jdk1.8.0_101'
}
def getMavenConfig() {
return 'maven-config'
@forpix
forpix / Jenkinsfile
Created Sep 19, 2018 — forked from abayer/Jenkinsfile
An example Declarative Pipeline Jenkinsfile for Feb 15 2017 demo
View Jenkinsfile
// A Declarative Pipeline is defined within a 'pipeline' block.
pipeline {
// agent defines where the pipeline will run.
agent {
// This also could have been 'agent any' - that has the same meaning.
label ""
// Other possible built-in agent types are 'agent none', for not running the
// top-level on any agent (which results in you needing to specify agents on
// each stage and do explicit checkouts of scm in those stages), 'docker',
@forpix
forpix / gist:5ba82a26797ae63164971e9e117e04aa
Last active Sep 14, 2018
To get the last Build result in Gihub
View gist:5ba82a26797ae63164971e9e117e04aa
[![Build Status](https://jenkins-server:808/job/Job-Name/lastBuild/buildStatus)](https://jenkins-server:8080/job/Job-Name/lastBuild/)
@forpix
forpix / gist:0d3db4ec08aeae167434462386496f84
Created Sep 12, 2018
To get the Developers report in Git
View gist:0d3db4ec08aeae167434462386496f84
//gives the report commited locally
git log --author=YOURNAME --since="Last Friday" --oneline --no-merges -->
//Gives list of Contributers to the Git
git log --format='%aN' | sort -u
//To get the no.of commits made by each contributer of Git
git shortlog -sn
// To get the report from the Date
@forpix
forpix / gist:2e5e75f3035ad4f732992c8087ba9cc8
Created Sep 12, 2018
To get the Developers report in Git
View gist:2e5e75f3035ad4f732992c8087ba9cc8
//gives the report commited locally
git log --author=YOURNAME --since="Last Friday" --oneline --no-merges -->
//Gives list of Contributers to the Git
git log --format='%aN' | sort -u
//To get the no.of commits made by each contributer of Git
git shortlog -sn
// To get the report from the Date
You can’t perform that action at this time.