Skip to content

feat(testing): automate PR checks with trace based tests #24

feat(testing): automate PR checks with trace based tests

feat(testing): automate PR checks with trace based tests #24

Workflow file for this run

name: Create Cluster
on: pull_request
jobs:
create-cluster:
runs-on: ubuntu-latest
env:
TRACETEST_LICENSE: ${{ secrets.TRACETEST_ONPREM_TEST_LICENSE }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup KinD
uses: helm/kind-action@v1
with:
cluster_name: tracetest
# install_only: true
- name: Test public images
run: |
kubectl config get-contexts
./scripts/setup_kind_cluster.sh --build-deps --install-demo --force-setup
helm install cloudagent -n default ./charts/tracetest-agent --set agent.apiKey $AGENT_API_KEY --set agent.environment $AGENT_ENV_ID
kubectl wait --for=condition=available --timeout=60s deployment/tracetest-agent
sleep 60
kubectl get pods
sleep 60
kubectl logs deployment/tt-tracetest-core-api
sleep 600