I hereby claim:
- I am kg6zvp on github.
- I am kg6zvp (https://keybase.io/kg6zvp) on keybase.
- I have a public key ASB1SwTBS2cDKuN1pyl5UP99dpy8C25cxlVTChqlLdHxYAo
To claim this, I am signing this object:
| apiVersion: apps/v1 | |
| kind: Deployment | |
| metadata: | |
| name: prometheus-deployment | |
| labels: | |
| app: prometheus | |
| spec: | |
| replicas: 1 | |
| selector: | |
| matchLabels: |
| #!/bin/bash | |
| # CI_REPOSITORY_URL: source repo | |
| # DEST_REPO_URL: destination repo (ie: username/repo.git) | |
| # GH_EMAIL: github e-mail | |
| # GH_NAME: github name | |
| # GITHUB_PERSONAL_ACCESS_TOKEN: github access token | |
| # GH_USERNAME: github username | |
| # SRC_BR: source branch | |
| # DEST_BR: destination branch |
| #!/bin/bash | |
| #apk update && apk add openssl ca-certificates git # uncomment if you're using the maven:alpine image | |
| git clone 'https://github.com/kg6zvp/thorntail.git'> /dev/null | |
| cd thorntail/ && git checkout 4x_stable | |
| # git checkout $COMMIT_HASH # uncomment this line if you want to lock CI down to a specific commit hash | |
| mvn -DskipDocker -DskipTests install -pl '!docs,!howto/openshift,!howto/openshift-s2i' | |
| cd .. && rm -rf thorntail |
I hereby claim:
To claim this, I am signing this object:
| <?xml version="1.0" encoding="UTF-8"?> | |
| <persistence> | |
| <persistence-unit name="tutorial"> | |
| <properties> | |
| <property name="javax.persistence.schema-generation.database.action" value="create" /> | |
| <!-- Don't worry about these, they are there to make the tutorial easier to follow --> | |
| <property name="hibernate.show_sql" value="true"/> | |
| <property name="hibernate.format_sql" value="true"/> | |
| <property name="hibernate.use_sql_comments" value="true"/> |
| package com.airhacks; | |
| import java.util.Arrays; | |
| import java.util.stream.Collectors; | |
| import javax.enterprise.context.RequestScoped; | |
| /** | |
| * | |
| * @author smccollum | |
| */ |