Skip to content

Instantly share code, notes, and snippets.

View cyberplant's full-sized avatar

Luar Roji cyberplant

View GitHub Profile
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
"""
Requirements:
$ sudo pip install boto dnspython
Edit this file to change your AWS credentials and domain info.
@cyberplant
cyberplant / .gitignore
Created January 5, 2018 21:57 — forked from ErikAugust/spectre.c
Spectre example code
spectre
@cyberplant
cyberplant / Jenkinsfile
Created September 8, 2020 18:11 — forked from jonico/Jenkinsfile
Example for a full blown Jenkins pipeline script with multiple stages, kubernetes templates, shared volumes, input steps, injected credentials, heroku deploy, sonarqube and artifactory integration, Docker containers, multiple Git commit statuses, PR merge vs branch build detection, REST API calls to GitHub deployment API, stage timeouts, stage c…
#!groovy
import groovy.json.JsonOutput
import groovy.json.JsonSlurper
def label = "mypod-${UUID.randomUUID().toString()}"
podTemplate(label: label, yaml: """
spec:
containers:
- name: mvn
image: maven:3.3.9-jdk-8-alpine