Skip to content

syntonyze/gerrit-migration-environment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gerrit-migration-environment

What to check for migration

  • check release notes
  • check plugin compatibility
  • timing of the operations, expecially reindexing
  • reindexing: check time taken and resource usage
  • check both upgrade and rollback plan with incoming RW traffic

Useful commands

  • Generate changes in bulk
while true; do git checkout -f origin/master; for i in $(seq 1 $(( ( RANDOM % 150 )  + 5 ))); do  base64 /dev/urandom | head -c $(( ( RANDOM % 10000000 )  + 100000 )) > $RANDOM-$i; done; git add . && git commit -m "Add file $(date)" && git push origin HEAD:refs/for/master
; sleep 2; done;
  • Backup Postgres DB
  • Restore Postgres DB

About

Spin up gerrit environment for testing migrations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages