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: 2 additions & 1 deletion ci/playbooks/create_lightspeed_secret.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,6 @@
--from-file=apitoken=/dev/stdin
-n {{ _lightspeed_namespace }}
--dry-run=client -o yaml | oc apply -f -
stdin: "{{ openai_credentials.api_token }}"
stdin: "{{ openai_credentials.api_token | trim }}"
stdin_add_newline: false
no_log: true
11 changes: 4 additions & 7 deletions zuul.d/jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,18 +108,15 @@
mountPath: /var/run/secrets/kubernetes.io/serviceaccount
readOnly: true

# Fake LLM only; real-provider credentials are a follow-up.
cifmw_openstack_lightspeed_mock_enabled: true
cifmw_openstack_lightspeed_mock_enabled: false

# Operator catalog image from content-provider dependency
cifmw_openstack_lightspeed_catalog_image: "{{ content_provider_registry_ip }}:5001/openstack-k8s-operators/lightspeed-operator-index:{{ zuul.patchset }}"

# Mock provider deployed by the operator-owned hook
cifmw_openstack_lightspeed_llm_endpoint: "http://mock-llm-api-server-pod.openstack-lightspeed.svc.cluster.local:8000/v1"
# Use provider secrets created by the pre-run playbook
cifmw_openstack_lightspeed_llm_endpoint: "https://api.openai.com/v1"
cifmw_openstack_lightspeed_llm_endpoint_type: "openai"
cifmw_openstack_lightspeed_model_name: "example-model"
# Replace the pre-run provider token with a dummy value for the mock.
cifmw_openstack_lightspeed_api_token: "dummy-token-for-ci"
cifmw_openstack_lightspeed_model_name: "gpt-4o-mini"

cifmw_os_must_gather_additional_namespaces: "openstack-lightspeed"
cifmw_os_must_gather_omc: false
Expand Down
Loading