Skip to content

Commit

Permalink
UPDATED CICD yaml file for CML with AWS run
Browse files Browse the repository at this point in the history
  • Loading branch information
shivpalSW committed Jul 25, 2023
1 parent 5a02300 commit 050889e
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@


###uncomment below lines to use CML with AWS credentials


name: train-NLP-ML-usecase

on: [push]
Expand All @@ -59,10 +57,11 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: |
cml runner launch \
--cloud aws \
--cloud-region us-west \
--cloud-type m \
--labels cml-runner
--cloud=aws \
--cloud-region=us-west \
--cloud-type=m \
--labels=cml-runner
model-training:
needs: deploy-runner
Expand All @@ -83,7 +82,7 @@ jobs:
echo "# REPORTS" >> report.md
echo "## metrics" >> report.md
cat scores.json >> report.md
cml comment create --pr report.md # >> CML COMMAND USE TO COMMENT ON LAST COMMIT
cml comment create report.md ## >> CML COMMAND USE TO COMMENT ON LAST COMMIT

0 comments on commit 050889e

Please sign in to comment.