This is an automated email from the ASF dual-hosted git repository.
ahuber pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/causeway.git
The following commit(s) were added to refs/heads/main by this push:
new ac4980e38e2 CAUSEWAY-2445: adds site-deploy (antora CI)
ac4980e38e2 is described below
commit ac4980e38e21f6c3c99a4cf74bf86c0ec4930b7f
Author: Andi Huber <[email protected]>
AuthorDate: Wed Oct 15 16:56:44 2025 +0200
CAUSEWAY-2445: adds site-deploy (antora CI)
---
antora/playbooks/site-deploy.yml | 315 +++++++++++++++++++++++++++++++++++++++
scripts/ci/_print-environment.sh | 1 +
2 files changed, 316 insertions(+)
diff --git a/antora/playbooks/site-deploy.yml b/antora/playbooks/site-deploy.yml
new file mode 100644
index 00000000000..9c035d120de
--- /dev/null
+++ b/antora/playbooks/site-deploy.yml
@@ -0,0 +1,315 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+### used to build the complete site, including older versions/releases
+### as required for deployment
+
+site:
+ title: causeway
+ url: https://causeway.apache.org/
+ start_page: docs:ROOT:about.adoc
+
+urls:
+ latest_version_segment: latest
+
+content:
+ sources:
+
+ # antora
+ - url: .
+ start_path: antora/components/docs # docs
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: antora/components/comguide # comguide
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: antora/components/conguide # conguide
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: antora/components/relnotes # relnotes
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: antora/components/setupguide # setupguide
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: antora/components/refguide # refguide
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: antora/components/refguide-index # refguide
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: antora/components/userguide # userguide
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+
+ # api
+ - url: .
+ start_path: api/schema/src/main/adoc # refguide
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+
+ # core
+ - url: .
+ start_path: core/adoc # core (design docs)
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: core/codegen-bytebuddy/src/main/adoc # core
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: commons/src/main/adoc # core
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: core/config/src/main/adoc # refguide
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: core/interaction/src/main/adoc # core
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: core/internaltestsupport/src/main/adoc # core
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: core/metamodel/src/main/adoc # core
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: core/runtime/src/main/adoc # core
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: core/runtimeservices/src/main/adoc # core
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: core/security/src/main/adoc # security
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: core/transaction/src/main/adoc # core
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: core/webapp/src/main/adoc # core
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+
+ # examples
+ - url: .
+ start_path: antora/components/tutorials # tutorials
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+
+ # extensions
+ - url: .
+ start_path: extensions/adoc # extensions
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+
+ - url: .
+ start_path: extensions/core/commandlog/adoc # userguide
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: extensions/core/docgen/adoc # userguide
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: extensions/core/excel/adoc # userguide
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: extensions/core/executionlog/adoc # userguide
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: extensions/core/executionoutbox/adoc # userguide
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: extensions/core/executionrepublisher/adoc # userguide
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: extensions/core/flyway/adoc # userguide
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: extensions/core/layoutloaders/adoc # userguide
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: extensions/core/titlecache/adoc # userguide
+ branches: [2.1.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0, 4.0.0-SNAPSHOT]
+
+ - url: .
+ start_path: extensions/security/audittrail/adoc # security
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: extensions/security/secman/adoc # security
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: extensions/security/sessionlog/adoc # security
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: extensions/security/spring-oauth2/src/main/adoc # security
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+
+ - url: .
+ start_path: extensions/vro/cors/adoc # vro
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+
+ - url: .
+ start_path: extensions/vw/tabular/adoc # vw
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: extensions/vw/fullcalendar/adoc # vw
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: extensions/vw/pdfjs/adoc # vw
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: extensions/vw/sse/adoc # vw
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+
+ # incubator
+ - url: .
+ start_path: incubator/adoc # incubator
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ # - url: .
+ # start_path: incubator/clients/kroviz/adoc # incubator
+ # branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ # - url: .
+ # start_path: incubator/extensions/core/commandreplay/adoc # incubator
+ # branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+
+ # mavendeps
+ - url: .
+ start_path: mavendeps/adoc # starters
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+
+ # persistence
+ - url: .
+ start_path: persistence/jpa/adoc # pjpa
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: persistence/jdo/adoc # pjdo
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0]
+ - url: .
+ start_path: persistence/querydsl/adoc # pjdo
+ branches: [3.2.0, 3.3.0, 3.4.0, 4.0.0-SNAPSHOT]
+
+ # regression tests
+ - url: .
+ start_path: regressiontests/adoc # regressiontests
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+
+ # security
+ - url: .
+ start_path: security/adoc # security
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: security/bypass/src/main/adoc # security
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: security/simple/src/main/adoc # security
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: security/shiro/src/main/adoc # security
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0]
+ - url: .
+ start_path: security/keycloak/src/main/adoc # security
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: security/spring/src/main/adoc # security
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+
+ # starters
+ - url: .
+ start_path: starters/adoc # toc
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+
+
+ # testing
+ - url: .
+ start_path: testing/adoc # testing
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: testing/archtestsupport/adoc # testing
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: testing/fakedata/adoc # testing
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: testing/fixtures/adoc # testing
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: testing/h2console/adoc # testing
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: testing/hsqldbmgr/adoc # testing
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: testing/integtestsupport/adoc # testing
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: testing/specsupport/adoc # testing
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: testing/unittestsupport/adoc # testing
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+
+ # valuetypes
+ - url: .
+ start_path: valuetypes/adoc # valuetypes
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: valuetypes/asciidoc/adoc # valuetypes
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: valuetypes/jodatime/adoc # valuetypes
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0]
+ - url: .
+ start_path: valuetypes/markdown/adoc # valuetypes
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: valuetypes/vega/adoc # valuetypes
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+
+ # viewers
+ - url: .
+ start_path: viewers/graphql/adoc
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: viewers/restfulobjects/adoc # vro
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+ - url: .
+ start_path: viewers/wicket/adoc # vw
+ branches: [2.0.0, 2.1.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0,
4.0.0-SNAPSHOT]
+
+
+ui:
+ bundle:
+ # url: ../../causeway-antora/build/ui-bundle.zip
+ url:
https://github.com/apache/causeway-antora/blob/master/build/ui-bundle.zip?raw=true
+ snapshot: true
+ supplemental_files: antora/supplemental-ui
+
+asciidoc:
+ # npm i @antora/cli@^3.1.14 @antora/site-generator-default@^3.1.14
asciidoctor-kroki
+ extensions:
+ - asciidoctor-kroki
+ - ./antora/lib/lorem
+ - ./antora/lib/jira-issue
+ attributes:
+ experimental: ""
+ idprefix: ""
+ idseparator: "-"
+ # kroki
+ # for more options see https://github.com/Mogztter/asciidoctor-kroki
+ kroki-default-format: svg # (default)
+ kroki-default-options: interactive # only available for SVG
+ kroki-fetch-diagram: true
+ kroki-server-url: https://kroki.io # (default)
+ page-causewaycurrmajorversion: "v3"
+ page-causewaynextmajorversion: "v4"
+ page-causewaysnapshotversion: "4.0.0-SNAPSHOT"
+ page-causewayreleaseversion: "4.0.0-M1"
+ page-causewayjdkversion: "21"
+
+output:
+ dir: antora/target/site
diff --git a/scripts/ci/_print-environment.sh b/scripts/ci/_print-environment.sh
index b8fcee591e6..0dbc2c4d35d 100755
--- a/scripts/ci/_print-environment.sh
+++ b/scripts/ci/_print-environment.sh
@@ -20,6 +20,7 @@ echo ""
echo "=========== CAUSEWAY CI SCRIPT [$1] ================="
echo "\$REVISION = ${REVISION}"
+echo "\$URL = ${URL}"
echo "\$PROJECT_ROOT_PATH = ${PROJECT_ROOT_PATH}"
echo "\$MVN_STAGES = ${MVN_STAGES}"
echo "\$MVN_ADDITIONAL_OPTS = ${MVN_ADDITIONAL_OPTS}"