-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI initial commit #2
Conversation
Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>
name: ci | ||
on: pull_request | ||
jobs: | ||
yamllint: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yamllint job can be simplified https://github.com/networkservicemesh/cmd-template/blob/master/.github/workflows/ci.yaml#L9
- uses: actions/checkout@v2 | ||
- name: shellcheck | ||
uses: fkautz/shell-linter@v1.0.1 | ||
golangci-lint: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
golangci-lint job can be simplified https://github.com/networkservicemesh/cmd-template/blob/master/.github/workflows/ci.yaml#L42
.github/workflows/ci.yaml
Outdated
echo "Please use errors.Errorf (or errors.New or errors.Wrap or errors.Wrapf) as appropriate rather than fmt.Errorf" | ||
exit 1 | ||
fi | ||
restrictNSMDeps: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this can be removed.
.github/workflows/ci.yaml
Outdated
run: | | ||
git diff -- '*.pb.go' || ( echo "Rerun go generate ./... locally and resubmit" && false ) | ||
git diff -- '*.gen.go' || ( echo "Rerun go generate ./... locally and resubmit" && false ) | ||
captureRunEnv: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can be removed
Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>
…tegration-k8s-kind@master networkservicemesh/integration-k8s-kind# networkservicemesh/integration-k8s-kind PR link: https://github.com/networkservicemesh/integration-k8s-kind/pull/ networkservicemesh/integration-k8s-kind commit message: commit e4821984b055475fc475073437e85978987515b2 Author: Ed Warnicke <hagbard@gmail.com> Date: Sat Apr 10 13:06:35 2021 -0500 Merge pull request #152 from denis-tingaikin/fix-automerge-job-is-not-working-pt2 fix: automerge job can not do merge #2 Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…tegration-k8s-kind@master networkservicemesh/integration-k8s-kind# networkservicemesh/integration-k8s-kind PR link: https://github.com/networkservicemesh/integration-k8s-kind/pull/ networkservicemesh/integration-k8s-kind commit message: commit e4821984b055475fc475073437e85978987515b2 Merge: 67d071b ef6a55e Author: Ed Warnicke <hagbard@gmail.com> Date: Sat Apr 10 13:06:35 2021 -0500 Merge pull request #152 from denis-tingaikin/fix-automerge-job-is-not-working-pt2 fix: automerge job can not do merge #2 Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
No description provided.