Skip to content

Instantly share code, notes, and snippets.

Viktor Farcic vfarcic

Block or report user

Report or block vfarcic

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 03-networking.sh
for i in 1 2 3; do
docker-machine create -d virtualbox node-$i
done
eval $(docker-machine env node-1)
docker swarm init \
--advertise-addr $(docker-machine ip node-1)
TOKEN=$(docker swarm join-token -q worker)
View aks-jx.sh
##############
# Upgrade jx #
##############
jx version
####################
# Create a cluster #
####################
View aks-jx-serverless.sh
##############
# Upgrade jx #
##############
jx version
####################
# Create a cluster #
####################
View 02-intro.sh
# If macOS
brew tap jenkins-x/jx
# If macOS
brew install jx
# If Linux
mkdir -p ~/.jx/bin
# If Linux
View 13-pipeline-extension-model.sh
# Links to gists for creating a serverless Jenkins X cluster
# gke-jx-serverless.sh: https://gist.github.com/a04269d359685bbd00a27643b5474ace
# eks-jx-serverless.sh: https://gist.github.com/69a4cbc65d8cb122d890add5997c463b
# aks-jx-serverless.sh: https://gist.github.com/a7cb7a28b7e84590fbb560b16a0ee98c
# install-serverless.sh: https://gist.github.com/f592c72486feb0fb1301778de08ba31d
GH_USER=[...]
jx delete application \
$GH_USER/jx-prow \
View 08-pr.sh
# Links to gists for creating a cluster with jx
# gke-jx.sh: https://gist.github.com/86e10c8771582c4b6a5249e9c513cd18
# eks-jx.sh: https://gist.github.com/dfaf2b91819c0618faf030e6ac536eac
# aks-jx.sh: https://gist.github.com/6e01717c398a5d034ebe05b195514060
# install.sh: https://gist.github.com/3dd5592dc5d582ceeb68fb3c1cc59233
cd go-demo-6
git checkout dev
View 12-prow.sh
# Links to gists for creating a serverless Jenkins X cluster
# gke-jx-serverless.sh: https://gist.github.com/a04269d359685bbd00a27643b5474ace
# eks-jx-serverless.sh: https://gist.github.com/69a4cbc65d8cb122d890add5997c463b
# aks-jx-serverless.sh: https://gist.github.com/a7cb7a28b7e84590fbb560b16a0ee98c
# install-serverless.sh: https://gist.github.com/f592c72486feb0fb1301778de08ba31d
GH_USER=[...]
jx delete application \
$GH_USER/jx-serverless \
View 11-serverless.sh
# Links to gists for creating a cluster with jx
# gke-jx.sh: https://gist.github.com/86e10c8771582c4b6a5249e9c513cd18
# eks-jx.sh: https://gist.github.com/dfaf2b91819c0618faf030e6ac536eac
# aks-jx.sh: https://gist.github.com/6e01717c398a5d034ebe05b195514060
# install.sh: https://gist.github.com/3dd5592dc5d582ceeb68fb3c1cc59233
# External IP
LB_IP=$(kubectl -n kube-system \
get service jxing-nginx-ingress-controller \
--output jsonpath="{.status.loadBalancer.ingress[0].ip}")
View 03-quickstart.sh
# Links to gists for creating a cluster with jx
# gke-jx.sh: https://gist.github.com/86e10c8771582c4b6a5249e9c513cd18
# eks-jx.sh: https://gist.github.com/dfaf2b91819c0618faf030e6ac536eac
# aks-jx.sh: https://gist.github.com/6e01717c398a5d034ebe05b195514060
# jx.sh: https://gist.github.com/3dd5592dc5d582ceeb68fb3c1cc59233
jx console
jx create quickstart
View 06-jenkins-setup.sh
cd k8s-specs
git pull
JENKINS_ADDR="jenkins.$LB_IP.nip.io"
echo $JENKINS_ADDR
# Only if minishift
oc patch scc restricted -p '{"runAsUser":{"type": "RunAsAny"}}'
You can’t perform that action at this time.