Skip to content

Commit

Permalink
Sync files with networkservicemesh/cmd-template (#292)
Browse files Browse the repository at this point in the history
This PR syncs files with https://github.com/networkservicemesh/cmd-template

Revision: https://github.com/networkservicemesh/cmd-template/commits/7369b5fd24fe89c8021d5dcf3f5aea3393a64805

commit 7369b5fd24fe89c8021d5dcf3f5aea3393a64805
Author: Nikita Skrynnik <93182827+NikitaSkrynnik@users.noreply.github.com>
Date:   Tue Apr 23 20:12:10 2024 +0700

    Delete check-release-branch job from release workflow (#130)

    * Delete check-release-branch job from release workflow

    Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com>

    * minor fixes

    Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com>

    ---------

    Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com>

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
Co-authored-by: NSMBot <nsmbot@networkservicmesh.io>
  • Loading branch information
nsmbot and NSMBot authored Apr 23, 2024
1 parent 5b20fe8 commit 6930243
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 16 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ jobs:
shellcheck:
uses: networkservicemesh/.github/.github/workflows/shellcheck.yaml@main

check-env:
uses: networkservicemesh/.github/.github/workflows/env-check.yaml@main
with:
prefix: "NSM_"

golangci-lint:
uses: networkservicemesh/.github/.github/workflows/golangci-lint.yaml@main

Expand Down
11 changes: 1 addition & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,9 @@ jobs:
secrets:
token: ${{ secrets.GITHUB_TOKEN }}

check-branch:
name: Check release branch in deployments-k8s
needs: [get-tag, create-release]
uses: networkservicemesh/.github/.github/workflows/check-release-branch.yaml@main
with:
tag: ${{ needs.get-tag.outputs.tag }}
secrets:
token: ${{ secrets.NSM_BOT_GITHUB_TOKEN }}

update-deployments-k8s:
name: Update deployments-k8s
needs: [get-tag, check-branch]
needs: [get-tag, create-release]
if: ${{ github.repository != 'networkservicemesh/cmd-template' }}
uses: networkservicemesh/.github/.github/workflows/release-deployments.yaml@main
with:
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/update-deployments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,9 @@ on:
push:
branches:
- main
workflow_run:
types:
- completed
workflows:
- 'automerge'
jobs:
update-deployments-k8s:
if: ${{ github.repository != 'networkservicemesh/cmd-template' && (github.event.workflow_run.conclusion == 'success' && github.actor == 'nsmbot' || github.event_name == 'push') }}
if: ${{ github.repository != 'networkservicemesh/cmd-template' }}
uses: networkservicemesh/.github/.github/workflows/update-deployments.yaml@main
secrets:
token: ${{ secrets.NSM_BOT_GITHUB_TOKEN }}

0 comments on commit 6930243

Please sign in to comment.