Skip to content
Snippets Groups Projects
Commit 1a519057 authored by Tim Jaacks's avatar Tim Jaacks
Browse files

Make documentation files configurable

This disables the documentation jobs for SDK and FNGSystem.
parent 303e24eb
No related branches found
No related tags found
1 merge request!344Build documentation in dedicated job
......@@ -46,6 +46,10 @@ build-version:
# --------------------------------------------------------------------------------------
build-documentation:
extends: .build_documentation
rules:
- if: $DOCUMENTATION_FILES
variables:
FILES: ${DOCUMENTATION_FILES}
needs:
- job: changelog
......@@ -146,6 +150,8 @@ platformtest:{{ machine }}:
# --------------------------------------------------------------------------------------
package-documentation:
extends: .package_documentation
rules:
- if: $DOCUMENTATION_FILES
variables:
ASSOCIATED_BUILD_JOB: build-documentation
needs:
......
......@@ -279,7 +279,9 @@ workflow:
stage: Build
timeout: 5m
script:
- .gitlab-ci/scripts/convert_md2html.py *.md
- for file in ${FILES}; do
.gitlab-ci/scripts/convert_md2html.py $file;
done
artifacts:
paths:
- "*.html"
......
......@@ -70,6 +70,7 @@ yocto-simulation-pipeline:
INSTALL_SCRIPT: fng-install.sh
BITBAKE_ENV_COMMAND: echo DISTRO_VERSION="kirkstone-14.0"
ARTIFACTS_PATH: build-*/tmp/deploy/images/**/*
DOCUMENTATION_FILES: "*.md"
PACKAGE_TYPE: image
TEST_STAGE: "true"
TEST_REPO_BRANCH: dunfell
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment