diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index bb8689f89..50633272f 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -285,3 +285,30 @@ blocks: - cd .. - artifact push project artifacts/confluent-kafka-python-wheels-${SEMAPHORE_GIT_TAG_NAME}-${SEMAPHORE_WORKFLOW_ID}.tgz --destination confluent-kafka-python-wheels-${SEMAPHORE_GIT_TAG_NAME}-${SEMAPHORE_WORKFLOW_ID}.tgz - echo Thank you + - name: "Docs" + dependencies: [] + task: + agent: + machine: + type: s1-prod-ubuntu22-04-amd64-1 + jobs: + - name: Build Docs + commands: + - sem-version python 3.9 + - export TAR_FILE_PATH="./docs-dependencies" + - pip install avro-python3 requests fastavro jsonschema protobuf Sphinx==4.0.2 sphinx_rtd_theme==0.2.5b1 sphinxcontrib-applehelp==1.0.4 sphinxcontrib-devhelp==1.0.2 sphinxcontrib-htmlhelp==2.0.1 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 + - git clone git@github.com:confluentinc/librdkafka.git && cd librdkafka + - export LIBRDKAFKA_DIR=${PWD} + - ./configure --clean + - ./configure --prefix=${LIBRDKAFKA_DIR}/compiled --disable-ssl + - make libs install + - cd .. + - export OUTPUT_PATH="./docs/_build/html" + - CFLAGS=-I${LIBRDKAFKA_DIR}/compiled/include LDFLAGS=-L${LIBRDKAFKA_DIR}/compiled/lib/ python setup.py build + - cd docs + - LD_LIBRARY_PATH=${LIBRDKAFKA_DIR}/compiled/lib/ make clean html && cd .. + - ls ${OUTPUT_PATH} + - export TAR_NAME="dotnet-docs.tgz" + - mkdir -p ${TAR_FILE_PATH} + - tar -cvzf ${TAR_FILE_PATH}/${TAR_NAME} ${OUTPUT_PATH} + - artifact push workflow ${TAR_FILE_PATH}
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: