We have a production stage in a Seed pipeline that...
# seed
r
We have a production stage in a Seed pipeline that we need to delete. It’s never been deployed and basically we’d like to delete and recreate it copying settings across from a staging stage. I know that I need to demote it to a staging/development stage to allow deletion but those options are greyed out for me. Is there something else I need to do to make this possible?
f
@Ross Coundon you need to have at least 1 production stage. Can you try creating/promoting a new stage as the production stage, and then demote the existing one?
r
I see, I didn't know that. I'll create a temporary one and give that a try
Thank you
@Frank I did this but something seems to have gone awry on the delete. I did the following: 1. Created a temporary prod stage. 2. Set the one I want to delete to be a staging stage. 3. Deleted the stage that was now staging 4. Created a new stage (with the same name as the one I’d just deleted) as a production stage, copying settings from an existing stage (untouched in this process) 5. When I click on the new prod stage entry it’s missing all the details I’d expect to be there The screenshot is what I see:
Is this because it didn’t properly delete?
Oh, interesting, I just moved the new prod branch back to staging and all the settings appeared. Moving it back to prod and they’re still there
So, I think I’m okay, but things looked a bit weird for a while!