Skip to content

Instantly share code, notes, and snippets.

View BruceZu's full-sized avatar

Bruce Zu BruceZu

View GitHub Profile
Ansible debug module
Return
loop
block
error handling
task name and variable
SimianArmy( Chaos Monkey) supports AWS and VSphere only at present
There is no office image

1 Deploying Spinnaker http://www.spinnaker.io/v1.0/docs/creating-a-spinnaker-instance#section-kubernetes Your choice of where to run Spinnaker does not affect your choice of deployment targets, but some of the hosted turn-key solutions are preconfigured to deploy to a limited set of platforms. This can be circumvented by reading how to configure your target deployment environment.

2 configure

3 test it by creating a sample bake and deploy pipeline.

1 install Fortify on a VM
2 install SonarQube Fortify plugin on SonarQube
3 configure them
4 Jenkins plugin?
5 test
@BruceZu
BruceZu / gist:7d83a137bf56d8726036cc62ce7a6b36
Created December 30, 2016 23:33
Jenkins on k8s can not access its update site when it try to install plugin
Fix it by hand
bugzilla
select image
how to deploy the image
how to vaidate it after deployment
@BruceZu
BruceZu / gist:ca72d9a3b72b103e18ac519522718743
Created January 4, 2017 02:10
Linux Distribution Name and Version
jenkins@jenkins-2377375696-8qevu:/$ cat /etc/*-release
PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
NAME="Debian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=debian
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/
@BruceZu
BruceZu / gist:5746587089511de0d6516d8d0ac64774
Created January 4, 2017 17:51
how to sudo root in container of docker and k8s
refer http://container-solutions.com/running-docker-in-jenkins-in-docker/
@BruceZu
BruceZu / gist:35ef618baaa068e4f67b32fc9b65509e
Created January 9, 2017 04:34
persistent-volumes of k8s kubernetes
http://kubernetes.io/docs/user-guide/persistent-volumes/walkthrough/
chmod OWNER GROUP WORLD PATH
4 read (r)
2 write (w)
1 execute (x)
7 = 4+2+1 (read/write/execute)
6 = 4+2 (read/write)
5 = 4+1 (read/execute)