Running the Docker Official Image tests against orioledb images, see: "Docker Official Images Test Suite":
Used by:
./ci/docker_matrix.sh
./.github/workflows/dockertest.yml
- todo: add to
./.github/workflows/docker.yml
# clone official-images test suite
OFFIMG_LOCAL_CLONE=./log_docker_build/official-images
OFFIMG_REPO_URL=https://github.com/docker-library/official-images.git
mkdir -p "$OFFIMG_LOCAL_CLONE"
git clone "$OFFIMG_REPO_URL" "$OFFIMG_LOCAL_CLONE"
"${OFFIMG_LOCAL_CLONE}/test/run.sh" \
-c "${OFFIMG_LOCAL_CLONE}/test/config.sh" \
-c "docker/orioledb-config.sh" \
"orioletest:17-gcc-ubuntu-22.04"
If the test is ok, you can see:
testing orioletest:17-gcc-ubuntu-22.04
'utc' [1/6]...passed
'no-hard-coded-passwords' [2/6]...passed
'override-cmd' [3/6]...passed
'postgres-basics' [4/6]....passed
'postgres-initdb' [5/6]....passed
'orioledb-basics' [6/6]...passed
https://github.com/docker-library/official-images/blob/master/test/tests/postgres-basics/run.sh
https://github.com/docker-library/official-images/blob/master/test/tests/postgres-initdb/run.sh https://github.com/docker-library/official-images/blob/master/test/tests/postgres-initdb/initdb.sql
./tests/orioledb-basics/run.sh