app-gn-publicatie 1.2.1
Fixed
batch inserts to database to better support large publications
prioritize new publications over retries of failed publications
correctly preserve number of retries if service crashes with a pending operation
correctly sort decisions in decisions list
Deployment guide
set up the maintenance frontend in docker-compose.override.yml (note that this should replace the identifier, as that is the entrypoint in this stack)
optional: create a backup of the database with
/data/useful-scripts/virtuoso-backup.sh ${name-of-container}
bring down everything with docker-compose down
bring up just the maintenance frontend with
docker-compose up -d maintenance
git fetch && git checkout v1.2.1
On the GN stack run the following query:
dr inspect app-gelinkt-notuleren_virtuoso_1 | grep IPAddress
gives you the IP address of the virtuoso docker containerrun the query via curl
adjust the new migration on the publication stack. Wrap the triples it in a INSERT DATA query to insert into the public graph and make sure to use the correct prefix syntax
start virtuoso and the migrations service
docker-compose up -d virtuoso migrations
On production: remove the following from the docker-compose.override.yml file (was added as a hotfix)
start the stack
docker-compose up -d
remove (comment out) maintenance frontend from docker-compose.override.yml
start the stack
docker-compose up -d --remove-orphans
(remove orphans removes the maintenance frontend)verify it's up
Deployments
environment | deployment date |
QA | 16/07/2021 |
Sandbox (gebruikerssessie) | 19/07/2021 |
PROD | 26/07/2021 |
Last updated