From 0f3469b74276bae150d0d82c94a8b1bc8134e444 Mon Sep 17 00:00:00 2001 From: Kurt Madel Date: Mon, 19 Aug 2019 13:54:29 -0400 Subject: [PATCH 1/2] added slide links to lightning talks post --- charts/javascript/.helmignore | 21 --------- charts/javascript/Chart.yaml | 5 -- charts/javascript/Makefile | 48 ------------------- charts/javascript/README.md | 1 - charts/javascript/templates/NOTES.txt | 4 -- charts/javascript/templates/_helpers.tpl | 16 ------- charts/javascript/templates/deployment.yaml | 51 --------------------- charts/javascript/templates/ksvc.yaml | 40 ---------------- charts/javascript/templates/service.yaml | 26 ----------- charts/javascript/values.yaml | 40 ---------------- 10 files changed, 252 deletions(-) delete mode 100755 charts/javascript/.helmignore delete mode 100644 charts/javascript/Chart.yaml delete mode 100755 charts/javascript/Makefile delete mode 100755 charts/javascript/README.md delete mode 100755 charts/javascript/templates/NOTES.txt delete mode 100755 charts/javascript/templates/_helpers.tpl delete mode 100755 charts/javascript/templates/deployment.yaml delete mode 100755 charts/javascript/templates/ksvc.yaml delete mode 100755 charts/javascript/templates/service.yaml delete mode 100755 charts/javascript/values.yaml diff --git a/charts/javascript/.helmignore b/charts/javascript/.helmignore deleted file mode 100755 index f0c1319..0000000 --- a/charts/javascript/.helmignore +++ /dev/null @@ -1,21 +0,0 @@ -# Patterns to ignore when building packages. -# This supports shell glob matching, relative path matching, and -# negation (prefixed with !). Only one pattern per line. -.DS_Store -# Common VCS dirs -.git/ -.gitignore -.bzr/ -.bzrignore -.hg/ -.hgignore -.svn/ -# Common backup files -*.swp -*.bak -*.tmp -*~ -# Various IDEs -.project -.idea/ -*.tmproj diff --git a/charts/javascript/Chart.yaml b/charts/javascript/Chart.yaml deleted file mode 100644 index 5a2133d..0000000 --- a/charts/javascript/Chart.yaml +++ /dev/null @@ -1,5 +0,0 @@ -apiVersion: v1 -description: A Helm chart for Kubernetes -icon: https://raw.githubusercontent.com/jenkins-x/jenkins-x-platform/d273e09/images/nodejs.png -name: javascript -version: 0.1.0-SNAPSHOT diff --git a/charts/javascript/Makefile b/charts/javascript/Makefile deleted file mode 100755 index 3f96f86..0000000 --- a/charts/javascript/Makefile +++ /dev/null @@ -1,48 +0,0 @@ -CHART_REPO := http://jenkins-x-chartmuseum:8080 -CURRENT=$(pwd) -NAME := blog -OS := $(shell uname) -RELEASE_VERSION := $(shell cat ../../VERSION) - -build: clean - rm -rf requirements.lock - helm dependency build - helm lint - -install: clean build - helm install . --name ${NAME} - -upgrade: clean build - helm upgrade ${NAME} . - -delete: - helm delete --purge ${NAME} - -clean: - rm -rf charts - rm -rf ${NAME}*.tgz - -release: clean - helm dependency build - helm lint - helm init --client-only - helm package . - curl --fail -u $(CHARTMUSEUM_CREDS_USR):$(CHARTMUSEUM_CREDS_PSW) --data-binary "@$(NAME)-$(shell sed -n 's/^version: //p' Chart.yaml).tgz" $(CHART_REPO)/api/charts - rm -rf ${NAME}*.tgz% - -tag: -ifeq ($(OS),Darwin) - sed -i "" -e "s/version:.*/version: $(RELEASE_VERSION)/" Chart.yaml - sed -i "" -e "s/tag:.*/tag: $(RELEASE_VERSION)/" values.yaml -else ifeq ($(OS),Linux) - sed -i -e "s/version:.*/version: $(RELEASE_VERSION)/" Chart.yaml - sed -i -e "s|repository:.*|repository: $(DOCKER_REGISTRY)\/technologists\/blog|" values.yaml - sed -i -e "s/tag:.*/tag: $(RELEASE_VERSION)/" values.yaml -else - echo "platfrom $(OS) not supported to release from" - exit -1 -endif - git add --all - git commit -m "release $(RELEASE_VERSION)" --allow-empty # if first release then no verion update is performed - git tag -fa v$(RELEASE_VERSION) -m "Release version $(RELEASE_VERSION)" - git push origin v$(RELEASE_VERSION) diff --git a/charts/javascript/README.md b/charts/javascript/README.md deleted file mode 100755 index 83de828..0000000 --- a/charts/javascript/README.md +++ /dev/null @@ -1 +0,0 @@ -# Javascript application \ No newline at end of file diff --git a/charts/javascript/templates/NOTES.txt b/charts/javascript/templates/NOTES.txt deleted file mode 100755 index 97823be..0000000 --- a/charts/javascript/templates/NOTES.txt +++ /dev/null @@ -1,4 +0,0 @@ - -Get the application URL by running these commands: - -kubectl get ingress {{ template "fullname" . }} diff --git a/charts/javascript/templates/_helpers.tpl b/charts/javascript/templates/_helpers.tpl deleted file mode 100755 index f0d83d2..0000000 --- a/charts/javascript/templates/_helpers.tpl +++ /dev/null @@ -1,16 +0,0 @@ -{{/* vim: set filetype=mustache: */}} -{{/* -Expand the name of the chart. -*/}} -{{- define "name" -}} -{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Create a default fully qualified app name. -We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). -*/}} -{{- define "fullname" -}} -{{- $name := default .Chart.Name .Values.nameOverride -}} -{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} -{{- end -}} diff --git a/charts/javascript/templates/deployment.yaml b/charts/javascript/templates/deployment.yaml deleted file mode 100755 index 2eff0a3..0000000 --- a/charts/javascript/templates/deployment.yaml +++ /dev/null @@ -1,51 +0,0 @@ -{{- if .Values.knativeDeploy }} -{{- else }} -apiVersion: extensions/v1beta1 -kind: Deployment -metadata: - name: {{ template "fullname" . }} - labels: - draft: {{ default "draft-app" .Values.draft }} - chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}" -spec: - replicas: {{ .Values.replicaCount }} - template: - metadata: - labels: - draft: {{ default "draft-app" .Values.draft }} - app: {{ template "fullname" . }} -{{- if .Values.podAnnotations }} - annotations: -{{ toYaml .Values.podAnnotations | indent 8 }} -{{- end }} - spec: - containers: - - name: {{ .Chart.Name }} - image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} - env: -{{- range $pkey, $pval := .Values.env }} - - name: {{ $pkey }} - value: {{ quote $pval }} -{{- end }} - ports: - - containerPort: {{ .Values.service.internalPort }} - livenessProbe: - httpGet: - path: {{ .Values.probePath }} - port: {{ .Values.service.internalPort }} - initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }} - periodSeconds: {{ .Values.livenessProbe.periodSeconds }} - successThreshold: {{ .Values.livenessProbe.successThreshold }} - timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }} - readinessProbe: - httpGet: - path: {{ .Values.probePath }} - port: {{ .Values.service.internalPort }} - periodSeconds: {{ .Values.readinessProbe.periodSeconds }} - successThreshold: {{ .Values.readinessProbe.successThreshold }} - timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds }} - resources: -{{ toYaml .Values.resources | indent 12 }} - terminationGracePeriodSeconds: {{ .Values.terminationGracePeriodSeconds }} -{{- end }} \ No newline at end of file diff --git a/charts/javascript/templates/ksvc.yaml b/charts/javascript/templates/ksvc.yaml deleted file mode 100755 index b49200b..0000000 --- a/charts/javascript/templates/ksvc.yaml +++ /dev/null @@ -1,40 +0,0 @@ -{{- if .Values.knativeDeploy }} -apiVersion: serving.knative.dev/v1alpha1 -kind: Service -metadata: -{{- if .Values.service.name }} - name: {{ .Values.service.name }} -{{- else }} - name: {{ template "fullname" . }} -{{- end }} - labels: - chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}" -spec: - runLatest: - configuration: - revisionTemplate: - spec: - container: - image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} - env: -{{- range $pkey, $pval := .Values.env }} - - name: {{ $pkey }} - value: {{ quote $pval }} -{{- end }} - livenessProbe: - httpGet: - path: {{ .Values.probePath }} - initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }} - periodSeconds: {{ .Values.livenessProbe.periodSeconds }} - successThreshold: {{ .Values.livenessProbe.successThreshold }} - timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }} - readinessProbe: - httpGet: - path: {{ .Values.probePath }} - periodSeconds: {{ .Values.readinessProbe.periodSeconds }} - successThreshold: {{ .Values.readinessProbe.successThreshold }} - timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds }} - resources: -{{ toYaml .Values.resources | indent 14 }} -{{- end }} diff --git a/charts/javascript/templates/service.yaml b/charts/javascript/templates/service.yaml deleted file mode 100755 index 9321361..0000000 --- a/charts/javascript/templates/service.yaml +++ /dev/null @@ -1,26 +0,0 @@ -{{- if .Values.knativeDeploy }} -{{- else }} -apiVersion: v1 -kind: Service -metadata: -{{- if .Values.service.name }} - name: {{ .Values.service.name }} -{{- else }} - name: {{ template "fullname" . }} -{{- end }} - labels: - chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}" -{{- if .Values.service.annotations }} - annotations: -{{ toYaml .Values.service.annotations | indent 4 }} -{{- end }} -spec: - type: {{ .Values.service.type }} - ports: - - port: {{ .Values.service.externalPort }} - targetPort: {{ .Values.service.internalPort }} - protocol: TCP - name: http - selector: - app: {{ template "fullname" . }} -{{- end }} diff --git a/charts/javascript/values.yaml b/charts/javascript/values.yaml deleted file mode 100755 index 1844831..0000000 --- a/charts/javascript/values.yaml +++ /dev/null @@ -1,40 +0,0 @@ -# Default values for node projects. -# This is a YAML-formatted file. -# Declare variables to be passed into your templates. -replicaCount: 1 -image: - repository: draft - tag: dev - pullPolicy: IfNotPresent - -# define environment variables here as a map of key: value -env: - -# enable this flag to use knative serve to deploy the app -knativeDeploy: false - -service: - name: blog - type: ClusterIP - externalPort: 80 - internalPort: 8080 - annotations: - fabric8.io/expose: "true" - fabric8.io/ingress.annotations: "kubernetes.io/ingress.class: nginx" -resources: - limits: - cpu: 400m - memory: 256Mi - requests: - cpu: 200m - memory: 128Mi -probePath: / -livenessProbe: - initialDelaySeconds: 60 - periodSeconds: 10 - successThreshold: 1 - timeoutSeconds: 1 -readinessProbe: - periodSeconds: 10 - successThreshold: 1 - timeoutSeconds: 1 From 951529c9feb73e31d5f82117ed6b0e125374d0ab Mon Sep 17 00:00:00 2001 From: Kurt Madel Date: Mon, 19 Aug 2019 13:57:43 -0400 Subject: [PATCH 2/2] slide links for lightning talk post - again --- content/posts/lightning-talks-dw-jw-2019.md | 8 ++++++++ public/index.html | 1 - themes/hello-friend-ng/layouts/index.html | 2 ++ themes/hello-friend-ng/layouts/partials/footer.html | 1 - 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/content/posts/lightning-talks-dw-jw-2019.md b/content/posts/lightning-talks-dw-jw-2019.md index fdc3e37..b85ead2 100644 --- a/content/posts/lightning-talks-dw-jw-2019.md +++ b/content/posts/lightning-talks-dw-jw-2019.md @@ -13,22 +13,30 @@ The Technologists will be giving a bunch of lightning talks in the DevOps Theate - [**Self-Updating Jenkins: GitOps for Jenkins Configuration**](https://cb-technologists.github.io/posts/cjd-casc/) - This Lightning Talk will explore using GitOps to automate config updates for the CloudBees Jenkins Distribution. + - [Slides](https://docs.google.com/presentation/d/1KcImecer2xFbg2yk-5suiHSg0EqRYNSjHf4wjDorZmc/edit?usp=sharing) - [**Jenkins Plugin Management as Code**](https://cb-technologists.github.io/posts/jenkins-plugins-good-bad-ugly/) - Let’s admit it, Jenkins Plugin management can be a pain. In this talk we will explore using CasC for Jenkins Plugin management. We will also get a preview of some exciting improvements around Plugin Management being built by CloudBees. + - [Slides](https://docs.google.com/presentation/d/1Fz5uHE_r488z7OeF1RQErmqUOv5tTPqN9FbP1MPCa1A/edit?usp=sharing) - **Multi-Cluster/Multi-Cloud/Hybrid Cloud** - A brief overview and demonstration of up and coming Kubernetes multi-cluster capabilities in CloudBees Core. - [**Traditional Deployments with Jenkins X**](https://cb-technologists.github.io/posts/jenkins-x-flow-integration/) - Jenkins X isn’t just for Kubernetes deployments. In this talk, we’ll discuss how traditional deployments to non Kubernetes environments can be accomplished using Jenkins X and the power of CloudBees Flow. + - [Slides](https://drive.google.com/file/d/1h2UAto1RNiHC6lR9mCXe56qeHJfrgcIE/view?usp=sharing) - **CloudBees Jenkins X Distribution Means Stability for Native Kubernetes CD** - Stability has been an issue for Jenkins X as it evolves quickly. This talk will provide an overview of how the CloudBees Jenkins X Distribution provides the stability that companies expect for their CD solution. - [**GitOps for Jenkins Infrastructure**](https://cb-technologists.github.io/posts/gitops-series-part-1/) - Overview of using GitOps to manage your Jenkins infrastructure as code. Using some popular open source tools, we can create a process for provisioning and managing the underlying infrastructure for running Jenkins on Kubernetes. - **Multi Cluster Deployments with Jenkins X** - When building and deploying applications in a Kubernetes based environment, a common requirement is the ability to isolate Development, Staging, and Production clusters which may have different security policies configured. Jenkins X now has the ability to build in your development cluster but deploy your application to a separate cluster. + - [Slides](https://drive.google.com/file/d/1RRZemv-Jsk3B4QX7Jzy2PfOc7c1X222k/view?usp=sharing) - **Safety First with Snyk and Jenkins** - Take advantage of Synk’s dependency and docker vulnerability scanning in your pipelines. Fail builds for critical vulnerabilities. Go from insecure to informed in 15 minutes. - **GitOps for Blogging, Why Not?** - Jenkins X isn’t just for deploying micro-services to Kubernetes. The Technologists leverage Jenkins X to provide a GitOps approach to reviewing and deploying their Hugo based blog site. + - [Slides](https://docs.google.com/presentation/d/1X2t7r4_RUGfpYwDunlnsw64jticgTtbqjktXDn1ygDo/edit?usp=sharing) +- **Windows Based Dynamic Jenkins Agents in Kubernetes** + - Learn how to deploy a Windows dynamic agents in your multi-OS Kubernetes cluster. + - [Slides](https://docs.google.com/presentation/d/1g6zjHY-zb0qeoI_xDtyjSGwpiud1oMEVbd0NXWTsxEY/edit?usp=sharing) The Technologists will also always be available in the CloudBees booth. If you are headed to DevOps World | Jenkins World in San Francisco, and we hope you are, we would love to discuss any of these topics, any thing that we have blogged about on this site or any emerging technologies related to continuous delivery with you. Just stop by the CloudBees booth and ask for a CloudBees Technologist. diff --git a/public/index.html b/public/index.html index b4e560d..acf96b2 100644 --- a/public/index.html +++ b/public/index.html @@ -131,7 +131,6 @@

CloudBees Technologists

diff --git a/themes/hello-friend-ng/layouts/index.html b/themes/hello-friend-ng/layouts/index.html index 615051e..946c7d4 100644 --- a/themes/hello-friend-ng/layouts/index.html +++ b/themes/hello-friend-ng/layouts/index.html @@ -12,6 +12,8 @@

{{ .Site.Title }}

{{ partial "social-icons.html" . }} {{- end }} +

DevOps World | Jenkins World 2019 - San Francisco

+ DevOps Theater Lightning Talks Slides {{ end }} diff --git a/themes/hello-friend-ng/layouts/partials/footer.html b/themes/hello-friend-ng/layouts/partials/footer.html index 74f8d4e..0a7a1ad 100644 --- a/themes/hello-friend-ng/layouts/partials/footer.html +++ b/themes/hello-friend-ng/layouts/partials/footer.html @@ -17,7 +17,6 @@