99 pull_request :
1010 branches : [ master ]
1111
12+ env :
13+ TARANTOOL_REGISTRY : " registry.ps.tarantool.io/"
14+ TESTCONTAINERS_HUB_IMAGE_NAME_PREFIX : " registry.ps.tarantool.io/"
15+
1216jobs :
1317 tests-cartridge-container :
1418 runs-on : ubuntu-latest
2529 java-version : ' 8'
2630 cache : ' maven'
2731
32+ - name : Docker login to private registry
33+ run : docker login "$TARANTOOL_REGISTRY" -u admin -p "${{ secrets.TARANTOOL_REGISTRY_PASSWORD }}"
34+
2835 - name : Build and run unit tests
2936 run : ./mvnw -B verify -Djacoco.destFile=target/jacoco-cartridge-container.exec --file pom.xml
3037
3542 TARANTOOL_VERSION : " 2.11.2-ubuntu20.04"
3643 run : ./mvnw -B test -P integration -Djacoco.destFile=target/jacoco-cartridge-container.exec --file pom.xml
3744
45+ - name : Print system images
46+ run : docker images
47+
3848 - name : Upload jacoco exec results
3949 uses : actions/upload-artifact@v4
4050 with :
4353 retention-days : 5
4454 overwrite : true
4555
46- tests-ee :
47- runs-on : ubuntu-latest
48- timeout-minutes : 20
49- steps :
50- - uses : actions/checkout@v4
51-
52- - name : Set up JDK 1.8
53- uses : actions/setup-java@v4
54- with :
55- distribution : ' zulu'
56- java-version : ' 8'
57- cache : ' maven'
58-
59- - name : Run enterprise tests
60- env :
61- TARANTOOL_SERVER_USER : root
62- TARANTOOL_SERVER_GROUP : root
63- DOWNLOAD_HOST : https://tarantool:${{ secrets.DOWNLOAD_SDK_TOKEN }}@download.tarantool.io
64- SDK_PATH : enterprise/release/linux/x86_64/2.11/tarantool-enterprise-sdk-nogc64-2.11.2-0-r609.linux.x86_64.tar.gz
65- run : ./mvnw -B test -P enterprise -Djacoco.destFile=target/jacoco-ee.exec --file pom.xml
66-
67- - name : Upload jacoco exec results
68- uses : actions/upload-artifact@v4
69- with :
70- name : tests-ee-jacoco
71- path : " **/jacoco-ee.exec"
72- retention-days : 5
73- overwrite : true
74-
7556 tests-tarantool-container :
7657 runs-on : ubuntu-latest
7758 timeout-minutes : 25
@@ -89,13 +70,19 @@ jobs:
8970 java-version : ' 8'
9071 cache : ' maven'
9172
73+ - name : Docker login to private registry
74+ run : docker login "$TARANTOOL_REGISTRY" -u admin -p "${{ secrets.TARANTOOL_REGISTRY_PASSWORD }}"
75+
9276 - name : Build and run integration matrix tests
9377 env :
9478 TARANTOOL_VERSION : ${{ matrix.tarantool-version }}
9579 TARANTOOL_SERVER_USER : root
9680 TARANTOOL_SERVER_GROUP : root
9781 run : ./mvnw -B test -P tarantool-container -Djacoco.destFile=target/jacoco-tarantool-container.exec --file pom.xml
9882
83+ - name : Print system images
84+ run : docker images
85+
9986 - name : Upload jacoco exec results
10087 uses : actions/upload-artifact@v4
10188 with :
10895 name : Jacoco Merge Results
10996 needs :
11097 - tests-cartridge-container
111- - tests-ee
11298 - tests-tarantool-container
11399 runs-on : ubuntu-latest
114100 steps :
@@ -126,11 +112,6 @@ jobs:
126112 name : tests-cartridge-container-jacoco
127113 path : .
128114
129- - uses : actions/download-artifact@v4
130- with :
131- name : tests-ee-jacoco
132- path : .
133-
134115 - uses : actions/download-artifact@v4
135116 with :
136117 name : tests-tarantool-container-jacoco
@@ -149,7 +130,6 @@ jobs:
149130 if-no-files-found : error
150131 overwrite : true
151132
152-
153133 - name : Jacoco Report to PR
154134 id : jacoco
155135 uses : madrapps/jacoco-report@v1.6.1
0 commit comments