Skip to content

Commit 96a09e0

Browse files
committed
[DOP-23620] Fix release pipeline
1 parent b68356c commit 96a09e0

File tree

2 files changed

+9
-12
lines changed

2 files changed

+9
-12
lines changed

.github/workflows/release.yaml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ jobs:
2525
- name: Checkout code
2626
uses: actions/checkout@v4
2727

28+
- name: Install system dependencies
29+
# this step is needed for successful installation of "krb5" library in python dependencies
30+
run: sudo apt-get update && sudo apt-get install -y autoconf gcc make libkrb5-dev
31+
2832
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
2933
id: python
3034
uses: actions/setup-python@v5
@@ -47,16 +51,9 @@ jobs:
4751
run: |
4852
poetry install --no-root --all-extras --without test,dev
4953
50-
- name: Install system dependencies
51-
# this step is needed for successful installation of "krb5" library in python dependencies
52-
run: sudo apt-get update && sudo apt-get install -y autoconf gcc make libkrb5-dev
53-
54-
- name: Install poetry
55-
uses: snok/install-poetry@v1
56-
5754
- name: Generate OpenAPI Schema
5855
run: |
59-
make venv
56+
source .venv/bin/activate
6057
make openapi
6158
6259
- name: Fix logo in Readme

.readthedocs.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ build:
1111
post_checkout:
1212
- git fetch --unshallow || true
1313
post_create_environment:
14-
- python -m pip install poetry
15-
- python -m pip install --no-deps sphinx-plantuml # remove after https://github.com/zqmillet/sphinx-plantuml/pull/4
14+
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH python -m pip install poetry
15+
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH python -m pip install --no-deps sphinx-plantuml # remove after https://github.com/zqmillet/sphinx-plantuml/pull/4
1616
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH python -m poetry config virtualenvs.create false
1717
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH python -m poetry debug info
1818
post_install:
1919
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH python -m poetry install --no-root --all-extras --with docs --without dev,test
2020
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH python -m poetry show -v
21-
- python -m pip list -v
22-
- make openapi
21+
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH python -m pip list -v
22+
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH make openapi
2323

2424
sphinx:
2525
configuration: docs/conf.py

0 commit comments

Comments
 (0)