This contains the data for the [V] spec library, as well as a script to "compile" the data to a single JSON file.
- Create a virtual env:
python3 -m venv ./.venv - Activate the virtual env:
source ./.venv/bin/activate - Install dependencies:
pip install -e . - "Compile" the spec library:
python3 compile.py - "Release" a version of the library:
./release.sh <version>. The new version is maintained in filevpesc_library.latest. Note that this process indirectly invokescompile.py - "Deploy" the latest version of the library to one of our environments:
./deploy.sh <env>, where env is eitherdev,internal,stagingorlocal(but see below for how to configurelocal).
The workflow is to edit specs and metadata inside the library directory, and invoke compile.py to verify things are working. When ready, call release.sh to make a new named release, and then call deploy.sh to upload the latest produced version to one of the SaaS deployments for consumption.
If you have deployed SaaS locally with Tilt, you have a local Minio object storage service that can host the V Spec Library.
You need to install the rclone tool.