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

test: pr #37

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
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
52 changes: 52 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Build Test

on:
pull_request:
branches:
- main

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332

# Install Tools
- name: Install Miscellaneous Tools
uses: alexellis/arkade-get@493cf9387f80dcbf8a85786c55e04de45c927a5c
with:
kubectl: v1.30.2
kustomize: v5.3.0
helm: v3.16.1
helmfile: v0.161.0
k3d: v5.7.3

- name: Create k3d Cluster
run: k3d cluster create temp

- name: Apply Base Manifests Into the Cluster
run: make

- name: Apply dora manifests
run: make dora

- name: Apply trace
run: make traces

# - name: Wait For Jobs to Complete
# run: |
# kubectl wait \
# --for=condition=complete job --all -A \
# --timeout 4m

# wait for jobs to be done before checking pod status.
- name: Wait for Jobs to be Complete
run: sleep 10

- name: Wait For Pods to be Ready
run: |
kubectl get pods -A
kubectl wait \
--for=condition=ready pod --all -A \
--field-selector=status.phase!=Succeeded \
--timeout 4m
Loading