How to dynamically checkout and pull a branch for QA ?
Hello artisans,
Lets say I have multiple git branches for various features and bugfixes. All my git branches follow a convention naming so that they contains the ticket number associated to them.
I want my QA friend to be able to check by himself any work I've done in tickets ready for QA. I have a droplet ready for this, I'd like to offer him the ability to type something like pr250.myapp.com and it would automatically checkout && pull a branch named pr-250.
Is there something to tackle this ? Am I doing the right thing with that idea ? I was thinking of Kubernetes, which I don't know anything about, I've started watching intro videos and it sounds very overkill (and quite complex from my perspective).
I think ploi.io is looking into creating something like this actually. Exactly how its going to work havent been announced yet, but there is an API, so you might be able to do some stuff yourself on top of it.
My search led me to this article so I figured what I'm looking for is called Per pull request environment.
I was hoping to build such a service myself so I don't rely on third-party services for it (the bill is getting heavier every single day ^^') But I'll keep my eyes on them so I can see how they will implement this feature.