Closed mjallday closed 10 years ago
I wouldn't think "the acceptance environment" would be a permanent thing, it would be something created by test-kitchen on the fly.
noah mentioned creating a balanced-acceptance cookbook. it will provision a server and install the currently deployed versions of all applications.
need to figure out how to restore the db. maybe the db server is not ephemeral and separate from the acceptance server.
+1 on separate DB. We can just make the cookbook use a well-known DNS name for the DB in all the various places.
Update from talking with @mjallday and @mahmoudimus:
balanced-acceptance
. This cookbook will be responsible for installing all components of the acceptance environment except database.acceptance-db-01
with a suitable snapshot on it.test-kitchen -d always
on the relevant suites for Rump.@mjallday @coderanger https://github.com/balanced-cookbooks/acceptance solves most of this right?
Closing this issue in favor of the acceptance repository.
@coderanger @bninja what are your thoughts? I want to do this in two stages:
optimise later once running
Questions
IMO It should look like the test/prod environments ('cept maybe less instances of servers). Having at least 2 servers per service will give us the ability to do rolling deploys and test that migrations work as we'd expect them to under load. the current CI environment does not do this so let's do this in stage 2.
The current acceptance environment is very simple, everything runs on a single machine. I'm OK with keeping this setup personally. But we configured it by hand. Is that acceptable for stage 1?