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: 1.0.0 | |
metadata: | |
name: quarkus-workshop | |
projects: | |
- name: quarkus-tutorial | |
source: | |
type: git | |
location: 'https://github.com/redhat-developer-demos/quarkus-tutorial.git' | |
components: | |
- id: redhat/vscode-yaml/latest |
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: operators.coreos.com/v1 | |
kind: CatalogSourceConfig | |
metadata: | |
name: rhd-workshop-packages | |
namespace: openshift-marketplace | |
spec: | |
targetNamespace: openshift-operators | |
packages: knative-serving-operator,knative-eventing-operator,openshift-pipelines-operator,elasticsearch-operator,jaeger-product,kiali-ossm,servicemeshoperator | |
source: community-operators |
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
podman run -dt --rm --pod new:db --name mariadb -e MYSQL_ROOT_PASSWORD=superS3cret! -e MYSQL_USER=demo -e MYSQL_DATABASE=demodb -e MYSQL_PASSWORD=password -p 3306:3306 -p 8082:8080 mariadb:10.4.4 | |
podman run -dt --rm --pod db --name adminer adminer:4.7.3-standalone | |
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
2019/12/20 02:15:28 Camel K is correctly installed in the cluster. | |
2019/12/20 02:15:29 Registering Components. | |
2019/12/20 02:15:29 Setting up Controllers. | |
2019/12/20 02:15:29 Adding the Camel Source controller. | |
{"level":"panic","ts":1576808129.4429235,"logger":"fallback","caller":"addressable/addressable.go:56","msg":"Unable to fetch knative.dev/pkg/apis/duck.InformerFactory from context.","stacktrace":"knative.dev/eventing-contrib/vendor/knative.dev/pkg/client/injection/ducks/duck/v1/addressable.Get\n\t/home/prow/go/src/knative.dev/eventing-contrib/vendor/knative.dev/pkg/client/injection/ducks/duck/v1/addressable/addressable.go:56\nknative.dev/eventing-contrib/vendor/knative.dev/pkg/resolver.NewURIResolver\n\t/home/prow/go/src/knative.dev/eventing-contrib/vendor/knative.dev/pkg/resolver/addressable_resolver.go:53\nknative.dev/eventing-contrib/camel/source/pkg/reconciler.Add\n\t/home/prow/go/src/knative.dev/eventing-contrib/camel/source/pkg/reconciler/camelsource.go:80\nmain.main\n\t/home/prow/go/src/knative. |
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: sources.eventing.knative.dev/v1alpha1 | |
kind: CamelSource | |
metadata: | |
name: timed-greeter | |
spec: | |
integration: | |
dependencies: | |
- camel:log | |
source: |- | |
from("timer:tick?period=10s") |
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
==> Docker <== | |
-- Logs begin at Tue 2020-01-14 17:41:32 UTC, end at Tue 2020-01-14 17:44:33 UTC. -- | |
Jan 14 17:42:20 knative dockerd[2006]: time="2020-01-14T17:42:20.097921453Z" level=info msg="shim containerd-shim started" address="/containerd-shim/moby/6d6fbda74600f34c8f7c8bfa384a659e8a369aa4c00cf650ae89acaa262e7d00/shim.sock" debug=false pid=6980 | |
Jan 14 17:42:20 knative dockerd[2006]: time="2020-01-14T17:42:20.314972238Z" level=info msg="shim containerd-shim started" address="/containerd-shim/moby/0adb09986eb7bc84c540bcc948cb0cc891a7f63b1ca93c99810401c85f1a2cb1/shim.sock" debug=false pid=7114 | |
Jan 14 17:42:20 knative dockerd[2006]: time="2020-01-14T17:42:20.322412868Z" level=info msg="shim containerd-shim started" address="/containerd-shim/moby/3a3eb1723c45efa042e707be766b87322620c47ecba3c1043d615f55a1c346cb/shim.sock" debug=false pid=7145 | |
Jan 14 17:42:20 knative dockerd[2006]: time="2020-01-14T17:42:20.446113394Z" level=info msg="shim containerd-shim started" address="/containerd-shim/moby/f4ed9a00d42eebf37 |
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
#!/bin/bash | |
# do your maven build here | |
# get the build artifact name | |
ARTIFACT_NAME=$(mvn org.apache.maven.plugins:maven-help-plugin:3.1.1:evaluate -Dexpression=project.build.finalName -q -DforceStdout) | |
ARTIFACT_VERSION=$(mvn org.apache.maven.plugins:maven-help-plugin:3.1.1:evaluate -Dexpression=project.version -q -DforceStdout) | |
IMAGE_NAME=${APP_NAME:-"dev.local/example/$ARTIFACT_NAME:$ARTIFACT_VERSION"} |
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
%dev.quarkus.datasource.url=jdbc:mariadb://192.168.99.112:31333/demodb | |
%prod.quarkus.datasource.url=jdbc:mariadb://mariadb:3306/demodb | |
quarkus.datasource.driver=org.mariadb.jdbc.MariaDbDataSource | |
quarkus.hibernate-orm.dialect=org.hibernate.dialect.MariaDB103Dialect | |
quarkus.datasource.username=demo | |
quarkus.datasource.password=password | |
quarkus.hibernate-orm.database.generation=drop-and-create | |
quarkus.hibernate-orm.log.sql=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
==> CRI-O <== | |
-- Logs begin at Thu 2020-04-16 06:07:16 UTC, end at Thu 2020-04-16 06:14:19 UTC. -- | |
Apr 16 06:14:15 podman-node crio[1923]: time="2020-04-16 06:14:15.151077104Z" level=debug msg="response: &ListPodSandboxResponse{Items:[]*PodSandbox{&PodSandbox{Id:45cf273a5153ed11df1a8d7a52253fb179f07f19ff8f96bbad3d4893239d383c,Metadata:&PodSandboxMetadata{Name:storage-provisioner,Uid:61fcf0d5-42b1-495c-ac5c-6b6005a85217,Namespace:kube-system,Attempt:0,},State:SANDBOX_READY,CreatedAt:1587017348241562752,Labels:map[string]string{addonmanager.kubernetes.io/mode: Reconcile,integration-test: storage-provisioner,io.kubernetes.container.name: POD,io.kubernetes.pod.name: storage-provisioner,io.kubernetes.pod.namespace: kube-system,io.kubernetes.pod.uid: 61fcf0d5-42b1-495c-ac5c-6b6005a85217,},Annotations:map[string]string{kubectl.kubernetes.io/last-applied-configuration: {\"apiVersion\":\"v1\",\"kind\":\"Pod\",\"metadata\":{\"annotations\":{},\"labels\":{\"addonmanager.kubernetes.io/mode\":\"Reconcile\",\"integration-t |
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: apps/v1 | |
kind: Deployment | |
metadata: | |
labels: | |
app: myboot | |
name: myboot | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: |