diff --git a/.github/workflows/pre-pull-images.yaml b/.github/workflows/pre-pull-images.yaml index 197982a7c6..6efe2a0e27 100644 --- a/.github/workflows/pre-pull-images.yaml +++ b/.github/workflows/pre-pull-images.yaml @@ -70,7 +70,7 @@ jobs: fail-fast: false outputs: images: ${{ steps.extract-images.outputs.images }} - paths: ${{ fromJSON(needs.changed-clusters.outputs.matrix) }} + paths: ${{ needs.changed-clusters.outputs.matrix }} steps: - name: Configure 1password uses: 1password/load-secrets-action/configure@v2 @@ -192,7 +192,9 @@ jobs: "aqua:siderolabs/talos" = "latest" - name: Pre-pull Image - run: talosctl -n $NODE_IP image pull ${{ matrix.images }} + run: | + NODE=$(talosctl config info --output json | jq --raw-output '.nodes[]' | shuf -n 1) + talosctl -n $NODE image pull ${{ matrix.images }} # Summarize matrix https://github.community/t/status-check-for-a-matrix-jobs/127354/7 pre-pull-images-success: diff --git a/.github/workflows/schemas.yaml b/.github/workflows/schemas.yaml index 8ca933aec9..d69ad2cf39 100644 --- a/.github/workflows/schemas.yaml +++ b/.github/workflows/schemas.yaml @@ -30,7 +30,7 @@ jobs: env: BOT_APP_ID: op://Kubernetes/github-bot/BOT_APP_ID BOT_APP_PRIVATE_KEY: op://Kubernetes/github-bot/BOT_APP_PRIVATE_KEY - KUBECONFIG: op://Kubernetes/kubernetes/KUBECONFIG_BASE64 + KUBECONFIG: op://Kubernetes/kubernetes/KUBECONFIG CLOUDFLARE_API_TOKEN: op://Kubernetes/cloudflare/CLOUDFLARE_API_TOKEN_GHA CLOUDFLARE_ACCOUNT_ID: op://Kubernetes/cloudflare/CLOUDFLARE_ACCOUNT_TAG @@ -61,14 +61,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: 18.x - - - name: Write kubeconfig - id: kubeconfig - uses: timheuer/base64-to-file@v1 - with: - encodedString: ${{ env.KUBECONFIG }} - fileName: kubeconfig + node-version: 20.x - name: Download and run crd-extractor env: diff --git a/kubernetes/main/apps/actions-runner-system/gha-runner-scale-set/app/helmrelease.yaml b/kubernetes/main/apps/actions-runner-system/gha-runner-scale-set/app/helmrelease.yaml index 972f260a39..e13fe22767 100644 --- a/kubernetes/main/apps/actions-runner-system/gha-runner-scale-set/app/helmrelease.yaml +++ b/kubernetes/main/apps/actions-runner-system/gha-runner-scale-set/app/helmrelease.yaml @@ -35,7 +35,7 @@ spec: runnerScaleSetName: gha-runner-scale-set githubConfigUrl: https://github.com/joryirving/home-ops minRunners: 1 - maxRunners: 10 + maxRunners: 6 containerMode: type: dind template: