Граф коммитов

7 Коммитов

Автор SHA1 Сообщение Дата
Carlos Amedee 75ff9ef337 cmd/gitmirror: increase CPU and memory resources
This increases the CPU and memory resources for the git-mirror serving
and mirror deployments. The utilized resources were reaching the allocated
limits.

For golang/go#67070

Change-Id: I646d9feab0385fb0ea1f21d25a2c25ffbafb2f5b
Reviewed-on: https://go-review.googlesource.com/c/build/+/586778
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-05-20 18:18:58 +00:00
Heschi Kreinick 03942fcad0 cmd/gitmirror: update GitHub keys, increase startup grace period
GitHub fumbled their private key. Update the public keys. Also increase
the startup grace period -- the pods are timing out on startup. Might
just be a bad day for Gerrit but it's mostly harmless to crank it up.

Fixes golang/go#59228

Change-Id: I0453800062f6ea0e13f1f8eb1b3cd2fbcb41b61e
Reviewed-on: https://go-review.googlesource.com/c/build/+/479275
Run-TryBot: Heschi Kreinick <heschi@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Heschi Kreinick <heschi@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2023-03-24 17:46:42 +00:00
Dmitri Shuralyov 7bf60f09df all: make copyright headers consistent
Replace "Go Authors" with "The Go Authors." to be consistent with the
standard copyright header at https://go.dev/doc/contribute#copyright.
There were also a couple instances of a double space and double "the".

Change-Id: Ife7a80dd40f1a760ba85cbfee270356d46cfc53f
Reviewed-on: https://go-review.googlesource.com/c/build/+/472376
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
2023-03-01 01:31:01 +00:00
Carlos Amedee e8c8ca12ab all: add license headers
This change adds license headers to files which are missing them.
A modified version of the addlicense tool was used to add these headers:
https://github.com/google/addlicense

The command issued was:
addlicense -c "Go Authors" -l bsd *

Change-Id: Id6fd17c587f99b3ff0ef5f5f35befcfe5aaeef72
Reviewed-on: https://go-review.googlesource.com/c/build/+/409614
Run-TryBot: Carlos Amedee <carlos@golang.org>
Auto-Submit: Carlos Amedee <carlos@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Alex Rakoczy <alex@golang.org>
2022-06-01 18:19:15 +00:00
Heschi Kreinick e4e0662004 all: remove node selector
For golang/go#48408.

Change-Id: I5709cb4278d8c754508d9f4bf76849592b6f9855
Reviewed-on: https://go-review.googlesource.com/c/build/+/350114
Trust: Heschi Kreinick <heschi@google.com>
Run-TryBot: Heschi Kreinick <heschi@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2021-09-15 20:30:55 +00:00
Heschi Kreinick a9d7de15d2 all: use Workload Identity for gitmirror, move to "prod" namespace
Rather than using a service account key, enable Workload Identity for
gitmirror. This involved moving into a non-default namespace, so the
coordinator's monitoring logic needs updating too.

Change-Id: I196fae0825f806248571aae6fb125d8c0917934d
Reviewed-on: https://go-review.googlesource.com/c/build/+/347410
Trust: Heschi Kreinick <heschi@google.com>
Run-TryBot: Heschi Kreinick <heschi@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
2021-09-02 21:43:28 +00:00
Heschi Kreinick 74bc6ff2ec cmd/gitmirror: split deployment
Split the gitmirror deployment into a high-availability service that
serves tarballs and a single-instance service that does git mirroring.

Plan: start the new serving deployment, update the Service, shut down
the old deployment, start the new mirroring deployment.

Change-Id: Iffbf281002e2cb2ef42f7136781c212a0f2e40d6
Reviewed-on: https://go-review.googlesource.com/c/build/+/330371
Trust: Heschi Kreinick <heschi@google.com>
Run-TryBot: Heschi Kreinick <heschi@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
2021-06-23 20:46:23 +00:00