I have a single dotnet core 8 project and I need to publish to App Engine. I have a bitbucket repository and I trigger the build with pipe: atlassian/google-app-engine-deploy:1.5.0
All is working fine, and I can see the application working fine.
Now I have I multi project solution and I want to do the same operation.
During the build operation I receive this error:
“build”: expected to find exactly one project file in directory .
Is not possibile deploy a multi project solution to google app engine?
Might clarify why you want different projects, as projects as the lowest boundary for a service Google Cloud overview | Overview, if it is for failover or service redundancy then see Traffic Director Traffic Director documentation | Google Cloud and deploy the App Engine application by changing project ID in your app.yaml and ensure Cloud DNS is configured. If it isn’t a Service use case - then why are you wanting a different project.
When you create a dotnet core solutions is a best pratices create multi projects. For example you can create a shared project where store class modes, a project where you can create a repository logic etc. In this case what happen is that the application is not build because it wants only one project. Thanks
Every project, without the main are component that are builted as library. A really structurated project must be divided into different projects. Pay attention that are different projects and not different services. My app yaml is this one (and I have the problem)
Are you deploying with an extension or pipeline or just the build trigger - if the build trigger the primary project should have an ItemGroup with a project reference - ensure the path is correct based on the location of the code.
Yes I have a reference in ItemGroup (inside the main project .csprj). The sample that you provided is a simple project. If is possibile I need a sample with multi projects. Thanks.
Actually I’m creating a docker image in my local env and I’m publishing to Artifactory using gcloud push. then manually promote the latest image pushed as new image, and deploy it manually.
Is possibile trigger deploy operation when I will push a new image?
Did you fond a solution? I’m new to GCP and GAE and it bothers me that I can’t find solution to define folders (with referenced projects) that I want to upload into GAE before build.