Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The script `docker_generate_datamodels.sh` has been broken since we started using virtual envs in the CI scripts a few weeks ago. Since `build.sh` installs `zivid` in a venv, `generate_datamodels.sh` would fail to find the package since it was not running in the same venv. This commit fixes this by making `generate_datamodels.sh` activate the CI venv set up by the previous steps. We only do this if there is no venv currently activated, because we still want developers to be able to run `generate_datamodels.sh` directly with their own venv.
- Loading branch information