Skip to content

Instantly share code, notes, and snippets.

✔ pmuir:~ ➭ kubectl get crd -o yaml releases.jenkins.io
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
creationTimestamp: 2018-10-15T23:23:23Z
generation: 1
name: releases.jenkins.io
resourceVersion: "47389"
selfLink: /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/releases.jenkins.io
uid: 4f69e2d8-d0d1-11e8-926a-42010a9c000b
✔ pmuir:~ ➭ kubectl get crd -o yaml releases.jenkins.io
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
creationTimestamp: 2018-10-15T23:23:23Z
generation: 1
name: releases.jenkins.io
resourceVersion: "47389"
selfLink: /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/releases.jenkins.io
uid: 4f69e2d8-d0d1-11e8-926a-42010a9c000b
Found newest pod: aa0b6f5a-deb5-11e8-9671-0a580a2c021f-psxbf
Init container on pod: aa0b6f5a-deb5-11e8-9671-0a580a2c021f-psxbf is: build-step-credential-initializer
Init container on pod: aa0b6f5a-deb5-11e8-9671-0a580a2c021f-psxbf is: build-step-credential-initializer
Init container on pod: aa0b6f5a-deb5-11e8-9671-0a580a2c021f-psxbf is: build-step-git-source
Init container on pod: aa0b6f5a-deb5-11e8-9671-0a580a2c021f-psxbf is: build-step-credential-initializer
Init container on pod: aa0b6f5a-deb5-11e8-9671-0a580a2c021f-psxbf is: build-step-git-source
Init container on pod: aa0b6f5a-deb5-11e8-9671-0a580a2c021f-psxbf is: build-step-credential-initializer
Init container on pod: aa0b6f5a-deb5-11e8-9671-0a580a2c021f-psxbf is: build-step-git-source
Init container on pod: aa0b6f5a-deb5-11e8-9671-0a580a2c021f-psxbf is: build-step-credential-initializer
Init container on pod: aa0b6f5a-deb5-11e8-9671-0a580a2c021f-psxbf is: build-step-git-source
// Code generated by client-gen. DO NOT EDIT.
package v1
import (
v1 "github.com/jenkins-x/jx/pkg/apis/jenkins.io/v1"
scheme "github.com/jenkins-x/jx/pkg/client/clientset/versioned/scheme"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
types "k8s.io/apimachinery/pkg/types"
watch "k8s.io/apimachinery/pkg/watch"
+ mvn -X install
Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 2018-02-24T19:49:05Z)
Maven home: /opt/apache-maven-3.5.3
Java version: 1.8.0_181, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-openjdk-amd64/jre
Default locale: en, platform encoding: UTF-8
OS name: "linux", version: "4.4.111+", arch: "amd64", family: "unix"
[DEBUG] Created new class realm maven.api
[DEBUG] Importing foreign packages into class realm maven.api
[DEBUG] Imported: javax.annotation.* < plexus.core
apiVersion: v1
items:
- apiVersion: jenkins.io/v1
kind: CommitStatus
metadata:
clusterName: ""
creationTimestamp: 2018-10-26T20:35:34Z
labels:
lastCommitSha: 332e9bd8bbc8636ab9f9e9eb7f8b4300b811cb5b
name: muirp-jwdemo-master-6-compliance-check
@pmuir
pmuir / jx-foo
Last active October 27, 2018 21:44
#!/bin/bash
# optional argument handling
if [[ "$1" == "version" ]]
then
echo "1.0.0"
exit 0
fi
# optional argument handling
initContainers:
- env:
- name: HOME
value: /builder/home
image: gcr.io/build-crd/github.com/knative/build/cmd/creds-init@sha256:cfcc14889abe29b54d17ff6cf414918d9d92ff02bb112525742ec2e30117899f
imagePullPolicy: IfNotPresent
name: build-step-credential-initializer
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
kubectl -n jx-edit-pmuir logs exposecontroller-service-65f79b9c87-wfpl4
I0906 11:00:59.022590 1 exposecontroller.go:60] Using build: '2.3.70'
I0906 11:00:59.036127 1 config.go:22] No /etc/exposecontroller/config.yml file found. Will try to figure out defaults
W0906 11:00:59.036174 1 exposecontroller.go:81] %!s(<nil>)
W0906 11:00:59.037533 1 exposecontroller.go:98] Could not find ConfigMap exposecontroller in namespace jx-edit-pmuir
I0906 11:00:59.037734 1 exposecontroller.go:103] Config file before overrides exposer: ""
path-mode: ""
apiserver-protocol: ""
watch-namespaces: ""
watch-current-namespace: false
2017-06-12 17:57:07,812 INFO [io.fabric8.forge.generator.github.GithubRepoStep] (default task-63) Creating github repository user/burrtest99
2017-06-12 17:57:08,413 INFO [io.fabric8.forge.generator.github.GithubRepoStep] (default task-63) Created repository: https://github.com/almightytest/burrtest99
2017-06-12 17:57:08,415 INFO [io.fabric8.project.support.GitUtils] (default task-63) Trusting all SSL certificates
2017-06-12 17:57:08,418 INFO [io.fabric8.forge.generator.github.GithubRepoStep] (default task-63) Initialised an empty git configuration repo at /tmp/projectDir7110613144287159132/burrtest99
2017-06-12 17:57:08,419 INFO [io.fabric8.forge.generator.github.GithubRepoStep] (default task-63) About to git commit and push to: https://github.com/almightytest/burrtest99.git and remote name origin
2017-06-12 17:57:08,448 INFO [io.fabric8.project.support.GitUtils] (default task-63) Using UsernamePasswordCredentialsProvider{user: almightytest, password length: 40}
2017-06-12 17:57:08,513 INFO [io.fabric8