testingworkflowproductionrollout

Git workflow with a testing server


I'm using git for my workflow and I have a remote testing server. What would be the best way to do this.

Currently I make my changes on my workstation and I commit changes and then push to server. But this would quickly lead to many small commits. I want to avoid setting up testing server on my workstation.

And rebasing commits is not okay cause I push to a bare repository (which then has a hook that pulls that to a working directory that is the testing server) that is accessible by others.

Thanks


Solution

  • I think that the real problem here is that you want to "avoid setting up testing server on [your] workstation."

    A key philosophy in QAM is that every host can be as much like the production system as possible, so that we minimize the amount of work to be done to move from development to testing to production.

    Deployment is not a trivial process, and the more your developers have to deal with it, the easier it will be to get the application (and the inevitable updates thereof) rolled out.

    So you really should be thinking, "how closely can I replicate the production environment on my development machine?"