4848 --health-interval 10s
4949 --health-timeout 30s
5050 --health-retries 5
51- elasticsearch6 : &ES6_SERVICE
52- image : elasticsearch:6.8.23
53- ports :
54- - 9201:9200
55- options : >-
56- --health-cmd "curl -sf http://localhost:9200/_cluster/health?wait_for_status=yellow&timeout=30s"
57- --health-interval 10s
58- --health-timeout 30s
59- --health-retries 5
6051 postgres : &POSTGRES_SERVICE
6152 image : postgres
6253 env :
7667 run : poetry run python3 -m invoke test-ci-addons --junit
7768 env :
7869 ELASTIC8_URI : http://localhost:9202
79- ELASTIC6_URI : http://localhost:9201
8070 - name : Upload report
8171 if : (success() || failure()) # run this step even if previous step failed
8272 uses : ./.github/actions/gen-report
10494 checks : write
10595 services :
10696 elasticsearch8 : *ES8_SERVICE
107- elasticsearch6 : *ES6_SERVICE
10897 postgres : *POSTGRES_SERVICE
10998 steps :
11099 - uses : actions/checkout@v6
@@ -115,7 +104,6 @@ jobs:
115104 run : poetry run python3 -m invoke test-ci-api1-and-js --junit
116105 env :
117106 ELASTIC8_URI : http://localhost:9202
118- ELASTIC6_URI : http://localhost:9201
119107 - name : Upload report
120108 if : (success() || failure()) # run this step even if previous step failed
121109 uses : ./.github/actions/gen-report
@@ -127,7 +115,6 @@ jobs:
127115 checks : write
128116 services :
129117 elasticsearch8 : *ES8_SERVICE
130- elasticsearch6 : *ES6_SERVICE
131118 postgres : *POSTGRES_SERVICE
132119 steps :
133120 - uses : actions/checkout@v6
@@ -136,7 +123,6 @@ jobs:
136123 run : poetry run python3 -m invoke test-ci-api2 --junit
137124 env :
138125 ELASTIC8_URI : http://localhost:9202
139- ELASTIC6_URI : http://localhost:9201
140126 - name : Upload report
141127 if : (success() || failure()) # run this step even if previous step failed
142128 uses : ./.github/actions/gen-report
@@ -155,7 +141,6 @@ jobs:
155141 run : poetry run python3 -m invoke test-ci-api3-and-osf --junit
156142 env :
157143 ELASTIC8_URI : http://localhost:9202
158- ELASTIC6_URI : http://localhost:9201
159144 - name : Upload report
160145 if : (success() || failure()) # run this step even if previous step failed
161146 uses : ./.github/actions/gen-report
0 commit comments