Skip to content

Commit

Permalink
CI dep check should check all deps (#489)
Browse files Browse the repository at this point in the history
* CI dep check should check vendor folder

* install git before using it

* Force import of mem package
  • Loading branch information
ptnapoleon authored Feb 1, 2022
1 parent df7d946 commit 800e01f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ jobs:
name: Ensure dependencies are up-to-date
command: |
go mod tidy
go mod vendor
git diff --exit-code
# this will fail if changes in packages are checked into git but the updated manifests are not
manifests:
Expand Down Expand Up @@ -214,8 +215,8 @@ jobs:
third-party-licenses:
executor: python
steps:
- checkout
- alpine_install_git
- checkout
- python_install_requirements
- run:
name: Ensure 3rd-party licenses are up-to-date
Expand All @@ -225,8 +226,8 @@ jobs:
license-header:
executor: python
steps:
- checkout
- alpine_install_git
- checkout
- python_install_requirements
- run:
name: Ensure license header is present
Expand Down
1 change: 1 addition & 0 deletions cli/chaosli/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import (

"github.com/DataDog/chaos-controller/api/v1beta1"
"github.com/markbates/pkger"
_ "github.com/markbates/pkger/pkging/mem" //nolint:revive
goyaml "sigs.k8s.io/yaml"

"github.com/spf13/cobra"
Expand Down

0 comments on commit 800e01f

Please sign in to comment.