forked from lsst-sqre/phalanx
-
Notifications
You must be signed in to change notification settings - Fork 0
Adding Databases to the RSP TAP service
stvoutsin edited this page Oct 20, 2022
·
1 revision
sudo apt-get install python3
sudo apt-get install python-is-python3
Clone Felis project
git clone https://github.com/lsst/felis/
Run install
pushd felis
python -m pip install .
popd
Clone sdm_schemas project
git clone https://github.com/lsst/sdm_schemas
Add any additional Database YML files we want to add to sdm_schemas/yml
For example:
pushd sdm_schemas/yml
wget http://.../SXDS.yaml
popd
We need to first modify the build script, to use our DockerHub repo (stvoutsin)
pushd sdm_schemas/tap-schema
Modify build file, change lines:
docker build . -t lsstsqre/tap-schema-$ENVIRONMENT:$GIT_TAG
docker push lsstsqre/tap-schema-$ENVIRONMENT:$GIT_TAG
to:
docker build . -t stvoutsin/tap-schema-$ENVIRONMENT:$GIT_TAG
docker push stvoutsin/tap-schema-$ENVIRONMENT:$GIT_TAG
Build our environment (roe)
./build roe ../yml/dp02_dc2.yaml ../yml/dp01_dc2.yaml ../yml/SXDS.yaml ../yml/dp02_obscore.yaml
popd
Modify our tap-schema service in the phalanx repo that we have forked & are deploying from to use the image we created In phalanx, change services/tap-schema/values-roe.yml
image:
repository: "stvoutsin/tap-schema-roe
Use ArgoCD to upgrade our tap-schema deployment if modifying an existing deployment, or deploy if new