Skip to content

Commit

Permalink
Added script calling to have available model in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorenciaOjeda committed Jun 27, 2024
1 parent fc3831a commit 7eca458
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
CONTAINER_IMAGE_URL: ${{ secrets.CONTAINER_IMAGE_URL }}
GCLOUD_REGION: ${{ secrets.GCLOUD_REGION }}
run: |
gcloud auth configure-docker $GCLOUD_REGION
gcloud auth configure-docker us-docker.pkg.dev
docker build -t $CONTAINER_IMAGE_URL:latest .
docker push $CONTAINER_IMAGE_URL:latest
Expand Down Expand Up @@ -69,6 +69,10 @@ jobs:
- name: Set STRESS_URL as env variable to use later the Makefile
run: echo "STRESS_URL=${{ steps.deploy.outputs.url }}" >> $GITHUB_ENV

# Run training script to have the model available
- name: Run training script
run: python challenge/training.py

# Run stress tests
- name: Run stress tests
run: |
Expand Down

0 comments on commit 7eca458

Please sign in to comment.