Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions ci-operator/config/openshift/api/openshift-api-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,13 @@ tests:
dir=$GOPATH/src/github.com/openshift/client-go
git clone https://github.com/openshift/client-go --branch ${PULL_BASE_REF:-master} --single-branch $dir
rm -rf $dir/vendor/github.com/openshift/api/*
cp -Rf * $dir/vendor/github.com/openshift/api/
rm -rf $dir/vendor/github.com/openshift/api/vendor
cp -Rf ./ $dir/api/
rm -rf $dir/api/vendor
cd $dir
echo "replace github.com/openshift/api => ./api" >> go.mod
echo "# github.com/openshift/api => ./api" >> vendor/modules.txt
sed -i "/github.com\/openshift\/api v0.0.0/ s/$/ => \.\/api/" vendor/modules.txt
go mod vendor
make generate
go build ./...
container:
Expand Down