Skip to content

Commit 6709e95

Browse files
committed
OCPBUGS-57093: Add all files to vendor regardless of gitignore
1 parent 46df9e9 commit 6709e95

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.env
22
.idea
33
.vscode
4+
!/vendor/**
45
!.vscode/settings.json
56
.DS_Store
67
cypress-a11y-report.json

test-backend.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,17 @@ OPENSHIFT_CI=${OPENSHIFT_CI:=false}
2828
TESTABLE="./..."
2929
FORMATTABLE=(cmd pkg)
3030

31+
# ensure console can be built with konflux
32+
echo "Verifying go deps..."
33+
go mod tidy
34+
go mod vendor
35+
CHANGES=$(git status --porcelain --ignored)
36+
if [ -n "$CHANGES" ] ; then
37+
echo "ERROR: detected vendor inconsistency after 'go mod tidy; go mod vendor':"
38+
echo "$CHANGES"
39+
exit 1
40+
fi
41+
3142
# user has not provided PKG override
3243
if [ -z "${PKG}" ]; then
3344
TEST=${TESTABLE}

vendor/github.com/subosito/gotenv/.env

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)