Skip to content

Commit cc40b95

Browse files
committed
Add a condition for Desktop CI
1 parent 904697b commit cc40b95

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

content/antora.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ asciidoc:
1010
user: user1
1111
password: openshift
1212
openshift_cluster_ingress_domain: app.example.sandbox.com
13-
novnc_url: https://app.example.sandbox.com
13+
novnc_url: http://localhost:8443
1414
release-version: main
1515
page-pagination: true
1616
page-toclevels: 1
17-
experimental: ""
17+
experimental: ""
18+
env-desktop: false

content/modules/ROOT/nav.adoc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1+
ifndef::env-desktop[]
12
* xref:module-devhub.adoc[Parasol AI Developer Workflow]
23
* xref:module-prompt.adoc[Prompting Basics]
34
* xref:module-private-docs.adoc[Private Docs]
45
* xref:module-model-testing.adoc[Model Testing]
6+
endif::[]
7+
ifdef::env-desktop[]
58
* xref:module-discovery.adoc[Podman Desktop AI Lab]
69
// * xref:module-kai.adoc[Migration with Konveyor AI]
7-
* xref:module-ilab.adoc[AI Model Fine-Tuning]
10+
* xref:module-ilab.adoc[AI Model Fine-Tuning]
11+
endif::[]

utilities/lab-desktop-start

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env bash
2+
3+
echo "Starting build process..."
4+
podman run --privileged --rm --name showroom-builder -v "./:/antora" docker.io/antora/antora default-site.yml
5+
6+
echo "Starting serve process..."
7+
podman run --privileged -d --rm --name showroom-httpd -p 8443:80 -v "./www:/usr/local/apache2/htdocs/" docker.io/httpd:2.4
8+
9+
echo "Serving lab content on http://localhost:8443/index.html"

0 commit comments

Comments
 (0)