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

GH staging/prod project #577

Merged
merged 4 commits into from
Oct 2, 2024
Merged

GH staging/prod project #577

merged 4 commits into from
Oct 2, 2024

Conversation

ritazagoni
Copy link
Member

@ritazagoni ritazagoni commented Sep 28, 2024

Guidance on how to manage "staging" and "production" projects for users demanding separate project spaces for staging/prod and wanting version control for each

@ritazagoni ritazagoni marked this pull request as draft September 28, 2024 09:39
@ritazagoni ritazagoni marked this pull request as ready for review September 30, 2024 14:00
@aleksa-krolls
Copy link
Member

@AishaHassen does this make sense to you? Any questions for @ritazagoni ?

@AishaHassen
Copy link
Contributor

@ritazagoni this looks good.

One recent example that I had was, one of my projects already had a prod instance on lightening and a main branch on github. What i did was, I created a staging branch off of main and was trying to sync that to staging-project on lightening. One problem that I encountered was that the .yaml, .config, .state files in the main branch were referencing the id of the prod-project and the github sync wasn't working. Had to delete them then do a sync from lightening -> github to create these files with the correct project-Id, then sync from github -> ligthening. Would be nice to add a section on how to navigate this in the docs.

Scenario 1: How to set up staging and prod for a new project (What you have in this PR)

Scenario 2: How to setup a staging/prod for an existing project

@aleksa-krolls
Copy link
Member

@ritazagoni pls note Aisha's feedback above --> can maybe add more stuff later? But for now, I'm going to merge what's here

@aleksa-krolls aleksa-krolls merged commit c708ddb into main Oct 2, 2024
1 check passed
@aleksa-krolls aleksa-krolls deleted the gh_staging_project branch October 2, 2024 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants