Skip to content

✨Add initContainer to wait for postgresql Ready status #43

✨Add initContainer to wait for postgresql Ready status

✨Add initContainer to wait for postgresql Ready status #43

Workflow file for this run

name: E2E test
on:
workflow_call:
workflow_dispatch:
pull_request:
branches:
- main
push:
branches:
- main
tags:
- 'v*'
jobs:
test-controlplane-lifecycle-management:
name: Test ControlPlane lifecycle management
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version: v1.19
cache: true
- name: Install kubectl
uses: azure/setup-kubectl@v4
id: install
- name: Run test
run: |
test/e2e/run.sh
- name: Show kubeconfig contexts
if: always()
run: kubectl config get-contexts
- name: Show running components of KubeFlex
if: always()
run: kubectl --context kind-kubeflex -n kubeflex-system get all
- name: Show logs of the KubeFlex controller manager
if: always()
run: kubectl --context kind-kubeflex -n kubeflex-system logs deploy/kubeflex-controller-manager
- name: Show logs of the shared Postgres DB
if: always()
run: kubectl --context kind-kubeflex -n kubeflex-system logs sts/postgres-postgresql
- name: Show logs of the KubeFlex operator
if: always()
run: kubectl --context kind-kubeflex -n kubeflex-system logs job/kubeflex-operator