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
12 changes: 9 additions & 3 deletions ci-operator/config/openshift/api/openshift-api-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ tests:
- as: verify-client-go
commands: |
dir=$GOPATH/src/github.com/openshift/client-go
git clone https://github.com/openshift/client-go --branch ${PULL_BASE_REF:-master} --single-branch $dir
if [ ! -d $dir ]; then
git clone https://github.com/openshift/client-go --branch ${PULL_BASE_REF:-master} --single-branch $dir
fi
rm -rf $dir/vendor/github.com/openshift/api/*
cp -Rf ./ $dir/api/
rm -rf $dir/api/vendor
Expand All @@ -99,8 +101,12 @@ tests:
- as: verify-hypershift-integration
commands: |
dir=$GOPATH/src/github.com/openshift/hypershift
git clone https://github.com/openshift/hypershift --branch main --single-branch $dir
git clone https://github.com/openshift/client-go --branch master --single-branch $dir/openshift-client-go
if [ ! -d $dir ]; then
git clone https://github.com/openshift/hypershift --branch main --single-branch $dir
fi
if [ ! -d $dir/openshift-client-go ]; then
git clone https://github.com/openshift/client-go --branch master --single-branch $dir/openshift-client-go
fi
rm -rf $dir/vendor/github.com/openshift/api/*
rm -rf $dir/vendor/github.com/openshift/client-go/*
cp -Rf ./ $dir/openshift-api/
Expand Down