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 Makefile
VERSION := 1.0.0
SHELL := /bin/bash
GO := GO15VENDOREXPERIMENT=1 go
NAME := go-demo-6
OS := $(shell uname)
MAIN_GO := main.go
ROOT_PACKAGE := $(GIT_PROVIDER)/vfarcic/$(NAME)
GO_VERSION := $(shell $(GO) version | sed -e 's/^[^0-9.]*\([0-9.]*\).*/\1/')
PACKAGE_DIRS := $(shell $(GO) list ./... | grep -v /vendor/)
PKGS := $(shell go list ./... | grep -v /vendor | grep -v generated)
View 14-upgrade.sh
# Links to gists for creating Jenkins X cluster
# gke-jx.sh: https://gist.github.com/86e10c8771582c4b6a5249e9c513cd18
# gke-jx-serverless.sh: https://gist.github.com/a04269d359685bbd00a27643b5474ace
# eks-jx.sh: https://gist.github.com/dfaf2b91819c0618faf030e6ac536eac
# eks-jx-serverless.sh: https://gist.github.com/69a4cbc65d8cb122d890add5997c463b
# aks-jx.sh: https://gist.github.com/6e01717c398a5d034ebe05b195514060
# aks-jx-serverless.sh: https://gist.github.com/a7cb7a28b7e84590fbb560b16a0ee98c
# install.sh: https://gist.github.com/3dd5592dc5d582ceeb68fb3c1cc59233
# install-serverless.sh: https://gist.github.com/f592c72486feb0fb1301778de08ba31d
View jenkins-x-multi-line.yaml
buildPack: go
pipelineConfig:
pipelines:
pullRequest:
build:
preSteps:
- command: make unittest
promote:
steps:
- name: rollout
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 install-serverless.sh
##############
# Upgrade jx #
##############
jx version
#####################
# Install Jenkins X #
#####################
View aks-jx-serverless.sh
##############
# Upgrade jx #
##############
jx version
####################
# Create a cluster #
####################
View eks-jx-serverless.sh
##############
# Upgrade jx #
##############
jx version
####################
# Create a cluster #
####################
View gke-jx-serverless.sh
##############
# Upgrade jx #
##############
jx version
####################
# Create a cluster #
####################
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}")
You can’t perform that action at this time.