diff --git a/project_templates/test_report/TESTTR-0/.github/workflows/docgen_from_Jira.yaml b/project_templates/test_report/TESTTR-0/.github/workflows/docgen_from_Jira.yaml index 07a0dc2d..ac8ee975 100644 --- a/project_templates/test_report/TESTTR-0/.github/workflows/docgen_from_Jira.yaml +++ b/project_templates/test_report/TESTTR-0/.github/workflows/docgen_from_Jira.yaml @@ -13,18 +13,13 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: 3.9 + python-version: "3.11" - name: Python install run: | python -m pip install --upgrade pip - python -m pip install "lander<2.0.0" + python -m pip install -r requirements.txt - - name: condaenv - run: | - conda init bash - conda create --name docsteady-env docsteady -c lsst-dm -c conda-forge - shell: bash - name: docugen env: @@ -32,7 +27,6 @@ jobs: JIRA_PASSWORD: ${{ secrets.JIRA_PASSWORD }} ZEPHYR_TOKEN: ${{ secrets.ZEPHYR_TOKEN }} run: | - source ${CONDA}/bin/activate docsteady-env docsteady --namespace DM generate-tpr LVV-P73 TESTTR-0.tex shell: bash diff --git a/project_templates/test_report/TESTTR-0/Makefile b/project_templates/test_report/TESTTR-0/Makefile index 80d2ac2e..d616bb5c 100644 --- a/project_templates/test_report/TESTTR-0/Makefile +++ b/project_templates/test_report/TESTTR-0/Makefile @@ -43,6 +43,8 @@ generate: .FORCE #Traditional acronyms are better in this document +# remeber to add more TAGS like PMO or CAM to get corect acronyms and preferably +# do not commit acronyms.tex acronyms.tex : ${TEX} myacronyms.txt skipacronyms.txt echo ${TEXMFHOME} python3 ${TEXMFHOME}/../bin/generateAcronyms.py -t "DM" $(TEX) diff --git a/project_templates/test_report/TESTTR-0/requirements.txt b/project_templates/test_report/TESTTR-0/requirements.txt new file mode 100644 index 00000000..b53fb9c2 --- /dev/null +++ b/project_templates/test_report/TESTTR-0/requirements.txt @@ -0,0 +1,4 @@ +pydantic<2.0.0 +lander<2.0.0 +docsteady>=3.0 + diff --git a/project_templates/test_report/{{cookiecutter.series.upper()}}-{{cookiecutter.serial_number}}/.github/workflows/docgen_from_Jira.yaml b/project_templates/test_report/{{cookiecutter.series.upper()}}-{{cookiecutter.serial_number}}/.github/workflows/docgen_from_Jira.yaml index d1b76765..a8c53964 100644 --- a/project_templates/test_report/{{cookiecutter.series.upper()}}-{{cookiecutter.serial_number}}/.github/workflows/docgen_from_Jira.yaml +++ b/project_templates/test_report/{{cookiecutter.series.upper()}}-{{cookiecutter.serial_number}}/.github/workflows/docgen_from_Jira.yaml @@ -13,18 +13,13 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: 3.9 + python-version: "3.11" - name: Python install run: | python -m pip install --upgrade pip - python -m pip install "lander<2.0.0" + python -m pip install -r requirements.txt - - name: condaenv - run: | - conda init bash - conda create --name docsteady-env docsteady -c lsst-dm -c conda-forge - shell: bash - name: docugen env: @@ -32,7 +27,6 @@ jobs: JIRA_PASSWORD: {% raw %}${{ secrets.JIRA_PASSWORD }}{% endraw %} ZEPHYR_TOKEN: {% raw %}${{ secrets.ZEPHYR_TOKEN }}{% endraw %} run: | - source ${CONDA}/bin/activate docsteady-env docsteady --namespace {{ cookiecutter.namespace }} generate-tpr {{ cookiecutter.plan }} {{ cookiecutter.series }}-{{ cookiecutter.serial_number }}.tex shell: bash diff --git a/project_templates/test_report/{{cookiecutter.series.upper()}}-{{cookiecutter.serial_number}}/Makefile b/project_templates/test_report/{{cookiecutter.series.upper()}}-{{cookiecutter.serial_number}}/Makefile index 4f427b0d..21e9444f 100644 --- a/project_templates/test_report/{{cookiecutter.series.upper()}}-{{cookiecutter.serial_number}}/Makefile +++ b/project_templates/test_report/{{cookiecutter.series.upper()}}-{{cookiecutter.serial_number}}/Makefile @@ -43,6 +43,8 @@ generate: .FORCE #Traditional acronyms are better in this document +# remeber to add more TAGS like PMO or CAM to get corect acronyms and preferably +# do not commit acronyms.tex acronyms.tex : ${TEX} myacronyms.txt skipacronyms.txt echo ${TEXMFHOME} python3 ${TEXMFHOME}/../bin/generateAcronyms.py -t "DM" $(TEX) diff --git a/project_templates/test_report/{{cookiecutter.series.upper()}}-{{cookiecutter.serial_number}}/requirements.txt b/project_templates/test_report/{{cookiecutter.series.upper()}}-{{cookiecutter.serial_number}}/requirements.txt new file mode 100644 index 00000000..b53fb9c2 --- /dev/null +++ b/project_templates/test_report/{{cookiecutter.series.upper()}}-{{cookiecutter.serial_number}}/requirements.txt @@ -0,0 +1,4 @@ +pydantic<2.0.0 +lander<2.0.0 +docsteady>=3.0 +