Closed laceysanderson closed 1 year ago
Manual test a docker image build and confirmed the command created an image and after creating a container off the image to inspect schema that there is no schema named chado.
No testchado found, only the following showed up in the build.
pg_catalog
public
information_schema
genetic_code
so
frange
And this error when accessing localhost.
Ooops, so a couple of things went wrong above 🤦♀️
These are all fixed now and the instructions for testing above have been updated and more more helpful.
Thanks for the review @reynoldtan! Could you check it again now please?
Confirmed sightings 👁️ of testchado schema and drupal 9.5.10-dev version. All good!
Issue #26
Motivation
Currently our dockerfile and testing use the default tripaldocker images. Unfortunately these images use
chado
as the name of the schema that Chado is installed in. This does not help us to confirm we are not making any assumptions of what the schema name is... this is an important assumption to test for since Tripal 4 allows the admin to name the schema anything and also supports multiple Chado instances. Testing on a site with no schema namedchado
makes it more likely we are compatible with multiple Chado instances.What does this PR do?
docker build --tag=testing --build-arg drupalversion="9.5.x-dev" ./
. The default is to use Drupal 10.0.x-dev. There must already be a tripal docker image for the version of Drupal you ask for.chado
schema and then install Chado v1.3 in atestchado
schema. This approach is not ideal but much faster and with less duplication of code than copying the entire Tripal docker.Testing
Automated Testing
The docker build will now be testing in every single workflow before the automated tests run. As such, this will actually be tested for every version of Drupal we test on.
Manual Testing
Test that you can build a docker image using the following command on this branch:
You should expect
Drupal version : 9.5.10-dev
Look at the automated testing logs to confirm that it is building our docker and not just pulling the tripaldocker.