Skip to content

Commit 17f0544

Browse files
Merge pull request #991 from abays/osp_repo_fix
Only clone OpenStack operator repo when not already present
2 parents 2d1dcf2 + 41e172f commit 17f0544

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ openstack_repo: export HASH=${OPENSTACK_COMMIT_HASH}
765765
openstack_repo: ## clones the openstack-operator repo
766766
$(eval $(call vars,$@,openstack))
767767
mkdir -p ${OPERATOR_BASE_DIR} ${OPERATOR_DIR} ${DEPLOY_DIR}
768-
bash -c "CHECKOUT_FROM_OPENSTACK_REF=false scripts/clone-operator-repo.sh"
768+
bash -c "test -d ${OPERATOR_BASE_DIR}/openstack-operator || CHECKOUT_FROM_OPENSTACK_REF=false scripts/clone-operator-repo.sh"
769769

770770
.PHONY: openstack_deploy_prep
771771
openstack_deploy_prep: export KIND=OpenStackControlPlane

0 commit comments

Comments
 (0)