Skip to content

Instantly share code, notes, and snippets.

View orpiske's full-sized avatar
🏠
Working from home

Otavio Rodolfo Piske orpiske

🏠
Working from home
View GitHub Profile
#!/bin/sh
# Sobe a infraestrutura para rodar os tess
docker-compose up -d
# Roda o build e os testes
mvn clean verify
# Salva o resultado do mvn. Entenda sobre isso aqui: https://tldp.org/LDP/abs/html/exit-status.html
#!/bin/sh
MAVEN_DAEMON_VERSION=0.8.1
GRAALVM_VERSION=22.2.0
GRAALVM_JAVA_VERSION=17
function prepare() {
echo "Preparing"
unset JAVA_HOME
BASE_DIR=$(pwd)
function notify-pushover() {
# Add stuff here if you want to send notifications somewhere (i.e.: your cell phone)
}
function simpleTest() {
local testInfraDir=${BASE_DIR}/test-infra/camel-test-infra-$1
local testComponent=${BASE_DIR}/components/camel-${2:-$1}
BASE_DIR=$(pwd)
function simpleTest() {
local testInfraDir=${BASE_DIR}/test-infra/camel-test-infra-$1
local testComponent=${BASE_DIR}/components/camel-${2:-$1}
if [[ ! -d ${testInfraDir} ]] ; then
echo "Skipped build and tests for $1 because ${testInfraDir} does not exist"
return
fi