Skip to content

chore(deps): bump go.opentelemetry.io/otel/trace from 1.24.0 to 1.29.0 #915

chore(deps): bump go.opentelemetry.io/otel/trace from 1.24.0 to 1.29.0

chore(deps): bump go.opentelemetry.io/otel/trace from 1.24.0 to 1.29.0 #915

Workflow file for this run

name: Helm Test
on:
push:
tags:
- v*
branches:
- master
pull_request:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Kubernetes KinD Cluster
uses: container-tools/kind-action@v1
- name: Build and push Docker image
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
with:
context: .
file: ./build/full/Dockerfile
push: true
tags: localhost:5000/flanksource/canary-checker:latest
cache-from: type=registry,ref=docker.io/flanksource/canary-checker
- name: Update canary-checker image in helm chart
uses: mikefarah/yq@master
with:
cmd: yq -i e '.global.imageRegistry = "kind-registry:5000"' chart/values.yaml
- name: Setup Helm
uses: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78 # v3.5
with:
version: v3.11.3
- name: Package helm chart
run: |
helm dependency build ./chart
helm package ./chart --version 1.0.0
- name: Install helm chart
run: 'helm install canary-checker canary-checker-1.0.0.tgz -n canary-checker --create-namespace'
- name: Wait for 30 seconds
run: 'kubectl rollout status deploy/canary-checker -n canary-checker --timeout 5m'
- name: Check canary-checker pods
run: 'kubectl describe pods -n canary-checker'
- name: Apply exec fixture
run: 'kubectl apply -f fixtures/minimal/exec_pass.yaml'
- name: Wait for 60 seconds
run: 'sleep 60'
- name: Check status
run: |
kubectl logs deploy/canary-checker -n canary-checker
status=$(kubectl get canaries.canaries.flanksource.com exec-pass -o yaml | yq .status.status)
echo $status
if [[ $status == "Passed" ]]; then
exit 0
else
exit 1
fi