馃悰 Deploiement on Cloud Run in error
Hello
As you can see on others issues, I trying to deploy one Cloud Run service with this CICD Catalog. And after configuring Workload Identity Federation I have one error I don't understand.
In my .gitlab-ci.yml file I have :
include:
- component: $CI_SERVER_FQDN/google-gitlab-components/cloud-run/deploy-cloud-run@0.2.0
inputs:
project_id: $GCLOUD_PROJECT_ID
service: $GCLOUD_SERVICE_ID
region: $GCP_REGION
source: "."
stage: "deploy"
as: "deploy-to-cloud-run"
And the error gives me Error: rpc error: code = Unknown desc = Build failed; check build logs for details (cf 馃挕 Access to logs file (#5))
Before this line I saw this information
2024/09/24 20:54:04 Created Build Request:
parent:"projects/api-commu-nantes/locations/global"
project_id:"api-commu-nantes"
build:{
source:{
git_source:{url:"https://gitlab-ci-token:[MASKED]@gitlab.com/communities-api/api-nantes-commu.git"
dir:"."
revision:"51631bd05009da18c863575ca9278cba92a15595"}}
steps:{
name:"gcr.io/cloud-builders/docker"
args:"build"
args:"-t"
args:"europe-west1-docker.pkg.dev/api-commu-nantes/cloud-run-source-deploy/"
args:"."
}
images:"europe-west1-docker.pkg.dev/api-commu-nantes/cloud-run-source-deploy/"}
If someone have any idea about my problem, it's will be great
And the image attribute focus me. I set a source to deploy my project (already deployed on Cloud Run with Cloud Seed project and I can deploy with gcloud run deploy command) and I saw an image I think no complete. Maybe I am wrong but it's the only thing I see for this error.
Edited by Jean-Philippe Baconnais