diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index e11fc5545f..3f540e3557 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -161,10 +161,7 @@ jobs: testing-windows: name: Testing and coverage (Windows) needs: [smoke-tests, manifests] - # runs-on: [self-hosted, Windows, pygeometry] - runs-on: # TODO: Waiting for ansys-network runner to be updated - group: pyansys-self-hosted - labels: [self-hosted, Windows, pygeometry] + runs-on: [self-hosted, Windows, pygeometry] continue-on-error: ${{ matrix.experimental }} env: SKIP_UNSTABLE: false @@ -337,10 +334,7 @@ jobs: docs: name: Documentation needs: [docs-style] - # Doc build performed on self-hosted runners outside the Ansys network only - runs-on: - group: pyansys-self-hosted - labels: [Windows, pygeometry] + runs-on: [self-hosted, Windows, pygeometry] env: PYVISTA_OFF_SCREEN: true steps: @@ -650,10 +644,7 @@ jobs: build-windows-container: name: Building Geometry Service - Windows - # runs-on: [self-hosted, Windows, pygeometry] - runs-on: # TODO: Waiting for ansys-network runner to be updated - group: pyansys-self-hosted - labels: [self-hosted, Windows, pygeometry] + runs-on: [self-hosted, Windows, pygeometry] needs: [fetch-release-artifacts] strategy: fail-fast: false diff --git a/.github/workflows/nightly_docker_test.yml b/.github/workflows/nightly_docker_test.yml index af3131626c..6230cbaf5f 100644 --- a/.github/workflows/nightly_docker_test.yml +++ b/.github/workflows/nightly_docker_test.yml @@ -200,10 +200,7 @@ jobs: name: Windows Core Service needs: manifests if: needs.manifests.outputs.skip_core_windows == 0 - # runs-on: [self-hosted, Windows, pygeometry] - runs-on: # TODO: Waiting for ansys-network runner to be updated - group: pyansys-self-hosted - labels: [self-hosted, Windows, pygeometry] + runs-on: [self-hosted, Windows, pygeometry] env: PYVISTA_OFF_SCREEN: true steps: diff --git a/doc/changelog.d/1693.maintenance.md b/doc/changelog.d/1693.maintenance.md new file mode 100644 index 0000000000..1de88e4184 --- /dev/null +++ b/doc/changelog.d/1693.maintenance.md @@ -0,0 +1 @@ +use dedicate pygeometry-ci-2 runner \ No newline at end of file diff --git a/doc/source/conf.py b/doc/source/conf.py index 1e77550c11..9b03d35d44 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -57,10 +57,11 @@ def get_wheelhouse_assets_dictionary(): time.sleep(2) if content is None: - raise requests.exceptions.RequestException("Failed to retrieve the latest release.") - - # Just point to the latest version - assets_context_version = json.loads(content)["name"] + print("Adapting URL to point to the latest version... (hack)") + assets_context_version = "dev" + else: + # Just point to the latest version + assets_context_version = json.loads(content)["name"] else: assets_context_version = f"v{__version__}" @@ -68,12 +69,18 @@ def get_wheelhouse_assets_dictionary(): for assets_os, assets_runner in zip(assets_context_os, assets_context_runners): download_links = [] for assets_py_ver in assets_context_python_versions: + if assets_context_version == "dev": + prefix_url = "https://github.com/ansys/pyansys-geometry/releases/latest/download" + else: + prefix_url = ( + f"https://github.com/ansys/pyansys-geometry/releases/download/{assets_context_version}", + ) temp_dict = { "os": assets_os, "runner": assets_runner, "python_versions": assets_py_ver, "latest_released_version": assets_context_version, - "prefix_url": f"https://github.com/ansys/pyansys-geometry/releases/download/{assets_context_version}", # noqa: E501 + "prefix_url": prefix_url, } download_links.append(temp_dict)