Skip to content

Instantly share code, notes, and snippets.

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDU4++o/U3NFKtNE8RanQTyNrbVygHbFUaoSE41MAjfdnDnvq/MBzgbQ9Zluq1M5/ihlHsZS318erV0wifo7o6oGaLv0bGEoEUhhD7rYxMC1z9XLUg+TzxgwBN6SfwivapejzOvMXa6M+NPt/UmFS9PTD6BGAYN2d8REQvQ3Z5ZSZRxfp6G+9IeB4RfoOwpUuHOF8XnmcArL9wqJOOGUcKIic8RRvgniklor9jSW7ZFoHsYQI4WdzsoD4hb/ZQrb1lg+hXGychABqzqSs8tQqLup8rRZLfHSQGkhjW37Bi3Du5kgqWzvxf/yQYIdWudrNz1LHUVSxXFKG1TmEzrIMB7 [email protected]
String basePath = 'project-x'
String checkoutAndBuild = 'checkout-and-build'
String integrationTest = 'integration-test'
String deployInTest = 'deploy-test'
String acceptanceTest = 'acceptance-test'
String deployInProduction = 'deploy-production'
folder(basePath) {
description 'Mega project'
}
version: '2'
services:
app-dev:
build:
context: .
dockerfile: Dockerfile-dev
image: devops-jumpstart-dev:latest
ports:
- "80:8080"
volumes:
FROM ruby:2.3-alpine
RUN apk add --update alpine-sdk && \
apk add --update mysql-dev && \
apk add --update libxslt-dev libxml2-dev && \
apk add --update ruby-dev && \
apk add --update libxslt libxml2 && \
apk add --update xz-dev && \
apk add --update zlib-dev && \
apk add --update linux-headers && \
node('', {
def version = "1.${env.BUILD_NUMBER}"
stage 'Checkout and Build'
git url: 'https://github.com/joebew42/daily-activity-log-to-rss.git'
sh "git tag ${version}"
createVirtualEnv 'env'
node('', {
def url = new URL('http://www.google.com')
def httpCon = (HttpURLConnection) url.openConnection();
httpCon.setRequestMethod('POST')
})
@joebew42
joebew42 / service-checklist.md
Created December 22, 2016 22:38 — forked from acolyer/service-checklist.md
Internet Scale Services Checklist

Internet Scale Services Checklist

A checklist for designing and developing internet scale services, inspired by James Hamilton's 2007 paper "On Desgining and Deploying Internet-Scale Services."

Basic tenets

  • Does the design expect failures to happen regularly and handle them gracefully?
  • Have we kept things as simple as possible?

Setup:

apt-get update; apt-get install nodejs net-tools

Configuration:

export DISPLAY=:99
@joebew42
joebew42 / arch-linux
Last active September 24, 2017 18:06 — forked from njam/arch-linux
Install Arch Linux on XPS 13 9360
# Installation on Dell XPS
# Please also consult official docu:
# https://wiki.archlinux.org/index.php/Installation_Guide
# https://wiki.archlinux.org/index.php/Dell_XPS_13_(9360)
# https://wiki.archlinux.org/index.php/Dell_XPS_15_(9550)
# Disable the secure boot
# F2 to enter to UEFI setup, check `disable secure boot` under the `secure boot` section
# Save settings and exit