Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloud Source Unavailable #469

Open
hdospitia opened this issue Oct 29, 2024 · 2 comments
Open

Cloud Source Unavailable #469

hdospitia opened this issue Oct 29, 2024 · 2 comments

Comments

@hdospitia
Copy link

hdospitia commented Oct 29, 2024

The repo uses Cloud Source by default, but this API was removed for new customers, effective June 17, 2024. For this reason, the bootstrap-0 step fails (TF apply output):

Error: Request Enable Project Service "sourcerepo.googleapis.com" for project "prj-b-cicd-rsoy" returned error: failed to enable services: failed on request preconditions: googleapi: Error 403: Permission denied to enable service [sourcerepo.googleapis.com]

image

https://cloud.google.com/source-repositories/docs/reference/rest/

An alternative for the repository resource should be designed.

@mromascanu123
Copy link
Collaborator

In fact looking at the code I see in 0-bootstrap a prep.sh script which selects the deployment metchd by copying the relevant files from the builders folder

From what I see the only deployment methods supported are "local" (i.e. running the deployment scripts from a Linux machine) and the pretty much equivalent devops pipeline (under azure-pipelines) which invokes the scripts under automation-scripts and reproduces the manual steps in a devops agent

@tackaberry
Copy link
Collaborator

This is correct. Cloud Soure Respositories will no longer be available and an alternate path should be chosen. The GitHub version including GH automation is viable and the method is very similar to that of CSR. I'm aware of efforts from the TEF team, as part of v5 (see this issue), to build a methodology that uses Github repo with Cloudbuild automation. We'll reintegrate and use that when its available .

As @mromascanu123 said, the code under azure pipelines provide an alternative method to use Azure DevOps as code repo and automation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants