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 }