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

Dummy PR to study CI #1862

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft
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
27 changes: 27 additions & 0 deletions .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected]: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}