From f7aca1812461e585251587211b71c52a0371f271 Mon Sep 17 00:00:00 2001 From: David Craven Date: Mon, 10 Feb 2025 09:51:13 +0100 Subject: [PATCH] Enable parallel tc-cli executions. --- .github/workflows/dispatch-tc-cli.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dispatch-tc-cli.yaml b/.github/workflows/dispatch-tc-cli.yaml index f811c264f..2aa0b3254 100644 --- a/.github/workflows/dispatch-tc-cli.yaml +++ b/.github/workflows/dispatch-tc-cli.yaml @@ -70,7 +70,9 @@ jobs: run: | NAMESPACE="timechain" IMAGE=${{ steps.check-image.outputs.IMAGE }} - kubectl -n $NAMESPACE run "tc-cli-${{ github.event.inputs.thread}}" --image=$IMAGE --attach --rm --restart=Never \ + NAME=tc-cli-${{ github.event.inputs.thread }} + NAME=${NAME//./_} + kubectl -n $NAMESPACE run $NAME --image=$IMAGE --attach --rm --restart=Never \ --env="TIMECHAIN_MNEMONIC=${{ secrets.TIMECHAIN_MNEMONIC }}" \ --env="TARGET_MNEMONIC=${{ secrets.TARGET_MNEMONIC }}" \ --env="TOKEN_PRICE_URL=${{ secrets.TOKEN_PRICE_URL }}" \