Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make devsetup/cifwm_prepare not fail when rerun #304

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Jun 28, 2023

  1. Make devsetup/cifwm_prepare not fail when rerun

    Currently if one tries to rerun cifwm_prepare it fails
    on git cloning attempt since the directory is already in place.
    
    Example of failure:
    > + make cifmw_prepare
    > git clone https://github.com/openstack-k8s-operators/ci-framework ci-framework
    > fatal: destination path 'ci-framework' already exists and is not an empty directory.
    > make: *** [Makefile:180: cifmw_prepare] Error 128
    
    As that is not expected from make target, make it so that
    this target depends on the directory existing target,
    which itself calls the git clone for its creation.
    queria committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    fd5f09f View commit details
    Browse the repository at this point in the history