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 · 1 comment
Open

project: create set stack-ref to null #298

talset opened this issue Sep 12, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

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

@fhacloid
Copy link
Contributor

@talset can you test this with the latest release ?

@fhacloid fhacloid self-assigned this Dec 10, 2024
@fhacloid fhacloid added the bug Something isn't working label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants