Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the ability to run upgrade test (#21)
Upgrade test runs after regression test. It is need to generate tar-archive with previous versions of diskquota. Path to archive is set in command to run Docker: "<PATH_TO_ARCHIVE_WITH_OLD_VERSIONS>". Before run tests it is needed to run build step: ``` docker run --rm -it -e DISKQUOTA_OS=rhel7 \ -v /tmp/diskquota_artifacts:/home/gpadmin/diskquota_artifacts \ -v <PATH_TO_DISKQUOTA_SRC>:/home/gpadmin/diskquota_src \ -v <PATH_TO_CMAKE_INSTALL_SCRIPT>:/home/gpadmin/bin_cmake/cmake-3.20.0-linux-x86_64.sh \ hub.adsw.io/library/gpdb6_regress:latest diskquota_src/concourse/scripts/entry.sh build ``` Full command to run all tests in Docker: ``` docker run --rm -it --sysctl 'kernel.sem=500 1024000 200 4096' \ -v /tmp/diskquota_artifacts:/home/gpadmin/bin_diskquota \ -v <PATH_TO_DISKQUOTA_SRC>:/home/gpadmin/diskquota_src \ -v <PATH_TO_CMAKE_INSTALL_SCRIPT>:/home/gpadmin/bin_cmake/cmake-3.20.0-linux-x86_64.sh \ -v <PATH_TO_ARCHIVE_WITH_OLD_VERSIONS>:/home/gpadmin/diskquota_old_versions.tar \ hub.adsw.io/library/gpdb6_regress:latest diskquota_src/concourse/scripts/entry.sh test ```
- Loading branch information