Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
  • Loading branch information
vsoch committed Jun 29, 2023
1 parent 335b147 commit f2805d0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions fluxburst_eks/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,11 @@ def schedule(self, job):
This function should also consider logic for deciding if/when to
assign clusters, but run should actually create/destroy.
"""
print('SCHEDULE')
import IPython
IPython.embed()
# We cannot run any jobs without credentials
for cred in ['AWS_ACCESS_KEY_ID', 'AWS_SECRET_ACCESS_KEY']:
if cred not in os.environ:
logger.warning(f"{cred} not found in environment, cannot schedule to EKS.")
return False
return False

# TODO determine if we can match some resource spec to another,
# We likely want this class to be able to generate a lookup of
Expand Down

0 comments on commit f2805d0

Please sign in to comment.