Commit Graph

31 Commits

Author SHA1 Message Date
Dan Allen dd44928051 add 6.x branches to build 2022-11-28 08:22:40 -03:00
Dan Allen 35bdfa87a0
do full sync when Antora reverts to running a full build (#12263) 2022-11-22 09:06:56 -06:00
Dan Allen 51fa7c0c34 remove dry-run on sync script; replace with -c for partial build 2022-11-10 21:08:37 -06:00
Dan Allen 7491f8a76d configure Antora and CI workflow to support partial build (single version)
- upgrade to Antora 3.2.0-alpha.2
- upgrade release-line-extension to 1.0.0-alpha.2
- add atlas-extension
- add local autoconfig-partial-build extension
- configure deploy-docs.yml workflow to detect and set up partial build
- configure publish-docs.sh script to sync partial build
2022-11-10 14:25:04 -06:00
Dan Allen b211b55043 fix the version fix for 5.6.0-RC1
* look for number instead of string
2022-11-03 09:29:30 -05:00
Dan Allen 32e2793167 sync local-antora-playbook.yml with antora-playbook.yml 2022-10-26 16:51:45 -06:00
Dan Allen e2f3ba2245 add release line extension 2022-10-25 14:42:44 -05:00
Dan Allen c7d14e0c02 refactor version patching extension 2022-10-25 14:42:44 -05:00
Dan Allen 466b882d82 refine docs build
- upgrade Antora to 3.2.0-alpha.1
- remove extension (patch) to support linked worktrees
- rename local playbook to local-antora-playbook.yml
- use more precise tags pattern
2022-10-24 09:57:12 -05:00
Rob Winch d7d1ee2b7e Include tags for versions larger than 5
This includes tags for versions larger than 5, but only as large as 9. We
will need to fix this for versions >= 10.
2022-10-18 13:31:54 -05:00
Rob Winch 40f6324d8f Instead of deleting aggregate.prerelease set to true
This ensures that the aggregate is not marked as a stable version.
2022-10-18 13:30:55 -05:00
Rob Winch d6ccf679c4 Fix any prerelease that != true or undefined
Previously the build would fail with duplicate versions because milestones
and RCs had the same version with a different prerelease value.

Now this is patched by changing the version to contain any prerelease value
other than true and changing prerelease to true.
2022-10-18 13:29:52 -05:00
Dan Allen c4bff97fe8 apply base plugin to add clean task 2022-10-03 13:34:53 -05:00
Dan Allen 649823f401 switch to official Antora Plugin for Gradle
- lock version to latest release of Antora 3.1
- declare Node.js dependencies in build.gradle
- use Node.js version provided by plugin
- assign environment variables using environments property on extension block
- move group and description project properties to gradle.properties
- remove unneeded .npmrc
- upgrade to Gradle 7.5.1
- pass -q when running gradlew from Collector
2022-09-29 14:43:44 -05:00
Sarah White 957566ebd7 add a README that documents how to build the docs for a software branch and the whole project 2022-09-16 15:36:49 -05:00
Dan Allen f2f7eb7482 eliminate the dependency on the generated-docs repository
- add and register Antora Collector
- configure Antora Collection at runtime using another extension
2022-09-12 13:13:02 -05:00
Dan Allen 6bd10b4056 propagate exit code in publish-docs script 2022-09-12 13:11:54 -05:00
Dan Allen 79a23b8b27 fix docs publish script and trigger workflow on correct branch name 2022-09-09 15:28:01 -05:00
Rob Winch 3f979ac958 Fix branch name to docs-build 2022-09-09 15:12:40 -05:00
Rob Winch bcdde1c850 Fix error message to use SSH_KNOWN_HOST variable properly
Previously SSH_KNOWN_HOSTS was used which is undefined.
2022-09-09 15:10:15 -05:00
Rob Winch 826f776d9b Use .ssh for SSH_PRIVATE_KEY_PATH
This ensures the .ssh folder is being created and aligns the private key
and known host location.
2022-09-09 15:10:15 -05:00
Rob Winch edf2f55db1
Add on push deploy-docs 2022-09-09 15:06:40 -05:00
Rob Winch 93cae95b12 chmod +x publish-docs.sh
Issue: gh-11787
2022-09-09 13:05:25 -05:00
Dan Allen f2020a2cf4 build and publish RC versions 2022-09-09 12:54:10 -05:00
Rob Winch 7a8ba42d57
Merge pull request #11787 from opendevise/docs-build
Add Antora Build to docs-build branch
2022-09-08 09:00:15 -05:00
Dan Allen ca1a83fd06 enable restriction on workflows 2022-09-07 17:23:59 -06:00
Dan Allen ba7a6d1c64 add Antora playbook that is configured to use worktrees 2022-09-07 17:23:59 -06:00
Dan Allen a3024326a3 add CI workflow and scripts to rebuild search index 2022-09-06 15:23:09 -06:00
Dan Allen 7cea7b49aa set up CI workflow to deploy docs 2022-09-06 15:23:09 -06:00
Dan Allen c993da749c populate playbook branch for docs site 2022-09-06 15:23:09 -06:00
Rob Winch 743e37e481 Initial docs build branch 2022-09-06 14:57:12 -05:00