Introduces a docker image which downloads a config file from GitHub and loads the datasets into a typedb version specified in the config.
What are the changes implemented in this PR?
Adds
A Dockerfile for the image which contains:
boostrapper.py: Python script which sets up the
The gpg key for the cloudsmith apt repo, preloaded.
A config file for the bootstrapped at the expected location (this location is hard-coded in the bootstrapper)
A factory test which builds an image, containing the config file and datasets files and runs it + tests it is available.
Reasons for 'do not merge'
CI will fail currently, Since the datasets in config.yml are only on jameswhiteside/development. We can edit this out / Add a sample instead.
Once we're happy, we need to push version 1.0.0 of the docker image to dockerhub.
# From the root of the repo
> docker login # As someone who has rights to push
# Comment out the lines to copy the datasets in. That's only needed for CI.
> docker build . -f typedb-samples-docker/Dockerfile --tag vaticle/typedb-sample-datasets:1.0.0
> docker push vaticle/typedb-sample-datasets:1.0.0
We should not need to release a new version unless the bootstrapping process (or something hardcoded in it) changes.
What is the goal of this PR?
Introduces a docker image which downloads a config file from GitHub and loads the datasets into a typedb version specified in the config.
What are the changes implemented in this PR?
Adds
boostrapper.py
: Python script which sets up theReasons for 'do not merge'
jameswhiteside/development
. We can edit this out / Add a sample instead.1.0.0
of the docker image to dockerhub.We should not need to release a new version unless the bootstrapping process (or something hardcoded in it) changes.