Skip to content

Commit

Permalink
Setup auto download to work with /home/ubuntu/RTX repo of cicd.rtx.ai
Browse files Browse the repository at this point in the history
  • Loading branch information
sundareswarpullela committed Aug 29, 2024
1 parent 0e4e364 commit 617b845
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,10 @@ jobs:

- name: Download databases into CICD instance
run: |
mkdir -p /home/ubuntu/temp
cd /home/ubuntu/temp
git clone https://github.com/RTXteam/RTX.git
echo ${GITHUB_REF#refs/heads/}
source /home/ubuntu/venv3.9/bin/activate
cd RTX
git checkout ${GITHUB_REF#refs/heads/}
pip install -r requirements.txt
python3 code/ARAX/ARAXQuery/ARAX_database_manager.py --mnt --skip-if-exists --remove_unused
rm -rf /home/ubuntu/temp
deactivate
cd /home/ubuntu/RTX
git pull origin ${GITHUB_REF#refs/heads/}
/home/ubuntu/venv3.9/bin/pip3 install -r requirements.txt
/home/ubuntu/venv3.9/bin/python3 code/ARAX/ARAXQuery/ARAX_database_manager.py --mnt --skip-if-exists --remove_unused
Expand Down

0 comments on commit 617b845

Please sign in to comment.