Loading services/base/prestartup.py +0 −1 Original line number Diff line number Diff line Loading @@ -35,7 +35,6 @@ prestartup_scripts_path='/prestartup' def sorted_ls(path): mtime = lambda f: os.stat(os.path.join(path, f)).st_mtime file_list = list(sorted(os.listdir(path), key=mtime)) file_list.reverse() return file_list for item in sorted_ls(prestartup_scripts_path): Loading services/slurmbase/Dockerfile +2 −1 Original line number Diff line number Diff line Loading @@ -31,3 +31,4 @@ RUN chown -R slurmtestuser:slurmtestuser /home/slurmtestuser # Add prestartup COPY prestartup_slurmbase.sh /prestartup/ RUN touch -m /prestartup/prestartup_slurmbase.sh services/slurmclustermaster/Dockerfile +1 −0 Original line number Diff line number Diff line Loading @@ -9,3 +9,4 @@ COPY test.sh /rosetta # Add prestartup COPY prestartup_slurmclustermaster.sh /prestartup/ RUN touch -m /prestartup/prestartup_slurmclustermaster.sh services/slurmclustermaster/prestartup_slurmclustermaster.sh +6 −0 Original line number Diff line number Diff line Loading @@ -6,3 +6,9 @@ mkdir -p /shared/rosetta && chown rosetta:rosetta /shared/rosetta # Shared home for slurmtestuser to simulate a shared home folders filesystem cp -a /home_slurmtestuser_vanilla /shared/home_slurmtestuser # Create shared "data" and "scratch" directories mkdir -p /shared/scratch chmod 777 /shared/scratch mkdir -p /shared/data/users/slurmtestuser chown slurmtestuser:slurmtestuser /shared/data/users/slurmtestuser services/webapp/.gitignoredeleted 100644 → 0 +0 −129 Original line number Diff line number Diff line # From https://github.com/github/gitignore/blob/master/Python.gitignore # Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] *$py.class # C extensions *.so # Distribution / packaging .Python build/ develop-eggs/ dist/ downloads/ eggs/ .eggs/ lib/ lib64/ parts/ sdist/ var/ wheels/ pip-wheel-metadata/ share/python-wheels/ *.egg-info/ .installed.cfg *.egg MANIFEST # PyInstaller # Usually these files are written by a python script from a template # before PyInstaller builds the exe, so as to inject date/other infos into it. *.manifest *.spec # Installer logs pip-log.txt pip-delete-this-directory.txt # Unit test / coverage reports htmlcov/ .tox/ .nox/ .coverage .coverage.* .cache nosetests.xml coverage.xml *.cover .hypothesis/ .pytest_cache/ # Translations *.mo *.pot # Django stuff: *.log local_settings.py db.sqlite3 # Flask stuff: instance/ .webassets-cache # Scrapy stuff: .scrapy # Sphinx documentation docs/_build/ # PyBuilder target/ # Jupyter Notebook .ipynb_checkpoints # IPython profile_default/ ipython_config.py # pyenv .python-version # pipenv # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. # However, in case of collaboration, if having platform-specific dependencies or dependencies # having no cross-platform support, pipenv may install dependencies that don’t work, or not # install all needed dependencies. #Pipfile.lock # celery beat schedule file celerybeat-schedule # SageMath parsed files *.sage.py # Environments .env .venv env/ venv/ ENV/ env.bak/ venv.bak/ virtual/ # Spyder project settings .spyderproject .spyproject # Rope project settings .ropeproject # mkdocs documentation /site # mypy .mypy_cache/ .dmypy.json dmypy.json # Pyre type checker .pyre/ # .docker_bash_history Loading
services/base/prestartup.py +0 −1 Original line number Diff line number Diff line Loading @@ -35,7 +35,6 @@ prestartup_scripts_path='/prestartup' def sorted_ls(path): mtime = lambda f: os.stat(os.path.join(path, f)).st_mtime file_list = list(sorted(os.listdir(path), key=mtime)) file_list.reverse() return file_list for item in sorted_ls(prestartup_scripts_path): Loading
services/slurmbase/Dockerfile +2 −1 Original line number Diff line number Diff line Loading @@ -31,3 +31,4 @@ RUN chown -R slurmtestuser:slurmtestuser /home/slurmtestuser # Add prestartup COPY prestartup_slurmbase.sh /prestartup/ RUN touch -m /prestartup/prestartup_slurmbase.sh
services/slurmclustermaster/Dockerfile +1 −0 Original line number Diff line number Diff line Loading @@ -9,3 +9,4 @@ COPY test.sh /rosetta # Add prestartup COPY prestartup_slurmclustermaster.sh /prestartup/ RUN touch -m /prestartup/prestartup_slurmclustermaster.sh
services/slurmclustermaster/prestartup_slurmclustermaster.sh +6 −0 Original line number Diff line number Diff line Loading @@ -6,3 +6,9 @@ mkdir -p /shared/rosetta && chown rosetta:rosetta /shared/rosetta # Shared home for slurmtestuser to simulate a shared home folders filesystem cp -a /home_slurmtestuser_vanilla /shared/home_slurmtestuser # Create shared "data" and "scratch" directories mkdir -p /shared/scratch chmod 777 /shared/scratch mkdir -p /shared/data/users/slurmtestuser chown slurmtestuser:slurmtestuser /shared/data/users/slurmtestuser
services/webapp/.gitignoredeleted 100644 → 0 +0 −129 Original line number Diff line number Diff line # From https://github.com/github/gitignore/blob/master/Python.gitignore # Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] *$py.class # C extensions *.so # Distribution / packaging .Python build/ develop-eggs/ dist/ downloads/ eggs/ .eggs/ lib/ lib64/ parts/ sdist/ var/ wheels/ pip-wheel-metadata/ share/python-wheels/ *.egg-info/ .installed.cfg *.egg MANIFEST # PyInstaller # Usually these files are written by a python script from a template # before PyInstaller builds the exe, so as to inject date/other infos into it. *.manifest *.spec # Installer logs pip-log.txt pip-delete-this-directory.txt # Unit test / coverage reports htmlcov/ .tox/ .nox/ .coverage .coverage.* .cache nosetests.xml coverage.xml *.cover .hypothesis/ .pytest_cache/ # Translations *.mo *.pot # Django stuff: *.log local_settings.py db.sqlite3 # Flask stuff: instance/ .webassets-cache # Scrapy stuff: .scrapy # Sphinx documentation docs/_build/ # PyBuilder target/ # Jupyter Notebook .ipynb_checkpoints # IPython profile_default/ ipython_config.py # pyenv .python-version # pipenv # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. # However, in case of collaboration, if having platform-specific dependencies or dependencies # having no cross-platform support, pipenv may install dependencies that don’t work, or not # install all needed dependencies. #Pipfile.lock # celery beat schedule file celerybeat-schedule # SageMath parsed files *.sage.py # Environments .env .venv env/ venv/ ENV/ env.bak/ venv.bak/ virtual/ # Spyder project settings .spyderproject .spyproject # Rope project settings .ropeproject # mkdocs documentation /site # mypy .mypy_cache/ .dmypy.json dmypy.json # Pyre type checker .pyre/ # .docker_bash_history