Repository navigation
tools: remove setup-gcp and hack/teardown.sh - #3396
Steven Shriver (stshrive) wants to merge 1 commit into
Conversation
Aditya Shantanu (aditya-shantanu)
left a comment
There was a problem hiding this comment.
DCO is a required check and fails: the commit author is [email protected] but the sign-off is [email protected]. Also, per AGENTS.md, drop the #3390 / #2304 references from the commit message and keep them in the PR description.
Aditya Shantanu (aditya-shantanu)
left a comment
There was a problem hiding this comment.
Approving now that substrate-gke has --cluster-scoped. The DCO check still needs the sign-off email to match the author email before this can merge.
a2b4efc to
de1988a
Compare
7a1f314 to
4936ec4
Compare
This is now resolved |
|
Cleanup these after this change gets in: #2745 #2532 #1999 I think these are mostly covered by changes in https://github.com/ai-on-gke/substrate-gke already. |
The GKE provisioning and teardown tooling now lives in https://github.com/ai-on-gke/substrate-gke under tools/setup-gcp, so core no longer carries a copy. Docs and comments that pointed at the removed files now point at substrate-gke. go mod tidy drops the GCP client modules only setup-gcp used, and vendor/ and _LICENSES/ are regenerated to match. hack/teardown.sh is removed here as well; substrate-gke's tools/setup-gcp/teardown.sh replaces it. Signed-off-by: Steven Shriver <[email protected]>
4936ec4 to
d10d543
Compare
|
need rebase |
|
After this, nothing in core reads |
| @@ -219,7 +219,7 @@ it alongside the gateway. The install applies: | |||
| (`app: atenet-egress`), on the provider's gRPC port. Every other connection | |||
| to the provider pods is dropped. The NetworkPolicy takes effect only on a | |||
| cluster whose network plugin enforces NetworkPolicy, such as GKE Dataplane | |||
There was a problem hiding this comment.
This is going to be annoying, but... I think we should reduce or eliminate almost all xrefs to GCP and GKE specific stuff, especially in contexts like this. It doesn't add any clarity ("NetworkPolicy takes effect only on a cluster whose network plugin enforces NetworkPolicy" is tautologically true and sufficient). Worse, it encourages OTHER ecosystem players to request putting their own name here.
Docs are not advertisements.
There was a problem hiding this comment.
💯, but can we do more cleanup like that in subsequent PRs where this PR didn't make it worse?
|
Steven is OOO for a few days I think?, maybe we should have someone pick this up and rebase it. |
|
Edit: I was ignoring the code removal. We should land that.
|
|
Moved back to M3, but after discussion we should split this two 2 PRs. 1) remove GCP setup code; 2) Fix docs / comments etc. We want (1) for RC2 |
|
I am taking this over to rebase, presume there is no way to take over from Steven short term. |
|
This had conflicts with main (mostly from the Hugo docsite move in #1974), so I rebased it and opened #3505 with your commit and authorship preserved. The PR description there explains how each conflict was resolved. If you'd rather keep it here, you can reset your branch to that commit instead, and I'll close #3505. |
Supersedes agent-substrate#3396 by @stshrive, rebased onto current `main`. The commit keeps his authorship and sign-off. The GKE provisioning and teardown tooling now lives in https://github.com/ai-on-gke/substrate-gke under tools/setup-gcp, so core no longer carries a copy. Docs and comments that pointed at the removed files now point at substrate-gke. go mod tidy drops the GCP client modules only setup-gcp used, and vendor/ and _LICENSES/ are regenerated to match. Covers agent-substrate#3390, except that hack/teardown.sh is removed here as well; substrate-gke's tools/setup-gcp/teardown.sh replaces it. Part of agent-substrate#2304 ### Rebase notes Conflicts were mostly from the Hugo docsite move (agent-substrate#1974): - `tools/setup-gcp/cloud-sql.md`: deleted, as in the original PR. - `docs/guides/operator-install.md`, `docs/guides/postgres.md`: the original edits, re-applied at the new paths. - `docs/guides/observability.md`: kept main's version, since agent-substrate#1974 already removed the Dashboards section the original PR edited. - `cmd/kubectl-ate/README.md`: kept main's stub that points to `docs/reference/kubectl-ate.md`. That page no longer has the setup-gcp line, so the edit had nowhere to go. --------- Signed-off-by: Steven Shriver <[email protected]> Signed-off-by: Grant McCloskey <[email protected]> Co-authored-by: Steven Shriver <[email protected]>
Supersedes agent-substrate#3396 by @stshrive, rebased onto current `main`. The commit keeps his authorship and sign-off. The GKE provisioning and teardown tooling now lives in https://github.com/ai-on-gke/substrate-gke under tools/setup-gcp, so core no longer carries a copy. Docs and comments that pointed at the removed files now point at substrate-gke. go mod tidy drops the GCP client modules only setup-gcp used, and vendor/ and _LICENSES/ are regenerated to match. Covers agent-substrate#3390, except that hack/teardown.sh is removed here as well; substrate-gke's tools/setup-gcp/teardown.sh replaces it. Part of agent-substrate#2304 ### Rebase notes Conflicts were mostly from the Hugo docsite move (agent-substrate#1974): - `tools/setup-gcp/cloud-sql.md`: deleted, as in the original PR. - `docs/guides/operator-install.md`, `docs/guides/postgres.md`: the original edits, re-applied at the new paths. - `docs/guides/observability.md`: kept main's version, since agent-substrate#1974 already removed the Dashboards section the original PR edited. - `cmd/kubectl-ate/README.md`: kept main's stub that points to `docs/reference/kubectl-ate.md`. That page no longer has the setup-gcp line, so the edit had nowhere to go. --------- Signed-off-by: Steven Shriver <[email protected]> Signed-off-by: Grant McCloskey <[email protected]> Co-authored-by: Steven Shriver <[email protected]> (cherry picked from commit b66e16a)
Supersedes #3396 by @stshrive, rebased onto current `main`. The commit keeps his authorship and sign-off. The GKE provisioning and teardown tooling now lives in https://github.com/ai-on-gke/substrate-gke under tools/setup-gcp, so core no longer carries a copy. Docs and comments that pointed at the removed files now point at substrate-gke. go mod tidy drops the GCP client modules only setup-gcp used, and vendor/ and _LICENSES/ are regenerated to match. Covers #3390, except that hack/teardown.sh is removed here as well; substrate-gke's tools/setup-gcp/teardown.sh replaces it. Part of #2304 ### Rebase notes Conflicts were mostly from the Hugo docsite move (#1974): - `tools/setup-gcp/cloud-sql.md`: deleted, as in the original PR. - `docs/guides/operator-install.md`, `docs/guides/postgres.md`: the original edits, re-applied at the new paths. - `docs/guides/observability.md`: kept main's version, since #1974 already removed the Dashboards section the original PR edited. - `cmd/kubectl-ate/README.md`: kept main's stub that points to `docs/reference/kubectl-ate.md`. That page no longer has the setup-gcp line, so the edit had nowhere to go. --------- Signed-off-by: Steven Shriver <[email protected]> Signed-off-by: Grant McCloskey <[email protected]> Co-authored-by: Steven Shriver <[email protected]> (cherry picked from commit b66e16a) Signed-off-by: Eitan Yarmush <[email protected]>
The GKE provisioning and teardown tooling now lives in https://github.com/ai-on-gke/substrate-gke under tools/setup-gcp, so core no longer carries a copy. Docs and comments that pointed at the removed files now point at substrate-gke. go mod tidy drops the GCP client modules only setup-gcp used, and vendor/ and _LICENSES/ are regenerated to match.
Covers #3390, except that hack/teardown.sh is removed here as well; substrate-gke's tools/setup-gcp/teardown.sh replaces it.
Part of #2304