Skip to content

Commit

Permalink
Support validate and update Slurm script.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbobrovskyi committed Jan 27, 2025
1 parent 5259676 commit c77f2a1
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,14 @@ install-kueuectl: mkdir-bin

.PHONY: install-kjobctl
install-kjobctl: mkdir-bin
curl -Lo $(BIN_PATH)/kubectl-kjob $(KJOBCTL_URL)
chmod +x $(BIN_PATH)/kubectl-kjob
#curl -Lo $(BIN_PATH)/kubectl-kjob $(KJOBCTL_URL)
#chmod +x $(BIN_PATH)/kubectl-kjob
# TODO: Switch to kjob release-based installation once version >=0.2.0 is available.
docker build -f tools/Dockerfile-kjob -t $(KJOB_DOCKER_IMG) tools/
docker run -idt --name $(KJOB_DOCKER_CONTAINER) $(KJOB_DOCKER_IMG)
docker cp $(KJOB_DOCKER_CONTAINER):/kjob/bin/kubectl-kjob $(BIN_PATH)/kubectl-kjob
docker rm -f $(KJOB_DOCKER_CONTAINER)
docker image rm $(KJOB_DOCKER_IMG)

.PHONY: check-gcloud
check-gcloud:
Expand Down

0 comments on commit c77f2a1

Please sign in to comment.