Skip to content

Instantly share code, notes, and snippets.

View nebhale's full-sized avatar

Ben Hale nebhale

View GitHub Profile
hypnotoad master: pack build localhost:5000/jar-compiled --env BP_DEBUG=true --path applications/jar-compiled --no-pull --publish
Using default builder image builder-commercial
Selected run image localhost:5000/run from builder
Using build cache volume pack-cache-f8d8d35b8d9c.build
Executing lifecycle version 0.2.0
===> DETECTING
[detector] Trying group 1 out of 5 with 25 buildpacks...
[detector] ======== Output: Pivotal OpenJDK Buildpack ========
[detector] Application contents: [. BOOT-INF BOOT-INF/classes BOOT-INF/classes/application.properties BOOT-INF/classes/io BOOT-INF/classes/io/pivotal BOOT-INF/classes/io/pivotal/buildpackdemo BOOT-INF/classes/io/pivotal/buildpackdemo/BuildpackDemoApplication.class BOOT-INF/lib BOOT-INF/lib/classmate-1.4.0.jar BOOT-INF/lib/hibernate-validator-6.0.16.Final.jar BOOT-INF/lib/jackson-annotations-2.9.0.jar BOOT-INF/lib/jackson-core-2.9.8.jar BOOT-INF/lib/jackson-databind-2.9.8.jar BOOT-INF/lib/jackson-datatype-jdk8-2.9.8.jar BOOT-INF/lib/jackson-datatype-jsr310-2.9.8.jar
# Download and verify file
# Args: $DOWNLOAD_URI, $REFRESH_TOKEN, $SHA256
FROM ubuntu:bionic AS retrieve
RUN apt-get update && apt-get install --no-install-recommends -y \
ca-certificates \
curl \
jq \
&& rm -rf /var/lib/apt/lists/*
hypnotoad master: pack build localhost:5000/jar-compiled --path applications/jar-compiled --no-pull --publish
Using default builder image builder-commercial
Selected run image localhost:5000/run from builder
Using build cache volume pack-cache-f8d8d35b8d9c.build
Executing lifecycle version 0.2.0
===> DETECTING
[detector] Trying group 1 out of 5 with 25 buildpacks...
[detector] ======== Results ========
[detector] Pivotal OpenJDK Buildpack: pass
[detector] Pivotal Build System Buildpack: skip
/*
* Copyright 2017-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/bin/java -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:50526,suspend=y,server=n -ea -Didea.test.cyclic.buffer.size=1048576 -javaagent:/Users/bhale/Library/Caches/IntelliJIdea2018.2/captureAgent/debugger-agent.jar=file:/private/var/folders/4s/s0q91yl15yx58mknw4q934540000gn/T/capture.props -Dfile.encoding=UTF-8 -classpath "/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/junit/lib/junit-rt.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/junit/lib/junit5-rt.jar:/Users/bhale/.m2/repository/org/junit/platform/junit-platform-launcher/1.3.1/junit-platform-launcher-1.3.1.jar:/Users/bhale/.m2/repository/org/apiguardian/apiguardian-api/1.0.0/apiguardian-api-1.0.0.jar:/Users/bhale/.m2/repository/org/junit/platform/junit-platform-engine/1.3.1/junit-platform-engine-1.3.1.jar:/Users/bhale/.m2/repository/org/junit/platform/junit-platform-commons/1.3.1/junit-platform-commons-1.3.1.jar:/Users/b
@nebhale
nebhale / rsocket-core.xml
Created May 11, 2018 18:04
Example POMs for `rocket-java`
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>io.rsocket</groupId>
<artifactId>rsocket-core</artifactId>
<version>0.11.0.BUILD-SNAPSHOT</version>
<name>rsocket-core</name>
<description>Core functionality for the RSocket library</description>
<url>http://rsocket.io</url>
<licenses>
This file has been truncated, but you can view the full file.
Cloning into '/tmp/build/get'...
Fetching HEAD
bb2350d More Intelligently Find Test Agent
initializing
running jvmkill/ci/test.sh
cargo 0.26.0 (41480f5cc 2018-02-26)
 Updating registry `https://github.com/rust-lang/crates.io-index`
 Fetch [> ] 2.76%
 Fetch [=> ] 4.49%
 Fetch [==> ] 6.18%
cf logshypnotoad master: cf logs java-main-application
Retrieving logs for app java-main-application in org bhale / space development as [email protected]...
2018-03-07T11:21:47.84-0800 [CELL/0] OUT Stopping instance b2f5fc4d-4c2a-4581-43bc-5487
2018-03-07T11:21:47.89-0800 [API/9] OUT Creating build for app with guid 6ff0a336-5527-401d-817f-2a900b7ffd79
2018-03-07T11:21:47.86-0800 [APP/PROC/WEB/0] OUT 2018-03-07 19:21:47.859 INFO 18 --- [ Thread-3] ConfigServletWebServerApplicationContext : Closing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@2d363fb3: startup date [Wed Mar 07 08:03:05 UTC 2018]; root of context hierarchy
2018-03-07T11:21:47.90-0800 [APP/PROC/WEB/0] OUT 2018-03-07 19:21:47.904 INFO 18 --- [ Thread-3] o.s.c.support.DefaultLifecycleProcessor : Stopping beans in phase 2147483647
2018-03-07T11:21:47.90-0800 [APP/PROC/WEB/0] OUT 2018-03-07 19:21:47.906 INFO 18 --- [ Thread-3] o.s.c.support.DefaultLifecycleProce
Century Schoolbook L
DejaVu Sans
DejaVu Sans Mono
DejaVu Serif
Dialog
DialogInput
Dingbats
Monospaced
Nimbus Mono L
Nimbus Roman No9 L
/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/bin/java -Dio.netty.leakDetection.level=PARANOID -Dio.netty.leakDetection.maxRecords=32 "-javaagent:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar=62812:/Applications/IntelliJ IDEA.app/Contents/bin" -Dfile.encoding=UTF-8 -classpath /Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/deploy.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/cldrdata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/dnsns.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/jaccess.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/jfxrt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/localedata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/nashorn.jar:/Library/Java