chore: add drone-ci-tests and docker build #1

Merged
polpetta merged 15 commits from drone-ci-tests into devel 2023-03-27 17:16:30 +02:00
Showing only changes of commit c15e57febe - Show all commits

View File

@ -9,7 +9,26 @@ steps:
- ./mvnw package -B -DskipTests=true - ./mvnw package -B -DskipTests=true
- name: Tests - name: Tests
image: quay.io/testcontainers/dind-drone-plugin image: quay.io/testcontainers/dind-drone-plugin
build_image: eclipse-temurin:17-jdk environment:
cmd: ./mvnw test CI_WORKSPACE: "/drone/src"
prefetch_images: settings:
- "postgres:13-alpine" cmd: ./mvnw test
build_image: eclipse-temurin:17-jdk
prefetch_images:
- "postgres:13-alpine"
volumes:
- name: dockersock
path: /var/run
# Specify docker:dind as a service
services:
- name: docker
image: docker:dind
privileged: true
volumes:
- name: dockersock
path: /var/run
volumes:
- name: dockersock
temp: {}