Skip to content
Merged
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
7 changes: 4 additions & 3 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
# Global rule:
* @redhat-developer/rhdh-install

# Lightspeed:
/config/profile/rhdh/default-config/flavours/lightspeed @redhat-developer/rhdh-ai
/examples/lightspeed*.yaml @redhat-developer/rhdh-ai
# Intelligent Assistant:
/config/profile/rhdh/default-config/flavours/intelligent-assistant @redhat-developer/rhdh-ai
/examples/intelligent-assistant*.yaml @redhat-developer/rhdh-ai
/docs/intelligent-assistant.md @redhat-developer/rhdh-ai
10 changes: 5 additions & 5 deletions .github/workflows/sync-lightspeed-configs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ jobs:
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"

- name: Sync Lightspeed config files
- name: Sync Lightspeed Core config files
run: ./hack/sync-lightspeed-configs.sh --ref ${{ matrix.branch }}

- name: Check for changes
id: changes
run: |
if git diff --quiet config/profile/rhdh/default-config/flavours/lightspeed/ examples/lightspeed.yaml; then
if git diff --quiet config/profile/rhdh/default-config/flavours/intelligent-assistant/ examples/intelligent-assistant.yaml; then
echo "No changes from upstream."
echo "has_changes=false" >> "$GITHUB_OUTPUT"
else
Expand Down Expand Up @@ -91,11 +91,11 @@ jobs:
git push origin "${BRANCH}"

BODY=$(cat <<EOF
Automated nightly sync of Lightspeed config files from [redhat-ai-dev/lightspeed-configs @ ${TARGET_BRANCH}](https://github.com/redhat-ai-dev/lightspeed-configs/tree/${TARGET_BRANCH}).
Automated nightly sync of Lightspeed Core config files from [redhat-ai-dev/lightspeed-configs @ ${TARGET_BRANCH}](https://github.com/redhat-ai-dev/lightspeed-configs/tree/${TARGET_BRANCH}).

### Synced files
- \`config/profile/rhdh/default-config/flavours/lightspeed/configmap-files.yaml\`
- \`examples/lightspeed.yaml\`
- \`config/profile/rhdh/default-config/flavours/intelligent-assistant/configmap-files.yaml\`
- \`examples/intelligent-assistant.yaml\`

> [!CAUTION]
> Please review the upstream changes carefully before merging.
Expand Down
4 changes: 2 additions & 2 deletions api/v1alpha5/backstage_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -366,10 +366,10 @@ type TLS struct {
}

// Flavour represents a pre-configured template that extends the default configuration.
// Flavours provide domain-specific customizations (e.g., Orchestrator, Lightspeed)
// Flavours provide domain-specific customizations (e.g., Orchestrator, Intelligent Assistant)
// while falling back to base defaults for everything else.
type Flavour struct {
// Name of the flavour to enable (e.g., "orchestrator", "lightspeed")
// Name of the flavour to enable (e.g., "orchestrator", "intelligent-assistant")
// +kubebuilder:validation:Required
Name string `json:"name"`

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions bundle/rhdh/manifests/rhdh.redhat.com_backstages.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions config/crd/bases/rhdh.redhat.com_backstages.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: default-dynamic-plugins
data:
dynamic-plugins.yaml: |
plugins:
# Intelligent Assistant Plugins
- package: oci://quay.io/rhdh/red-hat-developer-hub-backstage-plugin-intelligent-assistant:{{inherit}}
enabled: true

- package: oci://quay.io/rhdh/red-hat-developer-hub-backstage-plugin-intelligent-assistant-backend:{{inherit}}
Comment thread
rm3l marked this conversation as resolved.
Resolved
enabled: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Intelligent Assistant flavour metadata
# This flavour is enabled by default and provides Developer Hub Intelligent Assistant functionality
enabledByDefault: true

This file was deleted.

This file was deleted.

12 changes: 6 additions & 6 deletions config/profile/rhdh/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ generatorOptions:

# Base configuration

# Lightspeed flavour configuration
# Intelligent Assistant flavour configuration

# Orchestrator flavour configuration

Expand All @@ -49,11 +49,11 @@ configMapGenerator:
- default-config/secret-files.yaml
name: default-config
- files:
- default-config/flavours/lightspeed/metadata.yaml
- default-config/flavours/lightspeed/configmap-files.yaml
- default-config/flavours/lightspeed/deployment.yaml
- default-config/flavours/lightspeed/dynamic-plugins.yaml
name: flavour-lightspeed-config
- default-config/flavours/intelligent-assistant/metadata.yaml
- default-config/flavours/intelligent-assistant/configmap-files.yaml
- default-config/flavours/intelligent-assistant/deployment.yaml
- default-config/flavours/intelligent-assistant/dynamic-plugins.yaml
name: flavour-intelligent-assistant-config
Comment thread
rm3l marked this conversation as resolved.
Resolved
- files:
- default-config/flavours/orchestrator/metadata.yaml
- default-config/flavours/orchestrator/dynamic-plugins.yaml
Expand Down
8 changes: 4 additions & 4 deletions config/profile/rhdh/patches/deployment-patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ spec:
- name: INSTALL_DP_IMAGE
value: quay.io/gazarenk/install-plugins:skopeo
volumeMounts:
- mountPath: /default-config/flavours/lightspeed
name: flavour-lightspeed-config
- mountPath: /default-config/flavours/intelligent-assistant
name: flavour-intelligent-assistant-config
- mountPath: /default-config/flavours/orchestrator
name: flavour-orchestrator-config
volumes:
- name: flavour-lightspeed-config
- name: flavour-intelligent-assistant-config
configMap:
name: flavour-lightspeed-config
name: flavour-intelligent-assistant-config
- name: flavour-orchestrator-config
configMap:
name: flavour-orchestrator-config
4 changes: 2 additions & 2 deletions dist/backstage.io/install.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 13 additions & 14 deletions dist/rhdh/install.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,8 @@ These configuration variations extend the base default configuration, allowing t
##### Orchestrator
Workflow orchestration capabilities powered by Serverless Workflow. Disabled by default. See [Orchestrator documentation](orchestrator.md) for details.

##### Lightspeed
AI-powered developer assistance with chat interface and Model Context Protocol (MCP) tools. Enabled by default. See [Lightspeed documentation](lightspeed.md) for details.
##### Intelligent Assistant
AI-powered developer assistance with chat interface and Model Context Protocol (MCP) tools. Enabled by default. See [Intelligent Assistant documentation](intelligent-assistant.md) for details.

#### Usage

Expand All @@ -342,7 +342,7 @@ spec:
flavours:
- name: orchestrator
enabled: true
- name: lightspeed
- name: intelligent-assistant
enabled: true
```

Expand Down
Loading
Loading