Skip to content

Commit

Permalink
Fix conflict with docs requirements.txt
Browse files Browse the repository at this point in the history
pydantic and rstcheck didn't work

Signed-off-by: Justin Cinkelj <[email protected]>
  • Loading branch information
justinc1 committed Jul 26, 2024
1 parent 51c3304 commit fc18506
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ integration: ## Run integration tests

.PHONY: docs
docs: ## Build collection documentation
pip install -r docs.requirements
pip install -r docs/requirements.txt
pip install -r docs.requirements -r docs/requirements.txt
cd docs && ANSIBLE_COLLECTIONS_PATH=${PWD}/../../.. ./build.sh

.PHONY: mypy
Expand Down
2 changes: 1 addition & 1 deletion ci-infra/docker-image/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ fi
THIS_SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
REPO_DIR="$(realpath "$THIS_SCRIPT_DIR/../.." )"

cat "$REPO_DIR"/{docs,test,sanity,mypy}.requirements > all.requirements
cat "$REPO_DIR"/{docs,test,sanity,mypy}.requirements "$REPO_DIR/docs/requirements.txt" > all.requirements
# TODO but is ghrc.io feature available/enabled?
# Or push to quay.io?
docker build $DOCKER_BUILD_OPT -t "$DOCKER_REGISTRY_REPO:$DOCKER_IMAGE_TAG" .
Expand Down

0 comments on commit fc18506

Please sign in to comment.