Skip to content

Instantly share code, notes, and snippets.

View nikhil-thomas's full-sized avatar
🧑‍💻

Nikhil Thomas nikhil-thomas

🧑‍💻
View GitHub Profile
@nikhil-thomas
nikhil-thomas / jenkins-log
Last active January 29, 2019 12:11
build log from jenkins : building on opneshift.io
OpenShift Build nikthoma/app0129191715-2 from https://github.com/nikhil-thomas/nodejs-health-check.git
11:53:22 Connecting to https://api.github.com using nikhil-thomas/****** (cd-github)
Obtained Jenkinsfile from 8e204985fdc347e13bbbef4b9a12df59e42fdb83
Running in Durability level: MAX_SURVIVABILITY
Loading library github.com/fabric8io/osio-pipeline@master
Attempting to resolve master from remote references...
> git --version # timeout=10
> git ls-remote -h https://github.com/fabric8io/osio-pipeline.git # timeout=10
Found match: refs/heads/master revision 868a674004b4de26b1c26a9f472bb733b3f693b3
Cloning the remote Git repository
@nikhil-thomas
nikhil-thomas / jenkins-log-2
Created January 29, 2019 12:55
Deployment config "nodejs-health-check-master" waiting on image update
OpenShift Build nikthoma/app0129191715-5 from https://github.com/nikhil-thomas/nodejs-health-check.git
12:28:32 Connecting to https://api.github.com using nikhil-thomas/****** (cd-github)
Obtained Jenkinsfile from 04fd3925dec7f2f7b1f5d1567afbb3dd078969cb
Running in Durability level: MAX_SURVIVABILITY
Loading library github.com/fabric8io/osio-pipeline@master
Attempting to resolve master from remote references...
> git --version # timeout=10
> git ls-remote -h https://github.com/fabric8io/osio-pipeline.git # timeout=10
Found match: refs/heads/master revision 868a674004b4de26b1c26a9f472bb733b3f693b3
> git rev-parse --is-inside-work-tree # timeout=10
@nikhil-thomas
nikhil-thomas / openshift-pipelines-operator-v0.8.0.yaml
Last active November 5, 2019 12:48
openshift-pipelines-operator-v0.8.0.yaml
apiVersion: operators.coreos.com/v1
kind: OperatorSource
metadata:
name: nikhilthomas-operators
namespace: openshift-marketplace
spec:
type: appregistry
endpoint: https://quay.io/cnr
registryNamespace: nikhilthomas
displayName: "Nikhil Thomas Operators"
@nikhil-thomas
nikhil-thomas / maven-run-setup.yaml
Last active November 21, 2019 11:33
resources needed to test tekton pipeline task
# bucketrepo maven repository
apiVersion: v1
kind: Secret
metadata:
name: bucketrepo-config
annotations:
config/checksum: 533347b915964ea57056e799479ab96181274ee7cde598452affee274449ad22
type: Opaque
stringData:
config.yaml: |
@nikhil-thomas
nikhil-thomas / sed_examples.txt
Last active December 28, 2019 04:13
sed examples
credit: https://www.brianstorti.com/enough-sed-to-be-useful/
-------------------------------------------------------------------------
USEFUL ONE-LINE SCRIPTS FOR SED (Unix stream editor) Dec. 29, 2005
Compiled by Eric Pement - pemente[at]northpark[dot]edu version 5.5
Latest version of this file (in English) is usually at:
http://sed.sourceforge.net/sed1line.txt
http://www.pement.org/sed/sed1line.txt
@nikhil-thomas
nikhil-thomas / openshift-pipelines-operaor-v0.11.0.yaml
Last active April 16, 2020 12:34
openshift-pipelines-operaor-v0.11.0.yaml
---
apiVersion: operators.coreos.com/v1
kind: OperatorSource
metadata:
name: nikhilthomas-operators
namespace: openshift-marketplace
spec:
type: appregistry
endpoint: https://quay.io/cnr
registryNamespace: nikhilthomas
@nikhil-thomas
nikhil-thomas / opo-install-withou-olm.yaml
Created April 24, 2020 16:39
opo-install-withou-olm.yaml
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: config.operator.tekton.dev
spec:
group: operator.tekton.dev
names:
kind: Config
listKind: ConfigList
plural: config
@nikhil-thomas
nikhil-thomas / operator-unit-tests
Created April 29, 2020 13:21
operator-unit-tests
1 === RUN TestConfigControllerReplaceImages
2 === RUN TestConfigControllerReplaceImages/for_pipelines
3 === RUN TestConfigControllerReplaceImages/for_triggers_addon
4 === RUN TestValidateDeployment
5 === RUN TestValidateDeployment/rollout_success
6 === RUN TestValidateDeployment/rollout_in_progress
7 === RUN TestTransformManifest_WithAnnotation
8 === RUN TestTransformManifest_WithoutAnnotation
9 === RUN TestReplaceKind
10 === RUN TestReplaceKind/should_replace_Kind_when_resource_kind_==_fromKind
@nikhil-thomas
nikhil-thomas / OpenShift Pipelines TP1 images (1.0.1)
Created June 9, 2020 14:57
images needed for installing OpenShift Pipelines (+triggers) using OpenShift PIpelines Operator
registry.redhat.io/openshift-pipelines-tech-preview/pipelines-rhel8-operator@sha256:78260d7b70e43ec4782176fe892fae2998e5885943f673914f5b5ff1add7b267
registry.redhat.io/openshift-pipelines-tech-preview/pipelines-controller-rhel8@sha256:a6863246b9dbf7ea1b5142b519331962203a3fa92fe1fb2fa7a110816e88f17f
registry.redhat.io/openshift-pipelines-tech-preview/pipelines-webhook-rhel8@sha256:22d63a1c3be32c0fa4cb872f16592d53fbe9912373ea49363bbc004f66e1955a
registry.redhat.io/openshift-pipelines-tech-preview/pipelines-creds-init-rhel8@sha256:f5cd703289d2df8bc8ae822b91491b0f47427a068456fcaff6cdd30bf34e4aea
registry.redhat.io/openshift-pipelines-tech-preview/pipelines-entrypoint-rhel8@sha256:09e65d4ebdca39769a9e6dadb57f9a51ec6ac3cd6b0b1261d37183e00d5681c0
registry.redhat.io/openshift-pipelines-tech-preview/pipelines-git-init-rhel8@sha256:bb744988e87cc556873098885ee1a7fc1ef7b6c1ea24e3a4d7a5e518edb22838
registry.redhat.io/openshift-pipelines-tech-preview/pipelines-gcs-fetcher-rhel8@sha256:bcb6174c01c01060f341407eac1cf3059f31c8
@nikhil-thomas
nikhil-thomas / nikthoma-pipelines-catsrc-temp.yaml
Last active August 25, 2020 13:53
Add openshiftPipelines to your cluster using new bundle format
apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
name: nikthoma-operators
namespace: openshift-marketplace
spec:
displayName: Nikthoma Operators
image: quay.io/nikhilthomas/opo-new-rn-index:1.0.1
publisher: Nikhil Thomas
sourceType: grpc