deployment guide GN

For app-gelinkt-notuleren

  1. set up the maintenance frontend in docker-compose.override.yml

  2. optional: create a backup of the database with /data/useful-scripts/virtuoso-backup.sh ${name-of-container}

  3. bring down everything with docker-compose down

  4. bring up just the maintenance frontend with docker-compose up -d editor

  5. git checkout the relevant tag

  6. docker-compose up -d virtuoso migrations

  7. check if migrations have finished successfully with docker-compose logs -f migrations

  8. if necessary modify/add new environment variables in docker-compose.override.yml

  9. remove (comment out) maintenance frontend from docker-compose.override.yml

  10. start the stack docker-compose up -d

  11. verify it's up

  12. after the deploy update the deployment table in the relevant changelog file

For app-gn-publicatie

  1. set up the maintenance frontend in docker-compose.override.yml

  2. optional: create a backup of the database with /data/useful-scripts/virtuoso-backup.sh ${name-of-container}

  3. bring down everything with docker-compose down

  4. bring up just the maintenance frontend with docker-compose up -d maintenance

  5. git checkout the relevant tag

  6. docker-compose up -d virtuoso migrations

  7. check if migrations have finished successfully with docker-compose logs -f migrations

  8. if necessary modify/add new environment variables in docker-compose.override.yml

  9. remove (comment out) maintenance frontend from docker-compose.override.yml

  10. start the stack docker-compose up -d --remove-orphans(remove orphans removes the maintenance frontend)

  11. verify it's up

  12. after the deploy tag the commit that was deployed with a new version number

Last updated