Skip to content

Commit

Permalink
feat(api) Add support for the Compute4PUNCH backend
Browse files Browse the repository at this point in the history
  • Loading branch information
giffels committed Jun 21, 2024
1 parent 32ce567 commit 52b903c
Show file tree
Hide file tree
Showing 9 changed files with 723 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,6 @@ target/

# Vagrant
.vagrant

# Pycharm
.idea
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,16 @@ ARG DEBUG=0
RUN if [ "${DEBUG}" -gt 0 ]; then \
if echo "$COMPUTE_BACKENDS" | grep -q "htcondorcern"; then \
pip install --no-cache-dir -e ".[debug,htcondor]"; \
elif echo "$COMPUTE_BACKENDS" | grep -q "compute4punch"; then \
pip install --no-cache-dir ".[debug,mytoken,ssh]"; \
else \
pip install --no-cache-dir -e ".[debug]"; \
fi \
else \
if echo "$COMPUTE_BACKENDS" | grep -q "htcondorcern"; then \
pip install --no-cache-dir ".[htcondor]"; \
elif echo "$COMPUTE_BACKENDS" | grep -q "compute4punch"; then \
pip install --no-cache-dir ".[mytoken,ssh]"; \
else \
pip install --no-cache-dir .; \
fi \
Expand Down
Loading

0 comments on commit 52b903c

Please sign in to comment.