Hi,

First time posting, apologies for any etiquette oopsies. I've searched for 
answers for this but can't find anything obvious, google-fu is failing me 
today.

I have a question. I have a copy of GoCD (gocd/gocd-server:v19.12.0) server 
running in a docker container on an AWS EC2 instance with the GoCD 
directory mounted into the GoCD docker container into the expected GoCD 
directory from a mounted EFS share on the EC2 instance (using the embedded 
database currently). The idea of the EFS directory mounted into the 
container is that the EFS should persist if the container crashes or the 
EC2 instance dies, it's re-attached to the new ASG'd EC2 instance when it 
is started up.

Does anyone have any advice please, how I should go about upgrading to 
v20.5?

Possible options I can think of:

Maintenance mode, take a backup, get it off-server, then:

"docker exec" into the GoCD 19.12 docker container, download the v20.5 
upgrade setup file and run it. This will upgrade the GoCD version in the 
docker container and also upgrade the GoCD directory mounted into the 
container, in the EFS share. Once complete, the v19.12 (now v20.5) docker 
container would be stopped, erased, a new, clean v20.5 docker container 
that matches the upgraded GoCD data directory would be started. Then, a 
Postgres RDS would be setup and the embedded DB migrated out to the 
Postgres DB.

OR

Stop the GoCD v19.12 docker container, erase it, start a new GoCD v20.5 
docker container (with the EFS GoCD data directory mounted into it) and 
hope that the new docker container will automatically make the appropriate 
changes in the GoCD directory mounted into the container. Then, a Postgres 
RDS would be setup and the embedded DB migrated out to the Postgres DB.


Any ideas on how I should progress please?

Thanks in advance for any wisdom,

Steve


Stephen Howe
Senior DevOps Engineer
The Collective, 14 Bedford Square, London, WC1B 3JA
T:+44 (0)207 183 5478
www.thecollective.comFollow us:

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/6f19d518-d7cc-447b-b289-538854c61b86n%40googlegroups.com.

Reply via email to