Skip to content

Commit

Permalink
Put in ARC/TST/TS-GCN in bash path and also scheduled the docker run …
Browse files Browse the repository at this point in the history
…every 7 days
  • Loading branch information
calvinp0 committed Jun 15, 2023
1 parent 965ec71 commit 38d837b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docker_build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Docker Image Build and Push

on:
schedule:
- cron: "0 0 */7 * *" # every 7 days
push:
branches:
- main
Expand Down
3 changes: 3 additions & 0 deletions devtools/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ RUN micromamba create -y -f environment.yml && \
# Add alias to bashrc - rmge to activate the environment
# These commands are not necessary for the Docker image to run, but they are useful for the user
RUN echo "alias arce='micromamba activate arc_env'" >> ~/.bashrc \
&& echo "export PYTHONPATH=/home/rmguser/Code/ARC:$PYTHONPATH" >> ~/.bashrc \
&& echo "export PYTHONPATH=\"${PYTHONPATH}:/home/rmguser/Code/AutoTST\"" >> ~/.bashrc \
&& echo "alias arc='python /home/rmguser/Code/ARC/ARC.py input.yml'" >> ~/.bashrc \
&& echo "export PYTHONPATH=\"${PYTHONPATH}:/home/rmguser/Code/TS-GCN\"" >> ~/.bashrc \
&& echo "alias deact='micromamba deactivate'" >> ~/.bashrc \
&& echo "export arc_path='/home/rmguser/Code/ARC/'" >> ~/.bashrc \
&& echo "export t3_path='/home/rmguser/Code/T3/'" >> ~/.bashrc \
Expand Down

0 comments on commit 38d837b

Please sign in to comment.