-
Notifications
You must be signed in to change notification settings - Fork 725
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
fix: Phasing out CSR dependency #1315
Conversation
Shoot...exceeded project quota limit (even after the increase to 50 as suggested in documentation). No local testing for me for a while then lol. |
You might be able to make another incremental quota increase request... there is some secret sauce I don't understand for how it works, but give it a try. Be aware however that Projects in the state where they're deleted but recoverable also count against your project quota, so it might take some time to reset the quota. I'll chip away at the review of the other PR you've raised recently, should be able to make some progress with the automatic CI we have on our end. |
/gcbrun |
build error
I think we may need to use a flag to toggle usage of CSR for now, both in the code and in the tests |
@daniel-cit What's the relationship between CSR and Workflows (genuinely curious)? Do you mean CSR would be enabled by default so CI/CD would pass here (otherwise they'd fail like here)? |
@daniel-cit I think that might have been a flaky error, I recently saw the same error in branch renovate/go-modules-andor-dev-tools for commit 0362342. It worked when I ran the tests a second time. I suspect that you might be right we need a flag, because I don't understand the chain of dependencies in the CFT ecosystem. But for now I'll rerun the tests and see if it pinpoints anything more specific. @lpezet in general CSR and Workflows API don't depend on each other, but a remote module referenced by this repo uses Workflows as part of building the container image for Cloud Build. |
I reran the tests and it does indeed look the error related to workflow service accounts was flaky, no need to investigate that further. Both versions of the CI now fail with the same error from TestBootstrap.
So it looks like the CI project created as part of running docker tests still uses sourcerepo.googleapis.com. I suspect we'll need to unpick that dependency from the upstream CFT framework (not part of this repo). |
…allow_basic_apis.yaml.
/gcbrun |
4-projects/shared creates a set of pipelines, each one with its own source repository
the step has a check (flag) to create or not the build infrastructure that is based in creation or not of the artifact registry in 0-bootstrap. We may need to enhance this check to consider a new flag like source repositories ON/OFF |
@daniel-cit So things related to like:
Does it mean then that, if we set it to false when CSR disabled, the infra-pipelines module won't be applied? and therefore not tested? (I don't fully understand whether the lack of this module will affect tests in projects-shared/projects_shared_test.go). |
Just sharing some thoughts here... I don't want to butt in, just trying to help move the needle... |
Hi @lpezet. |
This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days |
PR for issue #1309