This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package dev.jbang.util; | |
import java.io.*; | |
public class input { | |
public static void main(String... args) throws IOException { | |
Reader r; | |
if (args.length == 0 || args[0].equals("-")) { | |
r = new InputStreamReader(System.in); | |
} else { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM registry.access.redhat.com/ubi8/ubi:latest | |
RUN dnf install -y cpio yum-utils | |
RUN useradd -ms /bin/bash notroot | |
RUN ln -s /home/notroot/pkgs/usr/bin/node /usr/bin/node ; \ | |
ln -s /home/notroot/pkgs/usr/bin/npm /usr/bin/npm ; \ | |
ln -s /home/notroot/pkgs/usr/bin/npx /usr/bin/npx |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: tekton.dev/v1beta1 | |
kind: Task | |
metadata: | |
name: quarkus-build | |
spec: | |
params: | |
- name: BUILDER_IMAGE | |
description: The location of the s2i builder image. | |
default: quay.io/quarkus/centos-quarkus-maven:20.1.0-java11 | |
- name: PATH_CONTEXT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"boosters": [ | |
{ | |
"metadata": { | |
"app": { | |
"osio": { | |
"enabled": false | |
}, | |
"launcher": { | |
"runsOn": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"boosters": [ | |
{ | |
"metadata": { | |
"app": { | |
"osio": { | |
"enabled": true | |
} | |
} | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"boosters": [ | |
{ | |
"metadata": { | |
"app": { | |
"osio": { | |
"enabled": false | |
}, | |
"launcher": { | |
"runsOn": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"metadata": { | |
"runsOn": [ | |
"!starter", | |
"!osio" | |
] | |
}, | |
"mission": "circuit-breaker", | |
"name": "Red Hat Fuse - Circuit Breaker Example", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
swagger: '2.0' | |
info: | |
version: '2.0.0' | |
title: Launcher Backend API | |
description: This document defines the REST endpoints exposed by the launcher-backend component | |
host: forge.api.prod-preview.openshift.io | |
basePath: /api | |
schemes: | |
- https |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//$webrun_wrapped | |
shared void run() { | |
Anything(String)? onEvent = null; | |
if (exists onEvent) { | |
onEvent("foo"); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
native("jvm") | |
module selftypecheck "1.0.0" { | |
import ceylon.interop.java "1.3.1-SNAPSHOT"; | |
import com.redhat.ceylon.typechecker "1.3.1-SNAPSHOT"; | |
import com.redhat.ceylon.compiler.java "1.3.1-SNAPSHOT"; | |
} |
NewerOlder