Merge pull request #21296 from jt-nti/readthedocs-build-v4.3

[CI:DOCS] Enable readthedocs build on v4.3
This commit is contained in:
openshift-merge-bot[bot]
2024-01-18 21:04:10 +00:00
committed by GitHub
3 changed files with 25 additions and 2 deletions

View File

@@ -375,7 +375,7 @@ osx_alt_build_task:
TEST_FLAVOR: "altbuild"
ALT_NAME: 'OSX Cross'
osx_instance:
image: 'big-sur-base'
image: ghcr.io/cirruslabs/macos-ventura-base:latest
setup_script:
- brew install go
- brew install go-md2man

21
.readthedocs.yaml Normal file
View File

@@ -0,0 +1,21 @@
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Required
version: 2
# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.11"
# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/source/conf.py
# We recommend specifying your dependencies to enable reproducible builds:
# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: docs/requirements.txt

View File

@@ -262,8 +262,10 @@ volume-plugin-test-img:
test/goecho/goecho: $(wildcard test/goecho/*.go)
$(GOCMD) build $(BUILDFLAGS) $(GO_LDFLAGS) '$(LDFLAGS_PODMAN)' -o $@ ./test/goecho
# The ./test/version/version binary is executed in other make steps
# so we have to make sure the version binary is built for NATIVE_GOARCH.
test/version/version: version/version.go
$(GO) build -o $@ ./test/version/
GOARCH=$(NATIVE_GOARCH) $(GO) build -o $@ ./test/version/
.PHONY: codespell
codespell: