-
Notifications
You must be signed in to change notification settings - Fork 101
uyuni community project docs
December 20, 2023 == Building UYUNI Community Documentation
WORK IN PROGRESS
-
Our documentation tool chain should be installed. See: Toolchain Installation
-
From your local git checkout of uyuni-docs in parameters.yml verify that the default value for
site.url
is enabled for uyuni-project.org. We support two outputs SUSE Manager and Uyuni. Check that you are modifying the correct yaml block.uyuni: site: - attribute: title value: "Uyuni Documentation" - attribute: start_page value: "uyuni::index.adoc" - attribute: url value: https://www.uyuni-project.org/uyuni-docs/
-
Check the Uyuni version number in the parameters.yml. This should be adjusted to the release version.
asciidoc: - attribute: productname value: "Uyuni" - attribute: productnumber value: "2023.12" - attribute: docversion value: "2023.12" - attribute: minorversion value: "2023.12"
-
Check the following attributes in the parameters.yml ensuring the file version numbers are correct. These numbers can be found in the OBS package spec files. For example:
salt.spec
. Feel free to ping release engineers for further clarification.asciidoc: - attribute: opensuse-version value: 15.5 - attribute: saltversion value: 3006.0 - attribute: postgresql value: PostgreSQL - attribute: postgresql-version value: 14 - attribute: sles-version value: 15 - attribute: sp-version value: SP5 #use for normal text - attribute: sp-vert value: sp5 #use for terminal block - attribute: sp-version-l value: sp5
-
Build the Static HTML. From the local checkout directory on the command line run:
examplemake clean make configure-uyuni make antora-uyuni
-
Backup your new build:
cp -R build/ ../uyuni-2023.12
-
Clean up your build:
make clean
-
Checkout the gh-pages branch:
git checkout gh-pages
-
Update your local checkout:
git pull
-
Create your new release branch for gh-pages:
git checkout -b gh-pages-uyuni-2023.12
-
Copy the contents of the build directory backup into the new release branch.
-
Push your local release branch.
git add . git commit -am "gh-pages update for uyuni-2023.12" git push
-
From the GitHub webui select the new branch you pushed for creating a PR
-
IMPORTANT! Select gh-pages as the branch to merge into.
-
Create the pull request and hand it off to rel-engineers.