|
75 | 75 | efs-guardian: ${{ steps.filter.outputs.efs-guardian }} |
76 | 76 | invitations: ${{ steps.filter.outputs.invitations }} |
77 | 77 | migration: ${{ steps.filter.outputs.migration }} |
78 | | - osparc-gateway-server: ${{ steps.filter.outputs.osparc-gateway-server }} |
79 | 78 | payments: ${{ steps.filter.outputs.payments }} |
80 | 79 | dynamic-scheduler: ${{ steps.filter.outputs.dynamic-scheduler }} |
81 | 80 | resource-usage-tracker: ${{ steps.filter.outputs.resource-usage-tracker }} |
@@ -222,12 +221,6 @@ jobs: |
222 | 221 | - 'packages/**' |
223 | 222 | - 'services/migration/**' |
224 | 223 | - 'services/docker-compose*' |
225 | | - osparc-gateway-server: |
226 | | - - 'packages/**' |
227 | | - - 'services/osparc-gateway-server/**' |
228 | | - - 'services/docker-compose*' |
229 | | - - 'scripts/mypy/*' |
230 | | - - 'mypy.ini' |
231 | 224 | payments: |
232 | 225 | - 'packages/**' |
233 | 226 | - 'services/payments/**' |
@@ -1161,64 +1154,6 @@ jobs: |
1161 | 1154 | with: |
1162 | 1155 | token: ${{ secrets.CODECOV_TOKEN }} |
1163 | 1156 |
|
1164 | | - unit-test-osparc-gateway-server: |
1165 | | - needs: changes |
1166 | | - if: ${{ needs.changes.outputs.osparc-gateway-server == 'true' || github.event_name == 'push' }} |
1167 | | - timeout-minutes: 18 # if this timeout gets too small, then split the tests |
1168 | | - name: "[unit] osparc-gateway-server" |
1169 | | - runs-on: ${{ matrix.os }} |
1170 | | - strategy: |
1171 | | - matrix: |
1172 | | - python: ["3.11"] |
1173 | | - os: [ubuntu-22.04] |
1174 | | - fail-fast: false |
1175 | | - steps: |
1176 | | - - uses: actions/checkout@v4 |
1177 | | - - name: setup docker buildx |
1178 | | - id: buildx |
1179 | | - uses: docker/setup-buildx-action@v3 |
1180 | | - with: |
1181 | | - driver: docker-container |
1182 | | - - name: setup python environment |
1183 | | - uses: actions/setup-python@v5 |
1184 | | - with: |
1185 | | - python-version: ${{ matrix.python }} |
1186 | | - - name: install uv |
1187 | | - uses: astral-sh/setup-uv@v4 |
1188 | | - with: |
1189 | | - version: "0.4.x" |
1190 | | - enable-cache: false |
1191 | | - cache-dependency-glob: "**/osparc-gateway-server/requirements/ci.txt" |
1192 | | - - name: show system version |
1193 | | - run: ./ci/helpers/show_system_versions.bash |
1194 | | - - name: install |
1195 | | - run: | |
1196 | | - make devenv |
1197 | | - source .venv/bin/activate && \ |
1198 | | - pushd services/osparc-gateway-server && \ |
1199 | | - make install-ci |
1200 | | - - name: typecheck |
1201 | | - run: | |
1202 | | - source .venv/bin/activate && \ |
1203 | | - pushd services/osparc-gateway-server && \ |
1204 | | - make mypy |
1205 | | - - name: test |
1206 | | - if: ${{ !cancelled() }} |
1207 | | - run: | |
1208 | | - source .venv/bin/activate && \ |
1209 | | - pushd services/osparc-gateway-server && \ |
1210 | | - make test-ci-unit |
1211 | | - |
1212 | | - env: |
1213 | | - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |
1214 | | - with: |
1215 | | - flags: unittests #optional |
1216 | | - - name: Upload test results to Codecov |
1217 | | - if: ${{ !cancelled() }} |
1218 | | - uses: codecov/test-results-action@v1 |
1219 | | - with: |
1220 | | - token: ${{ secrets.CODECOV_TOKEN }} |
1221 | | - |
1222 | 1157 | unit-test-payments: |
1223 | 1158 | needs: changes |
1224 | 1159 | if: ${{ needs.changes.outputs.payments == 'true' || github.event_name == 'push' }} |
@@ -1965,7 +1900,6 @@ jobs: |
1965 | 1900 | unit-test-models-library, |
1966 | 1901 | unit-test-common-library, |
1967 | 1902 | unit-test-notifications-library, |
1968 | | - unit-test-osparc-gateway-server, |
1969 | 1903 | unit-test-payments, |
1970 | 1904 | unit-test-dynamic-scheduler, |
1971 | 1905 | unit-test-postgres-database, |
@@ -2317,84 +2251,6 @@ jobs: |
2317 | 2251 | with: |
2318 | 2252 | flags: integrationtests #optional |
2319 | 2253 |
|
2320 | | - integration-test-osparc-gateway-server: |
2321 | | - needs: [changes, build-test-images] |
2322 | | - if: ${{ needs.changes.outputs.anything-py == 'true' || needs.changes.outputs.osparc-gateway-server == 'true' || github.event_name == 'push' }} |
2323 | | - timeout-minutes: 30 # if this timeout gets too small, then split the tests |
2324 | | - name: "[int] osparc-gateway-server" |
2325 | | - runs-on: ${{ matrix.os }} |
2326 | | - strategy: |
2327 | | - matrix: |
2328 | | - python: ["3.11"] |
2329 | | - os: [ubuntu-22.04] |
2330 | | - fail-fast: false |
2331 | | - steps: |
2332 | | - - uses: actions/checkout@v4 |
2333 | | - - name: setup docker buildx |
2334 | | - id: buildx |
2335 | | - uses: docker/setup-buildx-action@v3 |
2336 | | - with: |
2337 | | - driver: docker-container |
2338 | | - |
2339 | | - - name: setup python environment |
2340 | | - uses: actions/setup-python@v5 |
2341 | | - with: |
2342 | | - python-version: ${{ matrix.python }} |
2343 | | - - name: expose github runtime for buildx |
2344 | | - uses: crazy-max/ghaction-github-runtime@v3 |
2345 | | - # FIXME: Workaround for https://github.com/actions/download-artifact/issues/249 |
2346 | | - - name: download docker images with retry |
2347 | | - uses: Wandalen/wretry.action@master |
2348 | | - with: |
2349 | | - action: actions/download-artifact@v4 |
2350 | | - with: | |
2351 | | - name: docker-buildx-images-${{ runner.os }}-${{ github.sha }} |
2352 | | - path: /${{ runner.temp }}/build |
2353 | | - attempt_limit: 5 |
2354 | | - attempt_delay: 1000 |
2355 | | - - name: load docker images |
2356 | | - run: make load-images local-src=/${{ runner.temp }}/build |
2357 | | - - name: install uv |
2358 | | - uses: astral-sh/setup-uv@v4 |
2359 | | - with: |
2360 | | - version: "0.4.x" |
2361 | | - enable-cache: false |
2362 | | - cache-dependency-glob: "**/osparc-gateway-server/requirements/ci.txt" |
2363 | | - - name: show system version |
2364 | | - run: ./ci/helpers/show_system_versions.bash |
2365 | | - - name: install |
2366 | | - run: | |
2367 | | - make devenv && \ |
2368 | | - source .venv/bin/activate && \ |
2369 | | - pushd services/osparc-gateway-server && \ |
2370 | | - make install-ci |
2371 | | - - name: integration-test |
2372 | | - run: | |
2373 | | - source .venv/bin/activate && \ |
2374 | | - pushd services/osparc-gateway-server && \ |
2375 | | - make test-ci-integration |
2376 | | - - name: system-test |
2377 | | - run: | |
2378 | | - source .venv/bin/activate && \ |
2379 | | - pushd services/osparc-gateway-server && \ |
2380 | | - make test-system |
2381 | | - - name: upload failed tests logs |
2382 | | - if: ${{ !cancelled() }} |
2383 | | - uses: actions/upload-artifact@v4 |
2384 | | - with: |
2385 | | - name: ${{ github.job }}_docker_logs |
2386 | | - path: ./services/director-v2/test_failures |
2387 | | - - name: cleanup |
2388 | | - if: ${{ !cancelled() }} |
2389 | | - run: | |
2390 | | - pushd services/osparc-gateway-server && \ |
2391 | | - make down |
2392 | | - |
2393 | | - env: |
2394 | | - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |
2395 | | - with: |
2396 | | - flags: integrationtests #optional |
2397 | | - |
2398 | 2254 | integration-test-simcore-sdk: |
2399 | 2255 | needs: [changes, build-test-images] |
2400 | 2256 | if: ${{ needs.changes.outputs.anything-py == 'true' || needs.changes.outputs.simcore-sdk == 'true' || github.event_name == 'push' }} |
@@ -2466,7 +2322,6 @@ jobs: |
2466 | 2322 | integration-test-director-v2-01, |
2467 | 2323 | integration-test-director-v2-02, |
2468 | 2324 | integration-test-dynamic-sidecar, |
2469 | | - integration-test-osparc-gateway-server, |
2470 | 2325 | integration-test-simcore-sdk, |
2471 | 2326 | integration-test-webserver-01, |
2472 | 2327 | integration-test-webserver-02, |
|
0 commit comments