From 34cf3bed69d626f0bc28c6abb64e6591155f8786 Mon Sep 17 00:00:00 2001 From: jvonrick Date: Mon, 19 Feb 2024 11:47:10 +0100 Subject: [PATCH 1/3] Add release checklist and add missing version to compatibility --- doc/source/intro.rst | 2 ++ release_checklist.rst | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 release_checklist.rst diff --git a/doc/source/intro.rst b/doc/source/intro.rst index b99635ffb..f37bb541b 100644 --- a/doc/source/intro.rst +++ b/doc/source/intro.rst @@ -114,6 +114,8 @@ By default the DPF server is started from the latest Ansys installer. To choose - ansys.dpf.composites Python module version * - 8.0 (Ansys 2024 R2 pre0) - 0.3.0 and later + * - 7.0 (Ansys 2024 R1) + - 0.3.0 and later * - 7.0 (Ansys 2024 R1 pre0) - 0.3.0 and later * - 6.2 (Ansys 2023 R2) diff --git a/release_checklist.rst b/release_checklist.rst new file mode 100644 index 000000000..778aa1bda --- /dev/null +++ b/release_checklist.rst @@ -0,0 +1,2 @@ +* Update the compatibility in the docs: intro.rst / Compatibility +* Follow this guide to create a release branch. Also bump version in test_metadata.py test. From ba77a68500facac27bc313a72add88d4303d96a2 Mon Sep 17 00:00:00 2001 From: jvonrick Date: Mon, 19 Feb 2024 11:47:47 +0100 Subject: [PATCH 2/3] Add missing link --- release_checklist.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release_checklist.rst b/release_checklist.rst index 778aa1bda..6631fed78 100644 --- a/release_checklist.rst +++ b/release_checklist.rst @@ -1,2 +1,2 @@ * Update the compatibility in the docs: intro.rst / Compatibility -* Follow this guide to create a release branch. Also bump version in test_metadata.py test. +* Follow this guide (https://dev.docs.pyansys.com/how-to/releasing.html) to create a release branch. Also bump version in test_metadata.py test. From a9469b47e23307c7ca13b4393edb9febd4d29ca0 Mon Sep 17 00:00:00 2001 From: jvonrick Date: Tue, 20 Feb 2024 10:52:54 +0100 Subject: [PATCH 3/3] Complete release checklist and add tests for the newly tagged version. --- .github/workflows/ci_cd.yml | 1 + release_checklist.rst | 8 +++++++- tox.ini | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index f1fe86d07..220b18dc3 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -73,6 +73,7 @@ jobs: # if other containers must be tested. run: | docker pull ghcr.io/ansys/pydpf-composites:${{ env.CONTAINER_TAG }} + docker pull ghcr.io/ansys/pydpf-composites:2024r2_pre0 docker pull ghcr.io/ansys/pydpf-composites:2024r1_pre0 docker pull ghcr.io/ansys/pydpf-composites:2024r1 docker pull ghcr.io/ansys/pydpf-composites:2023r2_pre1 diff --git a/release_checklist.rst b/release_checklist.rst index 6631fed78..f6f35d18b 100644 --- a/release_checklist.rst +++ b/release_checklist.rst @@ -1,2 +1,8 @@ +* Check the release_checklist in the dpf_composites repo + +* As soon as the docker image with the version tag is available, add explicit tests for the new version. This should happen when a release branch is created for normal releases and + once the image is tagged manually for pre-releases. + * Add docker pull for the container with the new version tag in ci_cd.yml + * Add pytest run for the new version in tox.ini * Update the compatibility in the docs: intro.rst / Compatibility -* Follow this guide (https://dev.docs.pyansys.com/how-to/releasing.html) to create a release branch. Also bump version in test_metadata.py test. +* Follow this guide (https://dev.docs.pyansys.com/how-to/releasing.html) to create a release branch and release. Also bump version in test_metadata.py test. diff --git a/tox.ini b/tox.ini index a784fc6b7..dbcafdf0b 100644 --- a/tox.ini +++ b/tox.ini @@ -32,6 +32,7 @@ setenv = commands = poetry install -E test poetry run pytest --reruns 1 --license-server={env:LICENSE_SERVER:} --image-tag=latest {env:PYTEST_MARKERS:} {env:PYTEST_EXTRA_ARGS:} {env:PYTEST_COV_APPEND_ARG:} {posargs:-vv} + poetry run pytest --reruns 1 --license-server={env:LICENSE_SERVER:} --image-tag=2024r2_pre0 {env:PYTEST_MARKERS:} {env:PYTEST_EXTRA_ARGS:} {env:PYTEST_COV_APPEND_ARG:} {posargs:-vv} poetry run pytest --reruns 1 --license-server={env:LICENSE_SERVER:} --image-tag=2024r1 {env:PYTEST_MARKERS:} {env:PYTEST_EXTRA_ARGS:} {env:PYTEST_COV_APPEND_ARG:} {posargs:-vv} poetry run pytest --reruns 1 --license-server={env:LICENSE_SERVER:} --image-tag=2024r1_pre0 {env:PYTEST_MARKERS:} {env:PYTEST_EXTRA_ARGS:} {env:PYTEST_COV_APPEND_ARG:} {posargs:-vv} poetry run pytest --reruns 1 --license-server={env:LICENSE_SERVER:} --image-tag=2023r2_pre1 {env:PYTEST_MARKERS:} {env:PYTEST_EXTRA_ARGS:} {env:PYTEST_COV_APPEND_ARG:} {posargs:-vv}