/
githubmirror
/
libmodulemd
Обзор
Документация
Войти
/
githubmirror
/
libmodulemd
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
.ci/ci-docs.sh
36 строк
979 B
Petr Písař
doc: Generate on-line documentation on Fedora release with glib < 2.79.0
29 янв 2024, 14:47
29 янв 2024, 14:47
6e7d692
Код
Авторство
О чём код?
#!/usr/bin/env bash SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" pushd $SCRIPT_DIR source $SCRIPT_DIR/ci-common.inc set -e set -x modulemd_version=${1:-latest} os=fedora # glib-2.79.0 available since Fedora ≥ 40 changed a documentation format # references in libmodulemd documentation do not resolve to glib # documentation. Use older Fedora release to have an on-line documentation # with the hyperlinks. See # <https://github.com/fedora-modularity/libmodulemd/pull/612>. #release=latest release=39 repository=quay.io image=fedora/fedora:${release} # Override the standard tests with the doc generation template mmd_run_docker_tests \ os=$os \ release=$release \ repository=$repository \ image=$image \ test_template="docs/Dockerfile.tmpl" \ test_image="libmodulemd-docs-$os:$release" \ oci_extra_args=" --env MODULEMD_VERSION=$modulemd_version --volume=$GITHUB_WORKSPACE:/builddir " popd # $SCRIPT_DIR