I have auto deploy turn on for branches and auto d...
# seed
s
I have auto deploy turn on for branches and auto deploy for PRs turned off. We use gitlab. Our work flow is we use gitlab MRs. But when the branch is deployed nothing is shown in the MR in gitlab. We also use vercel for our frontend, and have a similar setup and vercel posts the urls when the site is deployed and also gitlab shows the cicd is running. But in our MR for seed nothing is shown so devs can by mistake merge the MR. Is there a way we can sync the seed deployment status with gitlab. We eventually want to use the before_deploy feature to run custom unit tests for each of our services in the monorepo. Also, earlier I tried with MR based deployment in seed, but the stage was there shown by the MR number and it was less verbose. Am i following the best practice ? Also on a later date, if I switch to MR based deployment do I need to tear down our staging and prod ? (they are linked to
develop
and
master
respectively). As in our service we have dynamodb etc, so tearing down staging. / prod will be too much issue at a later date.
f
Hey @Sourav Sarkar
Is there a way we can sync the seed deployment status with gitlab.
If you use the PR workflow, a summary of the deployed resources will be printed on the MR page as a comment.
the stage was there shown by the MR number and it was less verbose
That’s a good point! I can see showing the branch name instead can be more intuitive. Let me add that to our roadmap.
if I switch to MR based deployment do I need to tear down our staging and prod ?
Nope. When you enable PR workflow on SEED, your existing stages are not affected. Only change will be that when you create a new MR on GitLab, a stage will be automatically created on SEED, and when the MR is closed, the stage is automatically cleaned up.
Let me know if that makes sense.