lambda with github code example
Example 1: clone serverless repository scripts
git clone https://github.com/mvanholsteijn/paas-monitor.git
cd paas-monitor
Copy
Example 2: clone serverless repository scripts
resource google_cloudbuild_trigger image {
project = google_sourcerepo_repository.image.project
trigger_template {
branch_name = "master"
repo_name = google_sourcerepo_repository.image.name
}
filename = "cloudbuild.yaml"
depends_on = [
google_project_service.cloudbuild
]
}
Copy