From 34c26f4fda9a5a66c2d923d8e5b5fe5a0f8b8975 Mon Sep 17 00:00:00 2001 From: Manolo Carrasco Date: Thu, 6 Feb 2025 08:59:21 +0100 Subject: [PATCH] wip --- .github/workflows/pit.yml | 3 ++- scripts/pit/lib/lib-ccenter.sh | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pit.yml b/.github/workflows/pit.yml index 7990d5c..62e6d64 100644 --- a/.github/workflows/pit.yml +++ b/.github/workflows/pit.yml @@ -58,13 +58,14 @@ jobs: - name: Create k8s Kind Cluster uses: helm/kind-action@v1 with: - install_only: false + cluster_name: cc-cluster - name: Run PiT env: CC_KEY: ${{ secrets.CC_KEY }} CC_CERT: ${{ secrets.CC_CERT }} GHTK: ${{ secrets.GHTK }} run: | + # Run PiT script with parameters given in inputs [ -n "${{ inputs.skipcurrent }}" ] && A="$A --skip-current" [ -n "${{ inputs.skipdev }}" ] && A="$A --skip-dev" [ -n "${{ inputs.debug }}" ] && A="$A --debug" diff --git a/scripts/pit/lib/lib-ccenter.sh b/scripts/pit/lib/lib-ccenter.sh index e552ca6..ac85e50 100644 --- a/scripts/pit/lib/lib-ccenter.sh +++ b/scripts/pit/lib/lib-ccenter.sh @@ -233,11 +233,11 @@ runControlCenter() { validateControlCenter() { checkCommands docker kubectl helm unzip || return 1 checkDockerRunning || return 1 - if [ -z "$NOCURRENT" ]; then - runControlCenter current - fi buildCC || return 1 runControlCenter next + # if [ -z "$NOCURRENT" ]; then + # runControlCenter current + # fi }