@@ -373,70 +373,6 @@ jobs:
373
373
374
374
- uses : ./.github/actions/teardown
375
375
376
- CITestsWithRedis :
377
- needs : PublishJibContainers
378
- runs-on : ubuntu-latest
379
- container : ubuntu:latest
380
- timeout-minutes : 15
381
-
382
- services :
383
- api-catalog-services :
384
- image : ghcr.io/balhar-jakub/api-catalog-services:${{ github.event.pull_request.number || 'latest' }}
385
- volumes :
386
- - /api-defs:/api-defs
387
- caching-service :
388
- image : ghcr.io/balhar-jakub/caching-service:${{ github.event.pull_request.number || 'latest' }}
389
- env :
390
- ZWE_CACHING_SERVICE_PERSISTENT : ' redis'
391
- CACHING_STORAGE_REDIS_MASTERNODEURI : ' default:heslo@localhost:6379'
392
- CACHING_STORAGE_REDIS_SSL_ENABLED : true
393
- discoverable-client :
394
- image : ghcr.io/balhar-jakub/discoverable-client:${{ github.event.pull_request.number || 'latest' }}
395
- discovery-service :
396
- image : ghcr.io/balhar-jakub/discovery-service:${{ github.event.pull_request.number || 'latest' }}
397
- volumes :
398
- - /api-defs:/api-defs
399
- gateway-service :
400
- image : ghcr.io/balhar-jakub/gateway-service:${{ github.event.pull_request.number || 'latest' }}
401
- mock-services :
402
- image : ghcr.io/balhar-jakub/mock-services:${{ github.event.pull_request.number || 'latest' }}
403
- env :
404
- ZOSMF_APPLIEDAPARS : AuthenticateApar
405
- redis-master :
406
- image : redis:latest
407
- ports :
408
- - " 6379:6379"
409
-
410
- redis-replica :
411
- image : redis:latest
412
- ports :
413
- - " 6380:6380"
414
-
415
- steps :
416
- - uses : actions/checkout@v2
417
- with :
418
- ref : ${{ github.head_ref }}
419
-
420
- - uses : ./.github/actions/setup
421
-
422
- - name : Build with Gradle
423
- run : >
424
- ./gradlew :integration-tests:runCachingServiceTests --info -Denvironment.config=-docker -Denvironment.offPlatform=true
425
- -Partifactory_user=${{ secrets.ARTIFACTORY_USERNAME }} -Partifactory_password=${{ secrets.ARTIFACTORY_PASSWORD }}
426
-
427
- - uses : ./.github/actions/dump-jacoco
428
- if : always()
429
-
430
- - name : Store results
431
- uses : actions/upload-artifact@v3
432
- if : always()
433
- with :
434
- name : ContainerCITestsWithRedis-${{ env.JOB_ID }}
435
- path : |
436
- integration-tests/build/reports/**
437
- results/**
438
- - uses : ./.github/actions/teardown
439
-
440
376
CITestsWithRedisWithoutSslVerification :
441
377
needs : PublishJibContainers
442
378
runs-on : ubuntu-latest
@@ -451,8 +387,8 @@ jobs:
451
387
caching-service :
452
388
image : ghcr.io/balhar-jakub/caching-service:${{ github.event.pull_request.number || 'latest' }}
453
389
env :
454
- ZWE_CACHING_SERVICE_PERSISTENT : ' redis'
455
- CACHING_STORAGE_REDIS_MASTERNODEURI : ' default:heslo@localhost :6379'
390
+ CACHING_STORAGE_MODE : ' redis'
391
+ CACHING_STORAGE_REDIS_MASTERNODEURI : ' default:heslo@redis-master :6379'
456
392
CACHING_STORAGE_REDIS_SSL_ENABLED : false
457
393
VERIFY_CERTIFICATES : false
458
394
discoverable-client :
@@ -500,6 +436,7 @@ jobs:
500
436
name : ContainerCITestsWithRedisWithoutSslVerification-${{ env.JOB_ID }}
501
437
path : |
502
438
integration-tests/build/reports/**
439
+ results/**
503
440
504
441
- uses : ./.github/actions/teardown
505
442
@@ -1136,7 +1073,7 @@ jobs:
1136
1073
- uses : ./.github/actions/teardown
1137
1074
1138
1075
PublishResults :
1139
- needs : [CITests,CITestsWithInfinispan,CITestsZosmfRsu2012,CITestsWithRedis ,CITestsInternalPort]
1076
+ needs : [CITests,CITestsWithInfinispan,CITestsZosmfRsu2012,CITestsWithRedisWithoutSslVerification ,CITestsInternalPort]
1140
1077
runs-on : ubuntu-latest
1141
1078
timeout-minutes : 15
1142
1079
@@ -1163,15 +1100,15 @@ jobs:
1163
1100
path : containercitestszosmfrsu2012
1164
1101
- uses : actions/download-artifact@v3
1165
1102
with :
1166
- name : ContainerCITestsWithRedis -${{ env.JOB_ID }}
1167
- path : containercitestswithredis
1103
+ name : ContainerCITestsWithRedisWithoutSslVerification -${{ env.JOB_ID }}
1104
+ path : containercitestswithrediswithoutsslverification
1168
1105
- uses : actions/download-artifact@v3
1169
1106
with :
1170
1107
name : ContainerCITestsInternalPort-${{ env.JOB_ID }}
1171
1108
path : containercitestsinternalport
1172
1109
- name : Code coverage and publish results
1173
1110
run : >
1174
- ./gradlew --info coverage sonarqube -Dresults="containercitests/results,citestswithinfinispan/results,containercitestszosmfrsu2012/results,containercitestswithredis /results,containercitestsinternalport/results"
1111
+ ./gradlew --info coverage sonarqube -Dresults="containercitests/results,citestswithinfinispan/results,containercitestszosmfrsu2012/results,containercitestswithrediswithoutsslverification /results,containercitestsinternalport/results"
1175
1112
-Psonar.host.url=$SONAR_HOST_URL -Dsonar.login=$SONAR_TOKEN
1176
1113
-Partifactory_user=$ARTIFACTORY_USERNAME -Partifactory_password=$ARTIFACTORY_PASSWORD
1177
1114
env :
0 commit comments