Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cls local should support building and running a workload docker image #1

Closed
cwensel opened this issue Jul 20, 2023 · 2 comments
Closed
Labels
enhancement New feature or request

Comments

@cwensel
Copy link
Collaborator

cwensel commented Jul 20, 2023

cls local will create a shell script for running a declared workload as it would if deployed.

cls local --docker should locally build the image and generate a script that runs the image as it would if deployed.

@cwensel cwensel added the enhancement New feature or request label Jul 20, 2023
@cwensel
Copy link
Collaborator Author

cwensel commented Mar 6, 2025

docker run -it --rm \
  -e AWS_REGION=$AWS_REGION \
  -e AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID \
  -e AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY \
  -e AWS_BATCH_JOB_ID=$AWS_BATCH_JOB_ID \
  -e AWS_BATCH_JOB_ATTEMPT=$AWS_BATCH_JOB_ATTEMPT \
  -e CLS_ARC_PROPS_JSON=$CLS_ARC_PROPS_JSON \
  -e CLS_ARC_PROPS_JAVA=$CLS_ARC_PROPS_JAVA \
  <image tag> \
  <declared command>

@cwensel
Copy link
Collaborator Author

cwensel commented Mar 12, 2025

added to a60b37b

@cwensel cwensel closed this as completed Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant