Skip to content

Commit

Permalink
Merge pull request #2439 from RTXteam/master
Browse files Browse the repository at this point in the history
Merge master into dev
  • Loading branch information
sundareswarpullela authored Feb 26, 2025
2 parents ab26ed8 + 31c0c63 commit cac40c1
Show file tree
Hide file tree
Showing 162 changed files with 11,386 additions and 21,003 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,4 @@ code/ARAX/ARAXQuery/Infer/data/xCRG_data/*.pt
code/ARAX/ARAXQuery/Infer/data/xCRG_data/*.npz

code/UI/OpenAPI/python-flask-server/openapi_server/openapi/openapi.json
code/UI/OpenAPI/specifications/export/KG2/*/openapi.json
20 changes: 0 additions & 20 deletions DockerBuild/Merged-Dockerfile → DockerBuild/CICD-Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,23 +66,3 @@ RUN update-rc.d RTX_Complete defaults

# setup config.domain
RUN su rt && cd /mnt/data/orangeboard/production/RTX/code/ && echo "Github actions ARAX test suite" > config.domain

# Setup KG2

# clone RTX repo into KG2
RUN mkdir -p /mnt/data/orangeboard/kg2
RUN chown -R rt.rt /mnt/data/orangeboard/kg2
RUN su rt && cd /mnt/data/orangeboard/kg2 && git clone https://github.com/RTXteam/RTX.git
RUN chown -R rt.rt /mnt/data/orangeboard/kg2/RTX
COPY kg2-config.js /mnt/data/orangeboard/kg2/RTX/code/UI/interactive/config.js

# setup KG2 services
RUN export DEVAREA=kg2
RUN cat /mnt/data/orangeboard/kg2/RTX/code/UI/OpenAPI/python-flask-server/KG2/RTX_OpenAPI_kg2 > /etc/init.d/RTX_OpenAPI_kg2
RUN chmod 700 /etc/init.d/RTX_OpenAPI_kg2
RUN update-rc.d RTX_OpenAPI_kg2 defaults
RUN ln -s /mnt/data/orangeboard/kg2/RTX/code/UI/interactive /var/www/html/kg2

# setup config.domain
RUN su rt && cd /mnt/data/orangeboard/kg2/RTX/code/ && echo "Github actions ARAX test suite" > config.domain

2 changes: 1 addition & 1 deletion DockerBuild/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@ RUN cd /mnt/data/orangeboard/production/RTX/code/autocomplete && sed -i 's/devED
RUN update-rc.d RTX_Complete defaults

# setup config.domain
RUN su rt && cd /mnt/data/orangeboard/production/RTX/code/ && echo "arax.ci.transltr.io" > config.domain
RUN su rt && cd /mnt/data/orangeboard/production/RTX/code/ && echo "arax.ci.transltr.io" > config.domain
74 changes: 0 additions & 74 deletions DockerBuild/KG2-Dockerfile

This file was deleted.

6 changes: 0 additions & 6 deletions DockerBuild/kg2-config.js

This file was deleted.

Loading

0 comments on commit cac40c1

Please sign in to comment.