This repository has been archived by the owner on Jun 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 194
ci: static-checks: checking vendored files seems to be broken #1733
Labels
Comments
chavafg
added
bug
Incorrect behaviour
needs-review
Needs to be assessed by the team.
labels
Jun 18, 2019
Merged
ganeshmaharaj
pushed a commit
to ganeshmaharaj/kata-tests
that referenced
this issue
Jul 10, 2019
dep ensure -dry-run -no-vendor will check and show if vendor code is out of sync with GOpkg files but always has a return code of 0. Switching it to dep check will fail if Gopkg is not in sync with vendor. Fixes: kata-containers#1794 Fixes: kata-containers#1733 Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
ganeshmaharaj
pushed a commit
to ganeshmaharaj/kata-tests
that referenced
this issue
Jul 25, 2019
This repository contains multiple Gopkg.* files which defines dependencies for each stand-alone application within this repository. This was posing an issue where there was no predictable way of confirming that vendor folder is in sync with the versions defined in Gopkg files. dep tool does not handle multiple sub folder definitions and is not a feature that is in their pipeline. This effort is to unify all the dependencies to allow `dep check` on the repository. Check golang/dep#985 for dep issues with nesting. Fixes: kata-containers#1794 Fixes: kata-containers#1733 Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
ganeshmaharaj
pushed a commit
to ganeshmaharaj/kata-tests
that referenced
this issue
Jul 25, 2019
dep ensure -dry-run -no-vendor will check and show if vendor code is out of sync with GOpkg files but always has a return code of 0. Switching it to dep check will fail if Gopkg is not in sync with vendor. Fixes: kata-containers#1794 Fixes: kata-containers#1733 Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
ganeshmaharaj
pushed a commit
to ganeshmaharaj/kata-tests
that referenced
this issue
Jul 26, 2019
This repository contains multiple Gopkg.* files which defines dependencies for each stand-alone application within this repository. This was posing an issue where there was no predictable way of confirming that vendor folder is in sync with the versions defined in Gopkg files. dep tool does not handle multiple sub folder definitions and is not a feature that is in their pipeline. This effort is to unify all the dependencies to allow `dep check` on the repository. Check golang/dep#985 for dep issues with nesting. Fixes: kata-containers#1794 Fixes: kata-containers#1733 Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
ganeshmaharaj
pushed a commit
to ganeshmaharaj/kata-tests
that referenced
this issue
Jul 26, 2019
dep ensure -dry-run -no-vendor will check and show if vendor code is out of sync with GOpkg files but always has a return code of 0. Switching it to dep check will fail if Gopkg is not in sync with vendor. Fixes: kata-containers#1794 Fixes: kata-containers#1733 Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
ganeshmaharaj
pushed a commit
to ganeshmaharaj/kata-tests
that referenced
this issue
Jul 26, 2019
This repository contains multiple Gopkg.* files which defines dependencies for each stand-alone application within this repository. This was posing an issue where there was no predictable way of confirming that vendor folder is in sync with the versions defined in Gopkg files. dep tool does not handle multiple sub folder definitions and is not a feature that is in their pipeline. This effort is to unify all the dependencies to allow `dep check` on the repository. Check golang/dep#985 for dep issues with nesting. Fixes: kata-containers#1794 Fixes: kata-containers#1733 Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
ganeshmaharaj
pushed a commit
to ganeshmaharaj/kata-tests
that referenced
this issue
Jul 26, 2019
dep ensure -dry-run -no-vendor will check and show if vendor code is out of sync with GOpkg files but always has a return code of 0. Switching it to dep check will fail if Gopkg is not in sync with vendor. Fixes: kata-containers#1794 Fixes: kata-containers#1733 Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
ganeshmaharaj
pushed a commit
to ganeshmaharaj/kata-tests
that referenced
this issue
Jul 26, 2019
This repository contains multiple Gopkg.* files which defines dependencies for each stand-alone application within this repository. This was posing an issue where there was no predictable way of confirming that vendor folder is in sync with the versions defined in Gopkg files. dep tool does not handle multiple sub folder definitions and is not a feature that is in their pipeline. This effort is to unify all the dependencies to allow `dep check` on the repository. Check golang/dep#985 for dep issues with nesting. Fixes: kata-containers#1794 Fixes: kata-containers#1733 Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
ganeshmaharaj
pushed a commit
to ganeshmaharaj/kata-tests
that referenced
this issue
Jul 26, 2019
dep ensure -dry-run -no-vendor will check and show if vendor code is out of sync with GOpkg files but always has a return code of 0. Switching it to dep check will fail if Gopkg is not in sync with vendor. Fixes: kata-containers#1794 Fixes: kata-containers#1733 Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
ganeshmaharaj
pushed a commit
to ganeshmaharaj/kata-tests
that referenced
this issue
Jul 26, 2019
dep ensure -dry-run -no-vendor will check and show if vendor code is out of sync with GOpkg files but always has a return code of 0. Switching it to dep check will fail if Gopkg is not in sync with vendor. Fixes: kata-containers#1794 Fixes: kata-containers#1733 Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Investigating with @ganeshmaharaj, seems that our check for vendored files is not working correctly as
dep ensure --dry-run
seems to returnzero
even when changes are needed.E.g.
The text was updated successfully, but these errors were encountered: