mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-27 16:39:38 -05:00
b71b5103ae
* ci: migrate lb e2e test to bazel * ci: disable shared bazel cache on github runners
32 lines
855 B
YAML
32 lines
855 B
YAML
name: E2E load balancer test
|
|
description: "Test load balancer functionality."
|
|
|
|
inputs:
|
|
kubeconfig:
|
|
description: "The kubeconfig of the cluster to test."
|
|
required: true
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
# This action assumes that the cluster is in an ready state, with all nodes joined and ready.
|
|
- name: Create deployments
|
|
shell: bash
|
|
env:
|
|
KUBECONFIG: ${{ inputs.kubeconfig }}
|
|
working-directory: ./.github/actions/e2e_lb
|
|
run: |
|
|
kubectl apply -f ns.yml
|
|
kubectl apply -f lb.yml
|
|
bazel run //e2e/internal/lb:lb_test
|
|
|
|
- name: Delete deployment
|
|
if: always()
|
|
shell: bash
|
|
env:
|
|
KUBECONFIG: ${{ inputs.kubeconfig }}
|
|
working-directory: ./.github/actions/e2e_lb
|
|
run: |
|
|
kubectl delete -f lb.yml
|
|
kubectl delete -f ns.yml --timeout=5m
|