@@ -1626,37 +1626,18 @@ jobs:
16261626 fail-fast : false
16271627 steps :
16281628 - uses : actions/checkout@v4
1629- - name : setup docker buildx
1630- id : buildx
1631- uses : docker/setup-buildx-action@v3
1632- with :
1633- driver : docker-container
1634- - name : setup python environment
1635- uses : actions/setup-python@v5
1629+ - name : Setup SimCore environment
1630+ uses : ./.github/actions/setup-simcore-env
16361631 with :
16371632 python-version : ${{ matrix.python }}
1638- - name : expose github runtime for buildx
1639- uses : crazy-max/ghaction-github-runtime@v3
1640- # FIXME: Workaround for https://github.com/actions/download-artifact/issues/249
1641- - name : download docker images with retry
1642- uses : Wandalen/wretry.action@master
1643- with :
1644- action : actions/download-artifact@v4
1645- with : |
1646- name: docker-buildx-images-${{ runner.os }}-${{ github.sha }}-backend
1647- path: /${{ runner.temp }}/build
1648- attempt_limit : 5
1649- attempt_delay : 1000
1650- - name : install uv
1651- uses : astral-sh/setup-uv@v6
1652- with :
1653- version : " 0.6.x"
1654- enable-cache : false
16551633 cache-dependency-glob : " **/web/server/requirements/ci.txt"
1656- - name : load docker images
1657- run : make load-images local-src=/${{ runner.temp }}/build
1658- - name : show system version
1659- run : ./ci/helpers/show_system_versions.bash
1634+ setup-docker : ' true'
1635+ show-system-versions : ' true'
1636+ expose-github-runtime : ' true'
1637+ - name : Download and load Docker images
1638+ uses : ./.github/actions/download-load-docker-images
1639+ with :
1640+ artifact-name-pattern : ' backend'
16601641 - name : install
16611642 run : ./ci/github/integration-testing/webserver.bash install
16621643 - name : test
@@ -1690,37 +1671,18 @@ jobs:
16901671 fail-fast : false
16911672 steps :
16921673 - uses : actions/checkout@v4
1693- - name : setup docker buildx
1694- id : buildx
1695- uses : docker/setup-buildx-action@v3
1696- with :
1697- driver : docker-container
1698- - name : setup python environment
1699- uses : actions/setup-python@v5
1674+ - name : Setup SimCore environment
1675+ uses : ./.github/actions/setup-simcore-env
17001676 with :
17011677 python-version : ${{ matrix.python }}
1702- - name : expose github runtime for buildx
1703- uses : crazy-max/ghaction-github-runtime@v3
1704- # FIXME: Workaround for https://github.com/actions/download-artifact/issues/249
1705- - name : download docker images with retry
1706- uses : Wandalen/wretry.action@master
1707- with :
1708- action : actions/download-artifact@v4
1709- with : |
1710- name: docker-buildx-images-${{ runner.os }}-${{ github.sha }}-backend
1711- path: /${{ runner.temp }}/build
1712- attempt_limit : 5
1713- attempt_delay : 1000
1714- - name : install uv
1715- uses : astral-sh/setup-uv@v6
1716- with :
1717- version : " 0.6.x"
1718- enable-cache : false
17191678 cache-dependency-glob : " **/director-v2/requirements/ci.txt"
1720- - name : load docker images
1721- run : make load-images local-src=/${{ runner.temp }}/build
1722- - name : show system version
1723- run : ./ci/helpers/show_system_versions.bash
1679+ setup-docker : ' true'
1680+ show-system-versions : ' true'
1681+ expose-github-runtime : ' true'
1682+ - name : Download and load Docker images
1683+ uses : ./.github/actions/download-load-docker-images
1684+ with :
1685+ artifact-name-pattern : ' backend'
17241686 - name : install
17251687 run : ./ci/github/integration-testing/director-v2.bash install
17261688 - name : test
@@ -1758,41 +1720,22 @@ jobs:
17581720 DIRECTOR_DEFAULT_MAX_NANO_CPUS : 10000000
17591721 steps :
17601722 - uses : actions/checkout@v4
1761- - name : setup docker buildx
1762- id : buildx
1763- uses : docker/setup-buildx-action@v3
1723+ - name : Setup SimCore environment
1724+ uses : ./.github/actions/setup-simcore-env
17641725 with :
1765- driver : docker-container
1726+ python-version : ${{ matrix.python }}
1727+ cache-dependency-glob : " **/director-v2/requirements/ci.txt"
1728+ setup-docker : ' true'
1729+ show-system-versions : ' true'
1730+ expose-github-runtime : ' true'
17661731 - name : setup rclone docker volume plugin
17671732 run : sudo ./ci/github/helpers/install_rclone_docker_volume_plugin.bash
1768- - name : setup python environment
1769- uses : actions/setup-python@v5
1770- with :
1771- python-version : ${{ matrix.python }}
1772- - name : expose github runtime for buildx
1773- uses : crazy-max/ghaction-github-runtime@v3
1774- # FIXME: Workaround for https://github.com/actions/download-artifact/issues/249
1775- - name : download docker images with retry
1776- uses : Wandalen/wretry.action@master
1733+ - name : Download and load Docker images
1734+ uses : ./.github/actions/download-load-docker-images
17771735 with :
1778- action : actions/download-artifact@v4
1779- with : |
1780- name: docker-buildx-images-${{ runner.os }}-${{ github.sha }}-backend
1781- path: /${{ runner.temp }}/build
1782- attempt_limit : 5
1783- attempt_delay : 1000
1736+ artifact-name-pattern : ' backend'
17841737 - name : install rclone
17851738 run : sudo ./ci/github/helpers/install_rclone.bash
1786- - name : install uv
1787- uses : astral-sh/setup-uv@v6
1788- with :
1789- version : " 0.6.x"
1790- enable-cache : false
1791- cache-dependency-glob : " **/director-v2/requirements/ci.txt"
1792- - name : load docker images
1793- run : make load-images local-src=/${{ runner.temp }}/build
1794- - name : show system version
1795- run : ./ci/helpers/show_system_versions.bash
17961739 - name : install
17971740 run : ./ci/github/integration-testing/director-v2.bash install
17981741 - name : test
@@ -1826,39 +1769,20 @@ jobs:
18261769 fail-fast : false
18271770 steps :
18281771 - uses : actions/checkout@v4
1829- - name : setup docker buildx
1830- id : buildx
1831- uses : docker/setup-buildx-action@v3
1832- with :
1833- driver : docker-container
1834- - name : setup python environment
1835- uses : actions/setup-python@v5
1772+ - name : Setup SimCore environment
1773+ uses : ./.github/actions/setup-simcore-env
18361774 with :
18371775 python-version : ${{ matrix.python }}
1838- - name : expose github runtime for buildx
1839- uses : crazy-max/ghaction-github-runtime@v3
1840- # FIXME: Workaround for https://github.com/actions/download-artifact/issues/249
1841- - name : download docker images with retry
1842- uses : Wandalen/wretry.action@master
1776+ cache-dependency-glob : " **/dynamic-sidecar/requirements/ci.txt"
1777+ setup-docker : ' true'
1778+ show-system-versions : ' true'
1779+ expose-github-runtime : ' true'
1780+ - name : Download and load Docker images
1781+ uses : ./.github/actions/download-load-docker-images
18431782 with :
1844- action : actions/download-artifact@v4
1845- with : |
1846- name: docker-buildx-images-${{ runner.os }}-${{ github.sha }}-backend
1847- path: /${{ runner.temp }}/build
1848- attempt_limit : 5
1849- attempt_delay : 1000
1783+ artifact-name-pattern : ' backend'
18501784 - name : install rclone
18511785 run : sudo ./ci/github/helpers/install_rclone.bash
1852- - name : install uv
1853- uses : astral-sh/setup-uv@v6
1854- with :
1855- version : " 0.6.x"
1856- enable-cache : false
1857- cache-dependency-glob : " **/dynamic-sidecar/requirements/ci.txt"
1858- - name : load docker images
1859- run : make load-images local-src=/${{ runner.temp }}/build
1860- - name : show system version
1861- run : ./ci/helpers/show_system_versions.bash
18621786 - name : install
18631787 run : ./ci/github/integration-testing/dynamic-sidecar.bash install
18641788 - name : test
@@ -1893,37 +1817,18 @@ jobs:
18931817 fail-fast : false
18941818 steps :
18951819 - uses : actions/checkout@v4
1896- - name : setup docker buildx
1897- id : buildx
1898- uses : docker/setup-buildx-action@v3
1899- with :
1900- driver : docker-container
1901- - name : setup python environment
1902- uses : actions/setup-python@v5
1820+ - name : Setup SimCore environment
1821+ uses : ./.github/actions/setup-simcore-env
19031822 with :
19041823 python-version : ${{ matrix.python }}
1905- - name : expose github runtime for buildx
1906- uses : crazy-max/ghaction-github-runtime@v3
1907- # FIXME: Workaround for https://github.com/actions/download-artifact/issues/249
1908- - name : download docker images with retry
1909- uses : Wandalen/wretry.action@master
1910- with :
1911- action : actions/download-artifact@v4
1912- with : |
1913- name: docker-buildx-images-${{ runner.os }}-${{ github.sha }}-backend
1914- path: /${{ runner.temp }}/build
1915- attempt_limit : 5
1916- attempt_delay : 1000
1917- - name : install uv
1918- uses : astral-sh/setup-uv@v6
1919- with :
1920- version : " 0.6.x"
1921- enable-cache : false
19221824 cache-dependency-glob : " **/docker-api-proxy/requirements/ci.txt"
1923- - name : load docker images
1924- run : make load-images local-src=/${{ runner.temp }}/build
1925- - name : show system version
1926- run : ./ci/helpers/show_system_versions.bash
1825+ setup-docker : ' true'
1826+ show-system-versions : ' true'
1827+ expose-github-runtime : ' true'
1828+ - name : Download and load Docker images
1829+ uses : ./.github/actions/download-load-docker-images
1830+ with :
1831+ artifact-name-pattern : ' backend'
19271832 - name : install
19281833 run : ./ci/github/integration-testing/docker-api-proxy.bash install
19291834 - name : test
@@ -1957,37 +1862,19 @@ jobs:
19571862 fail-fast : false
19581863 steps :
19591864 - uses : actions/checkout@v4
1960- - name : setup docker buildx
1961- id : buildx
1962- uses : docker/setup-buildx-action@v3
1865+ - name : Setup SimCore environment
1866+ uses : ./.github/actions/setup-simcore-env
19631867 with :
1964- driver : docker-container
1868+ python-version : ${{ matrix.python }}
1869+ cache-dependency-glob : " **/simcore-sdk/requirements/ci.txt"
1870+ setup-docker : ' true'
1871+ show-system-versions : ' true'
19651872 - name : install rclone
19661873 run : sudo ./ci/github/helpers/install_rclone.bash
1967- - name : setup python environment
1968- uses : actions/setup-python@v5
1969- with :
1970- python-version : ${{ matrix.python }}
1971- # FIXME: Workaround for https://github.com/actions/download-artifact/issues/249
1972- - name : download docker images with retry
1973- uses : Wandalen/wretry.action@master
1974- with :
1975- action : actions/download-artifact@v4
1976- with : |
1977- name: docker-buildx-images-${{ runner.os }}-${{ github.sha }}-backend
1978- path: /${{ runner.temp }}/build
1979- attempt_limit : 5
1980- attempt_delay : 1000
1981- - name : install uv
1982- uses : astral-sh/setup-uv@v6
1874+ - name : Download and load Docker images
1875+ uses : ./.github/actions/download-load-docker-images
19831876 with :
1984- version : " 0.6.x"
1985- enable-cache : false
1986- cache-dependency-glob : " **/simcore-sdk/requirements/ci.txt"
1987- - name : load docker images
1988- run : make load-images local-src=/${{ runner.temp }}/build
1989- - name : show system version
1990- run : ./ci/helpers/show_system_versions.bash
1877+ artifact-name-pattern : ' backend'
19911878 - name : install
19921879 run : ./ci/github/integration-testing/simcore-sdk.bash install
19931880 - name : test
0 commit comments