{
"QUARKUS_LOG_LEVEL": "TRACE",
"RESTEASY_ORIGINAL_WEBAPPLICATIONEXCEPTION_BEHAVIOR": "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
// Instead of "include ':module'", search for all gradle files in sub-folders | |
dependencyResolutionManagement { | |
repositories { | |
mavenCentral() | |
} | |
rootDir.parentFile.listFiles()?.findAll { | |
new File(it, "settings.gradle").exists() | |
}?.each { | |
includeBuild it.path | |
} |
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
import org.springframework.boot.test.context.SpringBootTest; | |
import org.springframework.test.context.ActiveProfiles; | |
import org.springframework.test.context.DynamicPropertyRegistry; | |
import org.springframework.test.context.DynamicPropertySource; | |
import org.testcontainers.containers.GenericContainer; | |
import org.testcontainers.junit.jupiter.Container; | |
import org.testcontainers.junit.jupiter.Testcontainers; | |
@Testcontainers |
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
import lombok.extern.slf4j.Slf4j; | |
import org.springframework.beans.factory.annotation.Value; | |
import org.springframework.context.annotation.Bean; | |
import org.springframework.context.annotation.Configuration; | |
import org.springframework.context.annotation.Primary; | |
import org.springframework.context.annotation.Profile; | |
import software.amazon.awssdk.auth.credentials.AwsCredentials; | |
import software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider; | |
import software.amazon.awssdk.auth.credentials.StaticCredentialsProvider; |
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
# location: .github/workflow/tag-publish.yml | |
name: tag-publish | |
on: | |
push: | |
tags: [ '*' ] | |
permissions: | |
id-token: write |
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
version '3.7' | |
services: | |
minio: | |
image: quay.io/minio/minio:latest | |
command: server /data --console-address ":9001" | |
ports: | |
- "9000:9000" | |
- "9001:9001" | |
environment: |
I hereby claim:
- I am bitkill on github.
- I am bitkill (https://keybase.io/bitkill) on keybase.
- I have a public key ASA4DpV0Dh3Q887kLsuD3h6O0-RIyblG2MBW4SSZUo3JKwo
To claim this, I am signing this object:
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 bash | |
RETRIES=10 | |
while !</dev/tcp/postgres/5432 & [ $RETRIES -eq 0 ]; do | |
echo "Waiting for postgres server, $((RETRIES--)) remaining attempts..."; | |
sleep 1; | |
done; |
NewerOlder