Answers for "cloudbuild ruby googl"

0

cloudbuild ruby googl

#!/bin/sh
bundle exec rake db:test:prepare && bundle exec rspec spec
Posted by: Guest on November-11-2020
0

cloudbuild ruby googl

steps:
  - name: "gcr.io/cloud-builders/docker"
    entrypoint: "bash"
    args:
      - "-c"
      - |
        docker pull gcr.io/$PROJECT_ID/myapp:testing || exit 0
  - name: "gcr.io/cloud-builders/docker"
    args:
      [
        "build",
        "--cache-from",
        "gcr.io/$PROJECT_ID/myapp:testing",
        "-t",
        "gcr.io/$PROJECT_ID/myapp:testing",
        ".",
      ]
  - name: "gcr.io/$PROJECT_ID/docker-compose"
    args: ["--file", "docker-compose-ci.yml", "run", "rspec"]

images:
  - "gcr.io/$PROJECT_ID/myapp:testing"
Posted by: Guest on November-11-2020

Browse Popular Code Answers by Language