Skip to content

Commit fec73f8

Browse files
author
faheem
committed
docker_test
1 parent e461e1a commit fec73f8

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

.github/workflows/docker_test.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ jobs:
242242

243243
- name: Clean up
244244
run: exit 0
245+
245246
build-test-aasx-fileserver:
246247
runs-on: ubuntu-latest
247248
name: AASX File Server - Build and Start Docker Image
@@ -565,3 +566,32 @@ jobs:
565566

566567
- name: Clean up
567568
run: exit 0
569+
570+
build-test-aas-digital-twin-registry:
571+
runs-on: ubuntu-latest
572+
name: AAS Digital Twin Registry - Build and Start Docker Image
573+
steps:
574+
- uses: actions/checkout@v4
575+
576+
- name: Set up JDK 17
577+
uses: actions/setup-java@v4
578+
with:
579+
java-version: '17'
580+
distribution: 'adopt'
581+
cache: maven
582+
583+
- name: Build BaSyx
584+
run: |
585+
mvn clean install ${MVN_ARGS_BUILD_BASYX_NO_TESTS}
586+
587+
- name: Build AAS Digital Twin Registry Docker Image
588+
run: |
589+
mvn package -DskipTests -Ddocker.namespace=test \
590+
--pl "org.eclipse.digitaltwin.basyx:basyx.digitaltwinregistry.component"
591+
592+
- name: Test AAS Digital Twin Registry Docker Image
593+
run: chmod +x ./.github/workflows/scripts/build_start_docker_image.sh && \
594+
./.github/workflows/scripts/build_start_docker_image.sh test/aas-digital-twin-registry ${VERSION} test_aas_digital_twin_registry
595+
596+
- name: Clean up
597+
run: exit 0

0 commit comments

Comments
 (0)