docker-atlassian-confluence.../func-tests
2022-11-30 11:49:47 +11:00
..
confluence CLIP-1725: Update the Confluence DB from 6.0.1 to 7.11.6 to allow upgrades to Confluence 8. 2022-11-30 11:19:39 +11:00
postgres CLIP-1725: Update the Confluence DB from 6.0.1 to 7.11.6 to allow upgrades to Confluence 8. 2022-11-30 11:19:39 +11:00
smoketests Merged in DCKUBE-136-RunSmoketestsInReleasePipeline (pull request #83) 2021-03-12 03:30:51 +00:00
docker-compose.yml DCD-1313: Remove Alpine package installation as we no longer build Alpine images. 2021-07-15 14:30:43 +10:00
README.md CLIP-1725: Update the func-test docs with instructions for re-dumping DB. 2022-11-30 11:49:47 +11:00
run-functests DCD-1313: Move test data out of zipfile and cleanup. 2021-07-15 09:15:54 +10:00
stop-functests Merged in DCKUBE-136-RunSmoketestsInReleasePipeline (pull request #83) 2021-03-12 03:30:51 +00:00

Test data

The database dump and confluence.cfg.xml.tmpl are dumped from a 7.11.6 instance.

Updating the test data

Periodically Confluence will move forward far enough that it is unable to upgrade databases from older unsupported versions. In this case you will need to upgrade the database to the oldest supported version and re-dump the DB. Steps to do this are:

  • Generate a local Confluence image of the oldest supported version (see Atlassian Support End of Life Policy.
  • Run the func-tests up to the start of the smoke-tests (these won't start by default if CONFLUENCE_ADMIN_PWD is not set.
  • Stop the func-tests after the DB upgrade has run, then start the Postgres instance (docker-compose up postgres).
  • exec into the running postgres container and dump the DB with pg_dump -U confluence confuence > confluence.sql
  • Copy the dump to func-tests/postgres and update the Dockerfile, scripts, etc.

You may find that Confluence will fail to start with a 500 error after; this may be due to an incompatible version in func-tests/confluence/confluence-home/confluence.cfg.xml.tmpl. You can retrieve the correct version from the error-message in the startup logs on the image and update the file.