Skip to content

Commit 936b7eb

Browse files
authored
Add examples main repository (#4374)
* Add examples to the main repository * Build and run the examples as part of the integration tests * Move docker compose and openshift templates to examples * Switch modules to java sdk * Add two missing examples * Make resolver close vertx automatically and fix some remaining examples * Fix examples build * Adapt examples * Use v3 api in maven examples
1 parent d15777a commit 936b7eb

File tree

157 files changed

+11576
-1416
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

157 files changed

+11576
-1416
lines changed

.github/workflows/integration-tests.yaml

+23
Original file line numberDiff line numberDiff line change
@@ -338,3 +338,26 @@ jobs:
338338
with:
339339
name: tests-logs-legacy-v2
340340
path: artifacts
341+
342+
build-examples:
343+
name: Build and Run Application examples
344+
runs-on: ubuntu-20.04
345+
needs: prepare-integration-tests
346+
steps:
347+
- name: Checkout Code with Ref '${{ github.ref }}'
348+
uses: actions/checkout@v2
349+
with:
350+
path: apicurio-registry
351+
352+
- name: Set up JDK 17
353+
uses: actions/setup-java@v3
354+
with:
355+
java-version: '17'
356+
distribution: 'temurin'
357+
cache: 'maven'
358+
359+
- name: Run Apicurio Registry application
360+
run: docker run -d -p 8080:8080 -it ttl.sh/${{ github.sha }}/apicurio/apicurio-registry:1d
361+
362+
- name: Build Apicurio Registry with Examples
363+
run: cd apicurio-registry && mvn clean install -DskipTests -Pexamples

.github/workflows/tag-registry-examples.yaml

-116
This file was deleted.

0 commit comments

Comments
 (0)