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

project: create set stack-ref to null #298

Open
talset opened this issue Sep 12, 2024 · 0 comments
Open

project: create set stack-ref to null #298

talset opened this issue Sep 12, 2024 · 0 comments

Comments

@talset
Copy link
Member

talset commented Sep 12, 2024

OLD_PROJECT=oldproject
OLD_PROJECT_DETAIL=$(cy project get -o json --project $OLD_PROJECT)

# Create the new project
NEW_PROJECT=newproject
cy project create \
  --name $NEW_PROJECT \
  --description "$(echo $OLD_PROJECT_DETAIL | jq -r .description)" \
  --stack-ref $(echo $OLD_PROJECT_DETAIL | jq -r .service_catalog.ref) \
  --config-repo $(echo $OLD_PROJECT_DETAIL | jq -r .config_repository_canonical)

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant