• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kiwitcms / Kiwi / 5530 / 3
76%
master: 77%

Build:
Build:
LAST BUILD BRANCH: new_api_client
DEFAULT BRANCH: master
Ran 09 Feb 2020 01:24PM UTC
Files 138
Run time 9s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Feb 2020 01:17PM UTC coverage: 75.806%. Remained the same
CMD=test TEST_DB=MariaDB LANG=sl

push

travis-ci

atodorov
docker-compose: Upgrade from MariaDB 5.5 to MariaDB 10.3

NOTE: we're upgrading b/c all of the new migrations introduce
schema altering operations which fail on older versions of
MariaDB!

WARNING:

kiwi_db_data volume mount dir changed from `/var/lib/mysql' to
`/var/lib/mysql/data' b/c the latest version of MariaDB uses
a different datadir setting!

DOCS:
https://mariadb.com/kb/en/upgrading/
https://mariadb.com/kb/en/upgrading-from-mariadb-55-to-mariadb-100/

HOW TO UPGRADE:

WARNING: upgrade your database BEFORE upgrading to Kiwi TCMS 8.0 !!!

1) Backup existing database with:

   docker exec -it kiwi_db mysqldump -u kiwi -pYourPass kiwi > backup.sql

2) docker-compose down
3) docker volume rm kiwi_db_data

   will remove existing data volume b/c of incompatibilities between
   different MariaDB versions

4) docker-compose up

   will recreate data volume with missing data. e.g. manage.py showmigrations
   will tell you that 0 migrations have been applied.

5) Restore the data from backup:

   cat backup.sql | docker exec -u 0 -i kiwi_db /opt/rh/rh-mariadb103/root/usr/bin/mysql kiwi

   note: this connects to the database as the root user

6) Proceed to upgrade your Kiwi TCMS container !

697 of 1146 branches covered (60.82%)

Branch coverage included in aggregate %.

3652 of 4591 relevant lines covered (79.55%)

0.8 hits per line

Source Files on job 5530.3 (CMD=test TEST_DB=MariaDB LANG=sl)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 3524
  • Travis Job 5530.3
  • f5a18ba1 on github
  • Prev Job for CMD=test TEST_DB=MariaDB LANG=sl on auto_field (#5529.3)
  • Next Job for CMD=test TEST_DB=MariaDB LANG=sl on auto_field (#5531.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc