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
#!/usr/bin/env ansible-playbook -c local | |
--- | |
- hosts: localhost | |
connection: local | |
vars: | |
ocp_version: 4.5.2 | |
okd_image: quay.io/openshift/okd:4.5.0-0.okd-2020-07-14-153706-ga | |
tasks: | |
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
{ | |
"files.exclude": { | |
"**/.classpath": true, | |
"**/.factorypath": true, | |
"**/.idea": true, | |
"**/.iml": true, | |
"**/.mvn": true, | |
"**/.project": true, | |
"**/.settings": true, | |
"**/.vagrant": 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
#!/usr/bin/env ansible-playbook -c local | |
--- | |
- hosts: localhost | |
vars: | |
dest_dir: "{{ansible_env.HOME}}/openshift/bin" | |
tasks: | |
- name: OS | |
debug: msg="OS Family is {{ansible_os_family}}" | |
- name: Make sure destination exists |
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: serving.knative.dev/v1 | |
kind: Service | |
metadata: | |
name: myboot | |
spec: | |
template: | |
spec: | |
containers: | |
- image: quay.io/rhdevelopers/myboot:v2 | |
livenessProbe: |
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: v1 | |
kind: Service | |
metadata: | |
name: myboot | |
labels: | |
app: myboot | |
spec: | |
ports: | |
- name: http | |
port: 8080 |
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: |
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
%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
#!/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
==> 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 |