Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions roles/ocp4_workload_showroom/defaults/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ ocp4_workload_showroom_content_git_repo_ref: main
# Which Antora Playbook to use in the content repo
ocp4_workload_showroom_content_antora_playbook: default-site.yml

# Enable Antora dev mode (adds attributes debug page and dev navigation)
ocp4_workload_showroom_enable_dev_mode: false

# Which terminal to deploy:
# - wetty: deploy the wetty terminal image. You can then set
# ocp4_workload_showroom_wetty_ssh_bastion_login to true
Expand Down
1 change: 1 addition & 0 deletions roles/ocp4_workload_showroom/tasks/deploy_showroom.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
antoraPlaybook: "{{ ocp4_workload_showroom_content_antora_playbook }}"
zero_touch_bundle: "{{ ocp4_workload_showroom_zero_touch_bundle }}"
zero_touch_ui_enabled: "{{ ocp4_workload_showroom_zero_touch_ui_enabled | string | lower }}"
enableDevMode: "{{ ocp4_workload_showroom_enable_dev_mode | bool | string | lower }}"
guid: "{{ guid }}"
user: "{{ _showroom_user | default('') }}"
deployer:
Expand Down
2 changes: 2 additions & 0 deletions roles/vm_workload_showroom/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ showroom_git_ref: main
# Users can override with any custom playbook filename
showroom_content_antora_playbook: default-site.yml

showroom_enable_dev_mode: false

showroom_primary_path: "" # this is the postfix to the URL where the UI is available
showroom_ui: zero-touch # rhdev (RH Developer old UI) and zero-touch are options, extensible
showroom_ui_zero_bundle: https://github.com/rhpds/nookbag/releases/download/nookbag-v0.2.1/nookbag-v0.2.1.zip
Expand Down
1 change: 1 addition & 0 deletions roles/vm_workload_showroom/tasks/40-showroom-render.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
env:
WAIT_FOR_GIT_CLONER: "false"
ANTORA_SITE_FILE: "{{ showroom_antora_playbook_to_use }}"
ANTORA_ENABLE_DEV_MODE: "{{ showroom_enable_dev_mode | string }}"
detach: false # ensure completion of render before moving on
working_dir: "/files"
volumes:
Expand Down