Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable-1] Fix CI #106

Merged
merged 6 commits into from
Oct 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .github/workflows/antsibull-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:

- name: Use antsibull-docs sphinx-init
run: |
poetry run antsibull-docs sphinx-init --lenient --dest-dir . --use-current --sphinx-theme sphinx_rtd_theme
poetry run antsibull-docs sphinx-init --lenient --dest-dir . --use-current --sphinx-theme sphinx_rtd_theme ansible.builtin community.crypto community.docker sensu.sensu_go
working-directory: antsibull-docs

- name: Patch build.sh to use poetry run
Expand All @@ -70,14 +70,14 @@ jobs:

- name: Install dependencies
run: |
poetry run pip install ansible-core
poetry run pip install ansible-core==2.14.10
poetry run pip install -r requirements.txt
working-directory: antsibull-docs

- name: Install collections
run: |
ansible-galaxy collection install community.docker sensu.sensu_go
git clone https://github.com/ansible-collections/community.crypto.git ~/.ansible/collections/ansible_collections/community/crypto
ansible-galaxy collection install "community.docker:==3.0.0" "sensu.sensu_go:==1.7.0" --force -p ~/.ansible/collections/
git clone https://github.com/ansible-collections/community.crypto.git --branch stable-1 ~/.ansible/collections/ansible_collections/community/crypto

- name: Lint collection docs
run: |
Expand All @@ -86,5 +86,8 @@ jobs:

- name: Build docsite
run: |
ansible-galaxy collection list
./build.sh
working-directory: antsibull-docs
env:
ANSIBLE_COLLECTIONS_PATH: ~/.ansible/collections/
Loading