Skip to content

Hot fix to e2e test on Openshift #857

Hot fix to e2e test on Openshift

Hot fix to e2e test on Openshift #857

Workflow file for this run

# Tests a PR in a `kind` cluster
name: PR Test in kind
on:
push:
paths:
- ".github/workflows/pr-test-in-kind.yml"
- Makefile
- cmd/dual-pods-controller/**
- cmd/test-requester/**
- cmd/test-server/**
- pkg/**
- test/e2e/**
pull_request:
branches:
- main
jobs:
debug:
name: print relevant info
runs-on: ubuntu-latest
steps:
- run: |
echo "github.actor=${{ github.actor }}"
echo "github.action_ref=${{ github.action_ref }}"
echo "github.event_name=${{ github.event_name }}"
echo "github.head_ref=$GITHUB_HEAD_REF"
echo "github.ref=${{ github.ref }}"
echo "github.ref_name=${{ github.ref_name }}"
echo "github.repository=${{ github.repository }}"
echo "github.repository_owner=${{ github.repository_owner }}"
echo "github.triggering_actor=${{ github.triggering_actor }}"
echo "GITHUB_ACTION_REF=$GITHUB_ACTION_REF"
run-test:
runs-on: ubuntu-latest
steps:
- name: Install ko
uses: ko-build/setup-ko@d006021bd0c28d1ce33a07e7943d48b079944c8d
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
- name: Doit
run: test/e2e/run.sh
- name: show all pods
if: always()
run: kubectl get pods -A -o wide
- name: show test pods
if: always()
run: kubectl get pods -L dual-pods.llm-d.ai/dual,dual-pods.llm-d.ai/sleeping
- name: show ReplicaSets
if: always()
run: kubectl get rs -A
- name: show dual-pods controller log
if: always()
run: kubectl logs deploy/fma-dual-pods-controller
- name: show GPU allocations
if: always()
run: kubectl get cm gpu-allocs -o yaml
- name: show YAML of test pods
if: always()
run: kubectl get pods -o yaml