Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GEN-1100] chore: setup choose source #4

Merged
merged 24 commits into from
Jul 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
0df64e9
fix: match file names in helm registry index and release assets (#1373)
rauno56 Jul 22, 2024
793503c
Avoid app to crash python agent (#1385)
tamirdavid1 Jul 22, 2024
81388a5
refactor: use instance uid as connection key in opamp server (#1390)
blumamir Jul 24, 2024
90a5a09
feat: store container name for each instrumentation instance (#1392)
blumamir Jul 24, 2024
c2db864
chore: init setup sources components
alonkeyval Jul 25, 2024
e444824
chore: init tooltip component
alonkeyval Jul 25, 2024
4632da3
chore: added dropdoen component
alonkeyval Jul 25, 2024
f12cde6
chore: counter component
alonkeyval Jul 25, 2024
154fc7d
chore: wip
alonkeyval Jul 25, 2024
9272ba9
doc: improve docs and add python document (#1393)
tamirdavid1 Jul 25, 2024
ecc564d
capitalize-pii-title (#1395)
tamirdavid1 Jul 25, 2024
a29e4bb
Improve Odigos UI Memory consumption (#1394)
edeNFed Jul 25, 2024
645076e
chore(deps): bump the otel-dependencies group across 1 directory with…
dependabot[bot] Jul 27, 2024
72d3662
Improve E2E tests (#1265)
edeNFed Jul 28, 2024
91a7959
chore: wip
alonkeyval Jul 28, 2024
dd944a5
Add additional ClickHouse fields (#1396)
edeNFed Jul 28, 2024
718ed40
chore(deps): bump the k8s-dependencies group across 1 directory with …
dependabot[bot] Jul 28, 2024
7ef7a22
[GEN-1160] fix: create action bug (#1397)
alonkeyval Jul 28, 2024
6338070
Merge branch 'main' of github.com:keyval-dev/odigos
alonkeyval Jul 28, 2024
5b3c533
Merge branch 'main' into task-setup-choose-source
alonkeyval Jul 28, 2024
412d448
chore: get compute platform namspace with actual sources
alonkeyval Jul 28, 2024
5242d16
chore: sources list
alonkeyval Jul 28, 2024
fc9e1fc
chore: wip
alonkeyval Jul 29, 2024
abca0bf
chore: wip
alonkeyval Jul 29, 2024
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
91 changes: 28 additions & 63 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,27 @@ on:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
kubernetes-test:
runs-on: large-runner
runs-on: warp-ubuntu-latest-x64-8x-spot
strategy:
fail-fast: false
matrix:
kube-version:
- "1.23"
- "1.30"
test-scenario:
- "multi-apps"
- "helm-chart"
include:
- kube-version: "1.23"
kind-image: "kindest/node:v1.23.17@sha256:14d0a9a892b943866d7e6be119a06871291c517d279aedb816a4b4bc0ec0a5b3"
- kube-version: "1.30"
kind-image: "kindest/node:v1.30.0@sha256:047357ac0cfea04663786a612ba1eaba9702bef25227a794b52890dd8bcd692e"
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -18,15 +36,20 @@ jobs:
with:
go-version: "~1.22"
check-latest: true
cache: true
cache-dependency-path: |
**/go.sum
- name: Set up Helm
uses: azure/setup-helm@v4
with:
version: v3.9.0
- name: Setup BATS
uses: mig4/setup-bats@v1
- name: Install chainsaw
uses: kyverno/[email protected]
- name: Create Kind Cluster
uses: helm/[email protected]
with:
node_image: ${{ matrix.kind-image }}
version: "v0.23.0"
cluster_name: kind
- name: Build CLI
run: |
Expand All @@ -35,64 +58,6 @@ jobs:
- name: Build and Load Odigos Images
run: |
TAG=e2e-test make build-images load-to-kind
- name: Install Odigos
run: |
cli/odigos install --version e2e-test
- name: Install Collector - Add Dependencies
shell: bash
run: |
helm repo add open-telemetry https://open-telemetry.github.io/opentelemetry-helm-charts
- uses: actions/checkout@v4
with:
repository: 'open-telemetry/opentelemetry-helm-charts'
path: opentelemetry-helm-charts
- name: Install Collector - Helm install
run: helm install test -f .github/workflows/e2e/collector-helm-values.yaml opentelemetry-helm-charts/charts/opentelemetry-collector --namespace traces --create-namespace
- name: Wait for Collector to be ready
run: |
kubectl wait --for=condition=Ready --timeout=60s -n traces pod/test-opentelemetry-collector-0
- name: Install KV Shop
run: |
kubectl create ns kvshop
kubectl apply -f .github/workflows/e2e/kv-shop.yaml -n kvshop
- name: Wait for KV Shop to be ready
run: |
kubectl wait --for=condition=Ready --timeout=100s -n kvshop pods --all
- name: Select kvshop namespace for instrumentation
run: |
kubectl label namespace kvshop odigos-instrumentation=enabled
- name: Connect to Jaeger destination
run: |
kubectl create -f .github/workflows/e2e/jaeger-dest.yaml
- name: Wait for Odigos to bring up collectors
run: |
while [[ $(kubectl get daemonset odigos-data-collection -n odigos-system -o jsonpath='{.status.numberReady}') != 1 ]];
do
echo "Waiting for odigos-data-collection daemonset to be created" && sleep 3;
done
while [[ $(kubectl get deployment odigos-gateway -n odigos-system -o jsonpath='{.status.readyReplicas}') != 1 ]];
do
echo "Waiting for odigos-data-collection deployment to be created" && sleep 3;
done
while [[ $(kubectl get pods --output=jsonpath='{range .items[*]}{.status.phase}{"\n"}{end}' -n kvshop | grep -v Running | wc -l) != 0 ]];
do
echo "Waiting for kvshop pods to be running" && sleep 3;
done
sleep 10
kubectl get pods -A
kubectl get svc -A
- name: Start bot job
run: |
kubectl create -f .github/workflows/e2e/buybot-job.yaml -n kvshop
- name: Wait for bot job to complete
run: |
kubectl wait --for=condition=Complete --timeout=60s job/buybot-job -n kvshop
- name: Copy trace output
run: |
echo "Sleeping for 10 seconds to allow traces to be collected"
sleep 10
kubectl cp -c filecp traces/test-opentelemetry-collector-0:tmp/trace.json ./.github/workflows/e2e/bats/traces-orig.json
cat ./.github/workflows/e2e/bats/traces-orig.json
- name: Verify output trace
- name: Run E2E Tests
run: |
bats .github/workflows/e2e/bats/verify.bats
chainsaw test tests/e2e/${{ matrix.test-scenario }}
166 changes: 0 additions & 166 deletions .github/workflows/e2e/bats/utilities.bash

This file was deleted.

Loading
Loading