Skip to content

Commit 5d4b091

Browse files
committed
Merge branch 'main' into 'enterprise'
Sync from open source to enterprise See merge request dkinternal/observability/dataops-observability!26
2 parents e42375b + b79cf15 commit 5d4b091

8 files changed

Lines changed: 67 additions & 19 deletions

File tree

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Publish Charts
2+
description: Push charts to GitHub Pages
3+
inputs:
4+
github-token:
5+
description: 'GitHub token for pushing to gh-pages branch'
6+
required: true
7+
runs:
8+
using: 'composite'
9+
steps:
10+
- name: Configure Git
11+
shell: bash
12+
run: |
13+
git config user.name "$GITHUB_ACTOR"
14+
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
15+
16+
- name: Install Helm
17+
uses: azure/setup-helm@v4.2.0
18+
19+
- name: Add Helm Repos for Dependencies
20+
shell: bash
21+
run: |
22+
helm repo add bitnami https://charts.bitnami.com/bitnami
23+
24+
- name: Run chart-releaser
25+
uses: helm/chart-releaser-action@v1.6.0
26+
with:
27+
charts_dir: deploy/charts
28+
skip_existing: 'true'
29+
packages_with_index: 'true'
30+
env:
31+
CR_TOKEN: '${{ inputs.github-token }}'

.github/workflows/release.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Release New Version
2+
on:
3+
push:
4+
branches:
5+
- master
6+
workflow_dispatch:
7+
branches:
8+
- master
9+
jobs:
10+
publish:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout Latest Changes
14+
uses: actions/checkout@v4
15+
with:
16+
fetch-depth: 0
17+
18+
- name: Package and Publish Charts
19+
uses: ./.github/actions/publish_charts
20+
with:
21+
github-token: '${{ secrets.GITHUB_TOKEN }}'

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,6 @@ events_v2.html
156156
# MacOS
157157
*.DS_STORE
158158

159-
# Helm charts packages
160-
*.tgz
161-
162159
# Diff/merge files
163160
*.orig
164161

deploy/charts/observability-app/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Values for minikube trial deployment
2+
# Values for minikube dk-installer deployment
33
#
44

55
observability:

deploy/charts/observability-services/values.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ kafka:
1818
image:
1919
tag: 3.8.4-debian-12-r0
2020

21-
2221
mysql:
2322
enable: true
2423
image:
@@ -28,4 +27,3 @@ mysql:
2827
auth:
2928
username: observability
3029
database: datakitchen
31-

observability_ui/apps/shell/src/app/projects/integrations/tools/abstract-tool.directive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ export abstract class AbstractTool implements OnInit {
229229

230230
for (const variableName of variables) {
231231
const variableValue = variablesValues[variableName];
232-
dockerExtraEnvVars.push(` - ${variableName.toUpperCase()}='${variableValue}'\n`);
232+
dockerExtraEnvVars.push(` - ${variableName.toUpperCase()}=${variableValue}\n`);
233233
kubernetesExtraEnvVars.push(` ${variableName.toUpperCase()}: '${variableValue}'\n`);
234234
}
235235

observability_ui/apps/shell/src/app/projects/integrations/tools/agent-script.tpl

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -120,18 +120,18 @@ services:
120120
extra_hosts:
121121
- host.docker.internal:host-gateway
122122
environment:
123-
- EVENTS_API_HOST='$EVENTS_API_HOST'
124-
- EVENTS_API_KEY='$EVENTS_API_KEY'
125-
- EVENT_HUB_CONN_STR='$EVENT_HUB_CONN_STR'
126-
- EVENT_HUB_NAME='$EVENT_HUB_NAME'
127-
- AZURE_STORAGE_CONN_STR='$AZURE_STORAGE_CONN_STR'
128-
- BLOB_CONTAINER_NAME='$BLOB_CONTAINER_NAME'
129-
- EXTERNAL_PLUGINS_PATH='$EXTERNAL_PLUGINS_PATH'
130-
- ENABLED_PLUGINS='$ENABLED_PLUGINS'
131-
- PUBLISH_EVENTS='$PUBLISH_EVENTS'
132-
- AIRFLOW_PASSWORD='$AIRFLOW_PASSWORD'
133-
- AIRFLOW_USERNAME='$AIRFLOW_USERNAME'
134-
- BASE_AIRFLOW_API_URL='$BASE_AIRFLOW_API_URL'
123+
- EVENTS_API_HOST=$EVENTS_API_HOST
124+
- EVENTS_API_KEY=$EVENTS_API_KEY
125+
- EVENT_HUB_CONN_STR=$EVENT_HUB_CONN_STR
126+
- EVENT_HUB_NAME=$EVENT_HUB_NAME
127+
- AZURE_STORAGE_CONN_STR=$AZURE_STORAGE_CONN_STR
128+
- BLOB_CONTAINER_NAME=$BLOB_CONTAINER_NAME
129+
- EXTERNAL_PLUGINS_PATH=$EXTERNAL_PLUGINS_PATH
130+
- ENABLED_PLUGINS=$ENABLED_PLUGINS
131+
- PUBLISH_EVENTS=$PUBLISH_EVENTS
132+
- AIRFLOW_PASSWORD=$AIRFLOW_PASSWORD
133+
- AIRFLOW_USERNAME=$AIRFLOW_USERNAME
134+
- BASE_AIRFLOW_API_URL=$BASE_AIRFLOW_API_URL
135135
$DOCKER_EXTRA_ENV_VARS
136136
137137
EOF

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ dependencies = [
4646
"tomli==2.0.1",
4747
"Werkzeug==2.2.3",
4848
"WTForms==3.0.1",
49+
"yoyo-migrations~=8.2.0",
4950
]
5051

5152
[project.optional-dependencies]

0 commit comments

Comments
 (0)