Open orfeas-k opened 10 months ago
Thank you for reporting us your feedback!
The internal ticket has been created: https://warthogs.atlassian.net/browse/KF-5130.
This message was autogenerated
This should probably be tackled at the same time as #783, which proposes refactoring our sanity tests to a more reusable script
Why it needs to get done
Context
At the moment, sanity test_rock.py files expect the image to have a specific name (
name:version
). This means that whenever we want to run those tests, the local docker cache should have an image with this name.For our CI, this means that WFs must always follow this name pattern which results in a more complicated API e.g. we would not need to pass
rock-name
androck-version
here, if we didn't need to use that exact name for exporting the image to the local docker cache.The same goes for integration environment in ROCKs repos'
tox.ini
files which also expect the image to have a specific name. This results in the same complications described above, but for integration-test-rock.yaml.What needs to get done
LOCAL_ROCK_IMAGE
value either from args or from a local env variable. If this is not available, then fall back to the current implementationtox.ini
files to do the same as well.When is the task considered done
test_rock.py
files are updated.tox.ini
integration environments are updated.Not sure if we should do that (1 and 2) for one repo and tackle the rest as soon as we get to work on them or have a massive effort of updating tests in all of our ROCKs repositories