This repository is used to build the base container for gridappsd.
It also includes a few scripts one to create the releases and another to create a blazegraph container.
To create a release, the create_release.sh script is run multiple times, between each run there are manual testing and validation steps. Requires github username and token.
git clone https://github.com/GRIDAPPSD/gridappsd-docker-build
git clone https://github.com/GRIDAPPSD/gridapspd-docker
cd gridappsd-docker-build/scripts/release
vi create_release.sh
./create_release.sh
- pulls the latest gridappsd/blazegraph:develop container and tags as releases_VERSION and pushes to docker hub
- clone the GitHub repositories develop branches and create the releases/VERSION branches
- Update the default version for the run.sh script in gridappsd-docker
cd ../../../gridappsd-docker
./run.sh -t releases_VERSION
cd ../gridapspd-docker-build/scripts/release
./create_release.sh
- Update the gridappsd/blazegraph:master container
- Create the pull requests from releases/VERSION to master
./create_release.sh
- Create the tagged releases
- Create the gridappsd/blazegraph:vVERSION container
cd ../../../gridappsd-docker
./run.sh -t vVERSION
git clone https://github.com/GRIDAPPSD/gridappsd-docker-build
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements_blazegraph.txt
./create_blazegraph.sh
- pulls the base lyrasis container
- clones the GitHub repositories for the CIMHub and Powergrid0Models
- imports the PowerGridModels/platform/ files, and inserts measurements and houses
Review the bzbuild/build_timestamp/create.log file to verify all files, measurements, and houses were imported correctly.