Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

codebuild-buildspec.yml 892 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  1. version: 0.2
  2. phases:
  3. install:
  4. runtime-versions:
  5. python: 3.8
  6. commands:
  7. - pip install --upgrade --force-reinstall . awscli
  8. - pip install -U sagemaker
  9. - pip install mlflow
  10. - pip install dagshub
  11. build:
  12. commands:
  13. - export PYTHONUNBUFFERED=TRUE
  14. - export SAGEMAKER_PROJECT_NAME_ID="kvasir-segmentation-example"
  15. - echo "Started Building process"
  16. - |
  17. run-pipeline --module-name pipelines.kvasir.pipeline \
  18. --role-arn $SAGEMAKER_PIPELINE_ROLE_ARN \
  19. --tags "[{\"Key\":\"sagemaker:project-name\", \"Value\":\"${SAGEMAKER_PROJECT_NAME}\"}, {\"Key\":\"sagemaker:project-id\", \"Value\":\"${SAGEMAKER_PROJECT_ID}\"}]" \
  20. --kwargs "{\"region\":\"${AWS_REGION}\",\"dagshub_token\":\"${DAGSHUB_TOKEN}\",\"role\":\"${SAGEMAKER_PIPELINE_ROLE_ARN}\"}"
  21. - echo "Pipeline and execution completed."
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...