Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block lupupaulsv

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 gist:66000e9d919d2de8d1ae6be379302d02
root@jenkins01:~/ansible_ami_builder# cat playbook.yaml
# AWS Playbook
- hosts: localhost
connection: local
gather_facts: False
key_name: troc-ec2-key
View gist:b4bff0fac7aa8cebfc37c27abf4dc358
kind: Ingress
annotations: subnet-767bb43d,subnet-eecaf7b5 internet-facing alb
name: echoserver
View new vpn routes
default via dev eth0 proto dhcp src metric 100 via dev tun0 dev tun0 proto kernel scope link src dev eth0 proto kernel scope link src dev eth0 proto dhcp scope link src metric 100
View gist:0bae99dc4526faaff2f4f46b79e78466
2019-10-04 08:55:42.577+0000 [id=30] SEVERE jenkins.InitReactorRunner$1#onTaskFailed: Failed Initializing plugin selenium Accept timed out
at java.base/ Method)
at java.base/
at java.base/
at java.base/
at hudson.slaves.Channels.newJVM(
at hudson.plugins.selenium.process.SeleniumProcessUtils.createSeleniumGridVM(
at hudson.plugins.selenium.PluginImpl.startHub(
at hudson.plugins.selenium.PluginImpl.postInitialize(
View gist:57e07c15a63b6b422c6d6b59b6240544
_$ kk apply -f deploy/1.8+/ unchanged unchanged unchanged unchanged
serviceaccount/metrics-server unchanged
deployment.apps/metrics-server unchanged
service/metrics-server unchanged unchanged
View gist:51f0348cf6007de91a6de545f437ea29
root@ce0d825c1557:/# apt install postgresql-10
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
View gist:21963cc6a4e5c16cc34a23e1070ed67f
[root@ip-172-31-40-87 current]# cat worker_sample.rb
require 'sinatra/base'
require 'logger'
require 'ddtrace'
require 'ddtrace/contrib/sinatra/tracer'
class WorkerSample < Sinatra::Base
configure do
Datadog.configure do |c|
c.tracer hostname: 'test'
View gist:db7af7bcc3346bcacf86bd32d2863ab8
pipeline {
environment {
LANG = "C.UTF-8"
agent {
docker {
image 'centos:7'
args '-p 2222:22 -v --privileged '
View gist:a457ba2f1d4a9aad49844db16cf71d85
stage("PushToGitHub") {
steps {
sh """
git add --all .
git commit -m 'PIPELINE: update to AMIs to newest version'
git checkout -b automation
git checkout $GIT_BRANCH
git pull --rebase
git merge automation -m 'Merged from automation branch'
git push
View gist:f8ef077dfb24ad1103704b3ff089d777
for i in ${ids[@]}
echo "Waiting for build ID $i running on account: $ACCOUNT_ID"
echo "Debug information at$i?region=$AWS_DEFAULT_REGION"
while true;
status=$(aws ssm get-automation-execution --output text --automation-execution-id "$i" )
if [[ $(echo "$status" | grep -i "status" | grep -i "failed") ]]; then
### something has gone wrong, stop the execution
echo "Build failed!"
You can’t perform that action at this time.