From ccfd7e0c9cddac4f2e3b3ebb91e84fc315dd1164 Mon Sep 17 00:00:00 2001 From: NSMBot Date: Mon, 9 Nov 2020 16:35:15 +0000 Subject: [PATCH] Update common CI files to latest version from networkservicemesh/cmd-template@master networkservicemesh/cmd-template#37 networkservicemesh/cmd-template PR link: https://github.com/networkservicemesh/cmd-template/pull/37 networkservicemesh/cmd-template commit message: commit 598fbc2f78ae997654c0a07aa5baea677809f8ce Author: Denis Tingaikin <49399980+denis-tingajkin@users.noreply.github.com> Date: Mon Nov 9 23:34:41 2020 +0700 fix error: "too many arguments" (#37) Signed-off-by: denis-tingajkin Signed-off-by: NSMBot --- .github/workflows/ci.yaml | 6 ++++++ .github/workflows/update-integration-k8s-kind.yaml | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 545fc75..6fa3a9c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -261,6 +261,12 @@ jobs: sdkPattern="github.com\/networkservicemesh\/sdk " sdkVersion=$(grep --regexp "${sdkPattern}" go.mod) branchName="${sdkVersion:${#sdkPattern}}" + else + { + git push origin --delete update/"${branchName}" + } || { + echo Branch update/"${branchName}" is already deleted + } fi; git config --global user.email "nsmbot@networkservicmesh.io" git config --global user.name "NSMBot" diff --git a/.github/workflows/update-integration-k8s-kind.yaml b/.github/workflows/update-integration-k8s-kind.yaml index 01866e0..152c678 100644 --- a/.github/workflows/update-integration-k8s-kind.yaml +++ b/.github/workflows/update-integration-k8s-kind.yaml @@ -58,6 +58,13 @@ jobs: sdkPattern="github.com\/networkservicemesh\/sdk " sdkVersion=$(grep --regexp "${sdkPattern}" go.mod) branchName="${sdkVersion:${#sdkPattern}}" + else + { + git push origin --delete update/"${branchName}" + } || { + echo Branch update/"${branchName}" is already deleted + } + fi; fi; git config --global user.email "nsmbot@networkservicmesh.io" git config --global user.name "NSMBot"