Skip to content

Same agent Smaller bill. The tools and infrastructure to get more work from your AI. Fewer tokens. Less compute. Lower cost.

use existing workflow

patcher96d0f42f744ec
diff --git a/.github/labeler.yml b/.github/labeler.yml
index 23dfb429..71b7295e 100644
--- a/.github/labeler.yml
+++ b/.github/labeler.yml
@@ -1,15 +1,19 @@
-openlit-python:
+python-sdk:
- changed-files:
- any-glob-to-any-file: 'sdk/python/*'
-openlit-js:
+js-sdk:
- changed-files:
- any-glob-to-any-file: 'sdk/typescript/*'
-client:
+openlit:
- changed-files:
- any-glob-to-any-file: 'src/*'
+operator:
+- changed-files:
+ - any-glob-to-any-file: 'operator/*'
+
Documentation:
- changed-files:
- any-glob-to-any-file: 'docs/*'
\ No newline at end of file
diff --git a/.github/workflows/operator-tests.yml b/.github/workflows/operator-tests.yml
index 262c0937..d703ddb3 100644
--- a/.github/workflows/operator-tests.yml
+++ b/.github/workflows/operator-tests.yml
@@ -77,7 +77,6 @@ jobs:
e2e:
name: E2E Tests
runs-on: ubuntu-latest
- needs: unit
steps:
- name: Checkout code
uses: actions/checkout@v4
@@ -180,28 +179,12 @@ jobs:
- name: Test operator functionality
run: |
echo "🧪 Testing operator functionality..."
- # Create test AutoInstrumentation resource
- cat <<EOF | kubectl apply -f -
- apiVersion: openlit.io/v1alpha1
- kind: AutoInstrumentation
- metadata:
- name: test-instrumentation
- namespace: default
- spec:
- selector:
- matchLabels:
- test: "e2e"
- otlp:
- endpoint: "http://openlit.default.svc.cluster.local:4318"
- python:
- instrumentation:
- provider: "openlit"
- customPackages: "opentelemetry-instrumentation-logging>=0.57b0"
- EOF
-
- # Verify resource was created
- kubectl get autoinstrumentations.openlit.io test-instrumentation -o yaml
- echo "✅ AutoInstrumentation resource created successfully"
+ # Create test AutoInstrumentation resource from example file
+ kubectl apply -f operator/examples/complete-openlit-instrumentation.yaml
+
+ # Verify resources were created
+ kubectl get autoinstrumentations.openlit.io -o yaml
+ echo "✅ AutoInstrumentation resources created successfully"
- name: Deploy test application with custom packages
run: |