Skip to content

Instantly share code, notes, and snippets.

View garethahealy's full-sized avatar

Gareth Healy garethahealy

View GitHub Profile
@garethahealy
garethahealy / MigStorage.yaml
Created June 20, 2019 15:57
MigStorage ready
- apiVersion: migration.openshift.io/v1alpha1
kind: MigStorage
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"migration.openshift.io/v1alpha1","kind":"MigStorage","metadata":{"annotations":{},"labels":{"controller-tools.k8s.io":"1.0"},"name":"migstorage-sample","namespace":"mig"},"spec":{"backupStorageConfig":{"awsBucketName":"minishift","awsRegion":"eu-west-1","credsSecretRef":{"name":"migstorage-creds","namespace":"mig"}},"backupStorageProvider":"aws","volumeSnapshotConfig":{"awsRegion":"eu-west-1","credsSecretRef":{"name":"migstorage-creds","namespace":"mig"}},"volumeSnapshotProvider":"aws"}}
touch: 2f48fa04-3599-4613-90b9-42b69160e454
creationTimestamp: "2019-06-20T15:09:48Z"
generation: 1
labels:
$ oc get pods
NAME READY STATUS RESTARTS AGE
certified-operators-cf9c5bd58-n5wjz 1/1 Running 0 23h
community-operators-574fbdf494-mwvvh 1/1 Running 0 12h
enmasse-operators-66898fdcd5-6dckj 1/1 Running 0 5m11s
installed-enmasse-operators-b7f74fd6d-2qc7q 1/1 Running 0 37s
marketplace-operator-7f86794fcd-wdlj5 1/1 Running 0 23h
redhat-operators-59ddb5ffb9-b4wgr 1/1 Running 0 23h
$ oc get events
@garethahealy
garethahealy / console.log
Last active May 10, 2019 08:58
podman-remote run
$ podman-remote version
Version: 1.3.1-dev
RemoteAPI Version: 1
Go Version: go1.11.10
Git Commit: 627dbd49c5a80146e5806797243b63d0bd157760
Built: Thu May 9 13:09:27 2019
OS/Arch: darwin/amd64
$ podman-remote info --debug
client:
@garethahealy
garethahealy / console.log
Created May 1, 2019 14:05
podman images
tc@box:~$ podman images
REPOSITORY TAG IMAGE ID CREATED SIZE
docker.io/ssorj/quiver latest dc47d3b9dd1a 3 months ago 1.18 GB
vs
MacBook-Pro:~ garethhealy$ podman-remote images
REPOSITORY TAG IMAGE ID CREATED SIZE
@garethahealy
garethahealy / info.log
Created May 1, 2019 14:03
podman-remote info
MacBook-Pro:~ garethhealy$ podman-remote info
client:
OS Arch: darwin/amd64
Podman Version: 1.3.0-dev
RemoteAPI Version: 1
host:
arch: amd64
buildah_version: 1.7.2
cpus: 1
distribution:
@garethahealy
garethahealy / mvn.log
Created April 21, 2019 09:23
dozer-osgi junit output
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running com.github.dozermapper.osgitests.CoreMinimalDependenciesKarafContainerTest
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/Users/garethhealy/.m2/repository/org/ops4j/pax/logging/pax-logging-api/1.10.1/pax-logging-api-1.10.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/Users/garethhealy/.m2/repository/org/slf4j/slf4j-simple/1.7.25/slf4j-simple-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.ops4j.pax.logging.slf4j.Slf4jLoggerFactory]
[org.ops4j.pax.exam.spi.DefaultExamSystem] : Pax Exam System (Version: 4.13.1) created.
@garethahealy
garethahealy / karaf.log
Created April 21, 2019 09:22
dozer-osgi-karaf
MacBook-Pro:dozer-osgi-tests garethhealy$ tail -f target/paxexam/unpack/c21e2099-f85b-4f07-be56-08997af5f7f4/data/log/karaf.log
Apr 19, 2019 5:32:43 PM org.apache.karaf.main.Main launch
INFO: Installing and starting initial bundles
Apr 19, 2019 5:32:43 PM org.apache.karaf.main.Main launch
INFO: All initial bundles installed and set to start
Apr 19, 2019 5:32:43 PM org.apache.karaf.main.lock.SimpleFileLock lock
INFO: Trying to lock /Users/garethhealy/Documents/github/dozermapper/dozer/tests/dozer-osgi-tests/target/paxexam/unpack/c21e2099-f85b-4f07-be56-08997af5f7f4/lock
Apr 19, 2019 5:32:43 PM org.apache.karaf.main.lock.SimpleFileLock lock
INFO: Lock acquired
Apr 19, 2019 5:32:43 PM org.apache.karaf.main.Main$KarafLockCallback lockAcquired
@garethahealy
garethahealy / vertx-proton.log
Created January 22, 2019 15:50
quiver vertx proton dns log
MacBook-Pro:quiverdemo garethhealy$ oc logs quiver-kk0d4
quiver: Calling 'quiver-arrow receive //broker-amq-amqp:5672/vertx-proton --impl vertx-proton --count 1m --body-size 100 --credit 1000 --transaction-size 0 --timeout 10 --verbose --output /tmp/quiver-ozz7h1jv'
quiver: Calling 'quiver-arrow send //broker-amq-amqp:5672/vertx-proton --impl vertx-proton --count 1m --body-size 100 --credit 1000 --transaction-size 0 --timeout 10 --verbose --output /tmp/quiver-ozz7h1jv'
quiver-arrow: Making directory '/tmp/quiver-ozz7h1jv'
quiver-arrow: Saving output files to '/tmp/quiver-ozz7h1jv'
quiver-arrow: Making directory '/tmp/quiver-ozz7h1jv'
quiver-arrow: Saving output files to '/tmp/quiver-ozz7h1jv'
quiver-arrow: Calling '/usr/lib/quiver/impls/quiver-arrow-vertx-proton client active receive quiver-receiver-3d6c24e2 broker-amq-amqp 5672 vertx-proton 0 1000000 100 1000 0 '
quiver-arrow: Calling '/usr/lib/quiver/impls/quiver-arrow-vertx-proton client active send quiver-sender-ff90b622 broker-amq-amqp 5672 vertx-proton
[INFO] Running com.github.dozermapper.osgitests.CoreMinimalDependenciesKarafContainerTest
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/Users/garethhealy/.m2/repository/org/ops4j/pax/logging/pax-logging-api/1.10.1/pax-logging-api-1.10.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/Users/garethhealy/.m2/repository/org/slf4j/slf4j-simple/1.7.25/slf4j-simple-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.ops4j.pax.logging.slf4j.Slf4jLoggerFactory]
[org.ops4j.pax.exam.spi.DefaultExamSystem] : Pax Exam System (Version: 4.12.0) created.
[org.ops4j.store.intern.TemporaryStore] : Storage Area is /var/folders/0p/0xd2gz9x0x1f4p7c7qdckmq40000gn/T/1541884589081-0
[org.ops4j.pax.exam.junit.impl.ProbeRunner] : creating PaxExam runner for class com.github.dozermapper.osgitests.CoreMinimalDependenciesKarafContainerTest
[org.op
def generateJinja2DashboardStep(index, openshiftMap) {
echo "$index == $openshiftMap"
openshiftMap.each { project ->
sh """
echo "hello${project}" >> batch${index}.tmp
"""
}
def batchName = "batch${index}"