Skip to content

Commit

Permalink
Cleanup - remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
valenad1 committed Nov 1, 2024
1 parent 292646c commit 8261ad4
Show file tree
Hide file tree
Showing 45 changed files with 8 additions and 1,677 deletions.
10 changes: 6 additions & 4 deletions h2o-sagemaker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,19 @@ THIS_FILE := $(lastword $(MAKEFILE_LIST))
build-sagemaker-image:
docker build -t h2o-gbm-sagemaker -f gbm/Dockerfile gbm/

build-grid-sagemaker-image:
docker build -t h2o-grid-sagemaker -f grid/Dockerfile grid/

build-local-image:
cp -r gbm/gbm_scripts ../build
cp -r ../h2o-py/build/main/dist/ ../build/dist
docker build -t h2o-gbm-local -f gbm/Dockerfile.localtest ../build
rm -rf ../build/gbm_scripts
rm -rf ../build/dist

build-official-sagemaker: build-local-image
build-official-sagemaker-from-local: build-local-image
docker tag h2o-gbm-local:latest $(ACCOUNTID).dkr.ecr.$(REGION).amazonaws.com/adam-test:$(VERSION)
aws ecr get-login-password --region $(REGION) | docker login --username AWS --password-stdin $(ACCOUNTID).dkr.ecr.$(REGION).amazonaws.com
docker push $(ACCOUNTID).dkr.ecr.us-east-1.amazonaws.com/adam-test:$(VERSION)

build-official-sagemaker-from-latest: build-sagemaker-image
docker tag h2o-gbm-local:latest $(ACCOUNTID).dkr.ecr.$(REGION).amazonaws.com/adam-test:$(VERSION)
aws ecr get-login-password --region $(REGION) | docker login --username AWS --password-stdin $(ACCOUNTID).dkr.ecr.$(REGION).amazonaws.com
docker push $(ACCOUNTID).dkr.ecr.us-east-1.amazonaws.com/adam-test:$(VERSION)
70 changes: 0 additions & 70 deletions h2o-sagemaker/grid/Dockerfile

This file was deleted.

53 changes: 0 additions & 53 deletions h2o-sagemaker/grid/Dockerfile.awslinux

This file was deleted.

63 changes: 0 additions & 63 deletions h2o-sagemaker/grid/Dockerfile.localtest

This file was deleted.

129 changes: 0 additions & 129 deletions h2o-sagemaker/grid/grid_scripts/helper_functions.py

This file was deleted.

38 changes: 0 additions & 38 deletions h2o-sagemaker/grid/grid_scripts/nginx.conf

This file was deleted.

Loading

0 comments on commit 8261ad4

Please sign in to comment.