GoogleCloudPlatform / gke-gitops-tutorial-cloudbuild

GitOps-style Continuous Delivery For Kubernetes Engine With Cloud Build
https://cloud.google.com/kubernetes-engine/docs/tutorials/gitops-cloud-build
Apache License 2.0
119 stars 106 forks source link

Test cases aren't running in cloud build #5

Closed abu-yusuf-dev closed 3 years ago

abu-yusuf-dev commented 4 years ago

I followed this script to run my app in the cloud run. All the steps were running properly except test cases.

abu-yusuf-dev commented 4 years ago

This worked properly:

- name: 'python:3.7'
    id: Test
    entrypoint: 'bash'
    args:
      - '-c'
      - |
         pip3 install -r requirements.txt
         python3 test_app.py .
MrTrustor commented 3 years ago

Hi,

Sorry for the delay, I just saw this issue. The extract you shared is not valid YAML, so I'm not sure how you got there? I've run the tutorial again, and tests are running successfully.

I'll close the issue, but don't hesitate to reopen it if you have anything else to share on the topic.