From a34eb8fd3c6441abe15e813a492daac6930670d1 Mon Sep 17 00:00:00 2001 From: Michael Burman Date: Wed, 18 Sep 2024 14:20:24 +0300 Subject: [PATCH] ... --- .github/workflows/kindIntegTest.yml | 91 +---------------------------- 1 file changed, 1 insertion(+), 90 deletions(-) diff --git a/.github/workflows/kindIntegTest.yml b/.github/workflows/kindIntegTest.yml index f30bd291..1ae917a3 100644 --- a/.github/workflows/kindIntegTest.yml +++ b/.github/workflows/kindIntegTest.yml @@ -99,93 +99,4 @@ jobs: with: name: k8s-logs-smoke_test-${{ matrix.version }} path: ./build/kubectl_dump - - name: TopoLVM kind installation with volumeExpansion - needs: build_docker_images - strategy: - matrix: - version: - - "4.1.6" - integration_test: - - pvc_expansion - fail-fast: true - runs-on: ubuntu-latest - env: - CGO_ENABLED: 0 - M_INTEG_DIR: ${{ matrix.integration_test }} - M_SERVER_VERSION: ${{ matrix.version }} - steps: - - name: Install necessary tools for LVM setup - run: | - sudo apt-get update - sudo apt-get install -y lvm2 xfsprogs thin-provisioning-tools - - name: Check out code into the Go module directory - uses: actions/checkout@v4 - with: - ref: ${{ github.event.pull_request.head.sha }} - - name: Check out code into the Go module directory - uses: actions/checkout@v4 - with: - repository: topolvm/topolvm - path: topolvm - ref: topolvm-chart-v15.2.0 - - name: Create LVM from TopoLVM's example setup - run: | - cd topolvm/example - mkdir -p build - mkdir -p bin - make start-lvmd - make KIND=$(type -a -P kind) launch-kind - - name: Set up Go - uses: actions/setup-go@v5 - with: - go-version-file: 'go.mod' - cache: true - - name: Install TopoLVM controller - run: | - make cert-manager - helm repo add topolvm https://topolvm.github.io/topolvm - helm repo update - kubectl create namespace topolvm-system - kubectl label namespace topolvm-system topolvm.io/webhook=ignore - kubectl label namespace kube-system topolvm.io/webhook=ignore - helm install --namespace=topolvm-system topolvm topolvm/topolvm -f topolvm/example/values.yaml - kubectl wait --for=condition=available --timeout=120s -n topolvm-system deployments/topolvm-controller - kubectl wait --for=condition=ready --timeout=120s -n topolvm-system -l="app.kubernetes.io/component=controller,app.kubernetes.io/name=topolvm" pod - kubectl wait --for=condition=ready --timeout=120s -n topolvm-system certificate/topolvm-mutatingwebhook - - name: Link tools - shell: bash - run: | - mkdir bin - ln -s /usr/local/bin/kustomize bin/kustomize - - name: Download cass-operator image - uses: actions/download-artifact@v4 - with: - name: cass-operator - path: /tmp - - name: Download system-logger image - uses: actions/download-artifact@v4 - with: - name: system-logger - path: /tmp - - name: Load Docker images - shell: bash - id: load - run: | - echo "operator_img=$(docker load --input /tmp/k8ssandra-cass-operator.tar | cut -f 3 -d' ')" >> $GITHUB_OUTPUT - echo "logger_img=$(docker load --input /tmp/k8ssandra-system-logger.tar | cut -f 3 -d' ')" >> $GITHUB_OUTPUT - - name: Load image on the nodes of the cluster - shell: bash - run: | - kind load docker-image --name=topolvm-example ${{ steps.load.outputs.operator_img }} - kind load docker-image --name=topolvm-example ${{ steps.load.outputs.logger_img }} - - name: Run integration test - shell: bash - run: | - IMG=${{ steps.load.outputs.operator_img }} LOG_IMG=${{ steps.load.outputs.logger_img }} make integ-test - - name: Archive k8s logs - if: ${{ failure() }} - uses: actions/upload-artifact@v4 - with: - name: k8s-logs-topolvm-test-${{ matrix.version }} - path: ./build/kubectl_dump \ No newline at end of file + \ No newline at end of file