Skip to content

Commit

Permalink
🐛⚗️Computational backend: tasks in UNKNOWN state are sometimes only t…
Browse files Browse the repository at this point in the history
…emporarily in that state (ITISFoundation#5195)
  • Loading branch information
sanderegg authored Dec 21, 2023
1 parent 4749268 commit d4d9ec1
Show file tree
Hide file tree
Showing 4 changed files with 191 additions and 82 deletions.
165 changes: 110 additions & 55 deletions .github/workflows/ci-testing-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1555,11 +1555,16 @@ jobs:
python-version: ${{ matrix.python }}
cache: "pip"
cache-dependency-path: "services/web/server/requirements/ci.txt"
- name: download docker images
uses: actions/download-artifact@v4
with:
name: docker-buildx-images-${{ runner.os }}-${{ github.sha }}
path: /${{ runner.temp }}/build
# FIXME: Workaround for https://github.com/actions/download-artifact/issues/249
- name: download docker images with retry
uses: Wandalen/wretry.action@master
with:
action: actions/download-artifact@v4
with: |
name: docker-buildx-images-${{ runner.os }}-${{ github.sha }}
path: /${{ runner.temp }}/build
attempt_limit: 5
attempt_delay: 1000
- name: load docker images
run: make load-images local-src=/${{ runner.temp }}/build
- name: show system version
Expand Down Expand Up @@ -1609,11 +1614,16 @@ jobs:
cache-dependency-path: "services/web/server/requirements/ci.txt"
- name: expose github runtime for buildx
uses: crazy-max/ghaction-github-runtime@v3
- name: download docker images
uses: actions/download-artifact@v4
with:
name: docker-buildx-images-${{ runner.os }}-${{ github.sha }}
path: /${{ runner.temp }}/build
# FIXME: Workaround for https://github.com/actions/download-artifact/issues/249
- name: download docker images with retry
uses: Wandalen/wretry.action@master
with:
action: actions/download-artifact@v4
with: |
name: docker-buildx-images-${{ runner.os }}-${{ github.sha }}
path: /${{ runner.temp }}/build
attempt_limit: 5
attempt_delay: 1000
- name: load docker images
run: make load-images local-src=/${{ runner.temp }}/build
- name: show system version
Expand Down Expand Up @@ -1663,11 +1673,16 @@ jobs:
cache-dependency-path: "services/director-v2/requirements/ci.txt"
- name: expose github runtime for buildx
uses: crazy-max/ghaction-github-runtime@v3
- name: download docker images
uses: actions/download-artifact@v4
with:
name: docker-buildx-images-${{ runner.os }}-${{ github.sha }}
path: /${{ runner.temp }}/build
# FIXME: Workaround for https://github.com/actions/download-artifact/issues/249
- name: download docker images with retry
uses: Wandalen/wretry.action@master
with:
action: actions/download-artifact@v4
with: |
name: docker-buildx-images-${{ runner.os }}-${{ github.sha }}
path: /${{ runner.temp }}/build
attempt_limit: 5
attempt_delay: 1000
- name: load docker images
run: make load-images local-src=/${{ runner.temp }}/build
- name: show system version
Expand Down Expand Up @@ -1719,11 +1734,16 @@ jobs:
cache-dependency-path: "services/director-v2/requirements/ci.txt"
- name: expose github runtime for buildx
uses: crazy-max/ghaction-github-runtime@v3
- name: download docker images
uses: actions/download-artifact@v4
with:
name: docker-buildx-images-${{ runner.os }}-${{ github.sha }}
path: /${{ runner.temp }}/build
# FIXME: Workaround for https://github.com/actions/download-artifact/issues/249
- name: download docker images with retry
uses: Wandalen/wretry.action@master
with:
action: actions/download-artifact@v4
with: |
name: docker-buildx-images-${{ runner.os }}-${{ github.sha }}
path: /${{ runner.temp }}/build
attempt_limit: 5
attempt_delay: 1000
- name: load docker images
run: make load-images local-src=/${{ runner.temp }}/build
- name: install rclone
Expand Down Expand Up @@ -1775,11 +1795,16 @@ jobs:
cache-dependency-path: "services/dynamic-sidecar/requirements/ci.txt"
- name: expose github runtime for buildx
uses: crazy-max/ghaction-github-runtime@v3
- name: download docker images
uses: actions/download-artifact@v4
with:
name: docker-buildx-images-${{ runner.os }}-${{ github.sha }}
path: /${{ runner.temp }}/build
# FIXME: Workaround for https://github.com/actions/download-artifact/issues/249
- name: download docker images with retry
uses: Wandalen/wretry.action@master
with:
action: actions/download-artifact@v4
with: |
name: docker-buildx-images-${{ runner.os }}-${{ github.sha }}
path: /${{ runner.temp }}/build
attempt_limit: 5
attempt_delay: 1000
- name: load docker images
run: make load-images local-src=/${{ runner.temp }}/build
- name: install rclone
Expand Down Expand Up @@ -1832,11 +1857,16 @@ jobs:
cache-dependency-path: "services/osparc-gateway-server/requirements/ci.txt"
- name: expose github runtime for buildx
uses: crazy-max/ghaction-github-runtime@v3
- name: download docker images
uses: actions/download-artifact@v4
with:
name: docker-buildx-images-${{ runner.os }}-${{ github.sha }}
path: /${{ runner.temp }}/build
# FIXME: Workaround for https://github.com/actions/download-artifact/issues/249
- name: download docker images with retry
uses: Wandalen/wretry.action@master
with:
action: actions/download-artifact@v4
with: |
name: docker-buildx-images-${{ runner.os }}-${{ github.sha }}
path: /${{ runner.temp }}/build
attempt_limit: 5
attempt_delay: 1000
- name: load docker images
run: make load-images local-src=/${{ runner.temp }}/build
- name: show system version
Expand Down Expand Up @@ -1900,11 +1930,16 @@ jobs:
python-version: ${{ matrix.python }}
cache: "pip"
cache-dependency-path: "packages/simcore-sdk/requirements/ci.txt"
- name: download docker images
uses: actions/download-artifact@v4
with:
name: docker-buildx-images-${{ runner.os }}-${{ github.sha }}
path: /${{ runner.temp }}/build
# FIXME: Workaround for https://github.com/actions/download-artifact/issues/249
- name: download docker images with retry
uses: Wandalen/wretry.action@master
with:
action: actions/download-artifact@v4
with: |
name: docker-buildx-images-${{ runner.os }}-${{ github.sha }}
path: /${{ runner.temp }}/build
attempt_limit: 5
attempt_delay: 1000
- name: load docker images
run: make load-images local-src=/${{ runner.temp }}/build
- name: show system version
Expand Down Expand Up @@ -1978,11 +2013,16 @@ jobs:
cache-dependency-path: "tests/public-api/requirements/ci.txt"
- name: expose github runtime for buildx
uses: crazy-max/ghaction-github-runtime@v3
- name: download docker images
uses: actions/download-artifact@v4
with:
name: docker-buildx-images-${{ runner.os }}-${{ github.sha }}
path: /${{ runner.temp }}/build
# FIXME: Workaround for https://github.com/actions/download-artifact/issues/249
- name: download docker images with retry
uses: Wandalen/wretry.action@master
with:
action: actions/download-artifact@v4
with: |
name: docker-buildx-images-${{ runner.os }}-${{ github.sha }}
path: /${{ runner.temp }}/build
attempt_limit: 5
attempt_delay: 1000
- name: load docker images
run: make load-images local-src=/${{ runner.temp }}/build
- name: show system version
Expand Down Expand Up @@ -2031,11 +2071,16 @@ jobs:
cache-dependency-path: "tests/swarm-deploy/requirements/ci.txt"
- name: expose github runtime for buildx
uses: crazy-max/ghaction-github-runtime@v3
- name: download docker images
uses: actions/download-artifact@v4
with:
name: docker-buildx-images-${{ runner.os }}-${{ github.sha }}
path: /${{ runner.temp }}/build
# FIXME: Workaround for https://github.com/actions/download-artifact/issues/249
- name: download docker images with retry
uses: Wandalen/wretry.action@master
with:
action: actions/download-artifact@v4
with: |
name: docker-buildx-images-${{ runner.os }}-${{ github.sha }}
path: /${{ runner.temp }}/build
attempt_limit: 5
attempt_delay: 1000
- name: load docker images
run: make load-images local-src=/${{ runner.temp }}/build
- name: show system version
Expand Down Expand Up @@ -2095,11 +2140,16 @@ jobs:
cache-dependency-path: "tests/e2e/package-lock.json"
- name: expose github runtime for buildx
uses: crazy-max/ghaction-github-runtime@v3
- name: download docker images
uses: actions/download-artifact@v4
with:
name: docker-buildx-images-${{ runner.os }}-${{ github.sha }}
path: /${{ runner.temp }}/build
# FIXME: Workaround for https://github.com/actions/download-artifact/issues/249
- name: download docker images with retry
uses: Wandalen/wretry.action@master
with:
action: actions/download-artifact@v4
with: |
name: docker-buildx-images-${{ runner.os }}-${{ github.sha }}
path: /${{ runner.temp }}/build
attempt_limit: 5
attempt_delay: 1000
- name: load docker images
run: make load-images local-src=/${{ runner.temp }}/build
- name: show system version
Expand Down Expand Up @@ -2213,11 +2263,16 @@ jobs:
with:
version: ${{ matrix.docker_buildx }}
driver: docker-container
- name: download docker images
uses: actions/download-artifact@v4
with:
name: docker-buildx-images-${{ runner.os }}-${{ github.sha }}
path: /${{ runner.temp }}/build
# FIXME: Workaround for https://github.com/actions/download-artifact/issues/249
- name: download docker images with retry
uses: Wandalen/wretry.action@master
with:
action: actions/download-artifact@v4
with: |
name: docker-buildx-images-${{ runner.os }}-${{ github.sha }}
path: /${{ runner.temp }}/build
attempt_limit: 5
attempt_delay: 1000
- name: load docker images
run: |
make load-images local-src=/${{ runner.temp }}/build
Expand Down
Loading

0 comments on commit d4d9ec1

Please sign in to comment.