Page MenuHomePhabricator

[toolforge] Move all the components to the gitlab ci/cd flow
Closed, ResolvedPublic

Description

This might include moving to gitlab + moving to helmfile.

If the component is going to take considerable work, I'll open a subtask for it.

Components:

Related Objects

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes

Mentioned in SAL (#wikimedia-cloud) [2023-07-11T10:14:02Z] <dcaro> deploy ingress-admission 0.0.38, ci rebuild (T341084)

Mentioned in SAL (#wikimedia-cloud) [2023-07-12T10:06:42Z] <dcaro> deployed api-gateway 0.0.16, no changes, ci rebuild (T341084)

Mentioned in SAL (#wikimedia-cloud) [2023-07-12T12:46:39Z] <arturo> deployed builds-admission 0.0.63-20230712120152-2ef80a7c (T341084)

Mentioned in SAL (#wikimedia-cloud) [2023-07-12T12:46:46Z] <arturo> deployed builds-admission 0.0.63-20230712120152-2ef80a7c (T341084)

I'll be taking a bit of a break on this until I'm back on pto, if anyone wants to keep at it while I'm away I'll be more than happy, feel free :)

aborrero triaged this task as Medium priority.Jul 17 2023, 12:21 PM

Mentioned in SAL (#wikimedia-cloud) [2023-07-18T10:45:50Z] <arturo> redeploy jobs-emailer into k8s (T341084)

Mentioned in SAL (#wikimedia-cloud) [2023-07-18T11:02:20Z] <arturo> redeploy jobs-emailer 0.0.41-20230718103342-3dddcfb8 into k8s (T341084)

dcaro updated the task description. (Show Details)
dcaro updated the task description. (Show Details)

Change 945753 had a related patch set uploaded (by David Caro; author: David Caro):

[labs/tools/maintain-kubeusers@master] MOVED TO GITLAB

https://gerrit.wikimedia.org/r/945753

Change 945753 merged by jenkins-bot:

[labs/tools/maintain-kubeusers@master] MOVED TO GITLAB

https://gerrit.wikimedia.org/r/945753

Mentioned in SAL (#wikimedia-cloud) [2023-09-11T11:36:29Z] <dcaro> deploy kubernetes-metrics (T341084)

For kubernetes-metrics, I had to manually update the helm manifest to match the existing resources.

I think this happened when we upgraded to k8s 1.22, where clusterrole and clusterrolebinding moved from v1beta1 to v1, we might have done it by hand and helm did not see the change.

Anyhow, the procedure for that is:

  • Download the existing manifest:
root@toolsbeta-test-k8s-control-5:/srv/git/toolforge-deploy# kubectl get secret -o json -n metrics sh.helm.release.v1.wmcs-metrics.v1 | jq '.data.release' -r | base64 -d | base64 -d | gunzip > metrics.helm-manifest

# edit the manifest and change rbac.authorization.k8s.io/v1beta1 -> rbac.authorization.k8s.io/v1

root@toolsbeta-test-k8s-control-5:/srv/git/toolforge-deploy# DATA=$(cat metrics.helm-manifest  | gzip -c | base64 --wrap=0| base64 --wrap=0)
root@toolsbeta-test-k8s-control-5:/srv/git/toolforge-deploy# kubectl patch secret -n metrics sh.helm.release.v1.wmcs-metrics.v1 --type='json' -p="[{\"op\":\"replace\",\"path\":\"/data/release\",\"value\":\"$DATA\"}]"

Mentioned in SAL (#wikimedia-cloud) [2023-09-11T12:34:27Z] <dcaro> deploy kubernetes-metrics (T341084)

Mentioned in SAL (#wikimedia-cloud-feed) [2023-09-13T10:27:31Z] <wm-bot2> dcaro@urcuchillay START - Cookbook wmcs.toolforge.k8s.component.deploy for component maintain-kubeusersNone (T341084)

Mentioned in SAL (#wikimedia-cloud-feed) [2023-09-13T10:27:56Z] <wm-bot2> dcaro@urcuchillay END (ERROR) - Cookbook wmcs.toolforge.k8s.component.deploy (exit_code=97) for component maintain-kubeusersNone (T341084)

Mentioned in SAL (#wikimedia-cloud-feed) [2023-09-13T10:29:24Z] <wm-bot2> dcaro@urcuchillay START - Cookbook wmcs.toolforge.k8s.component.deploy for component maintain-kubeusersNone (T341084)

Mentioned in SAL (#wikimedia-cloud-feed) [2023-09-13T10:30:25Z] <wm-bot2> dcaro@urcuchillay END (PASS) - Cookbook wmcs.toolforge.k8s.component.deploy (exit_code=0) for component maintain-kubeusersNone (T341084)

Mentioned in SAL (#wikimedia-cloud-feed) [2023-09-13T10:34:32Z] <wm-bot2> dcaro@urcuchillay START - Cookbook wmcs.toolforge.k8s.component.deploy for component maintain-kubeusersNone (T341084)

Mentioned in SAL (#wikimedia-cloud-feed) [2023-09-13T10:35:20Z] <wm-bot2> dcaro@urcuchillay END (PASS) - Cookbook wmcs.toolforge.k8s.component.deploy (exit_code=0) for component maintain-kubeusersNone (T341084)

Mentioned in SAL (#wikimedia-cloud-feed) [2023-09-13T10:38:18Z] <wm-bot2> dcaro@urcuchillay START - Cookbook wmcs.toolforge.k8s.component.deploy for component maintain-kubeusersNone (T341084)

Mentioned in SAL (#wikimedia-cloud-feed) [2023-09-13T10:38:44Z] <wm-bot2> dcaro@urcuchillay END (PASS) - Cookbook wmcs.toolforge.k8s.component.deploy (exit_code=0) for component maintain-kubeusersNone (T341084)

Mentioned in SAL (#wikimedia-cloud-feed) [2023-09-13T10:41:34Z] <wm-bot2> dcaro@urcuchillay START - Cookbook wmcs.toolforge.k8s.component.deploy for component maintain-kubeusersNone (T341084)

Mentioned in SAL (#wikimedia-cloud-feed) [2023-09-13T10:41:42Z] <wm-bot2> dcaro@urcuchillay END (ERROR) - Cookbook wmcs.toolforge.k8s.component.deploy (exit_code=97) for component maintain-kubeusersNone (T341084)

Mentioned in SAL (#wikimedia-cloud-feed) [2023-09-13T12:37:08Z] <wm-bot2> dcaro@urcuchillay START - Cookbook wmcs.toolforge.k8s.component.deploy for component maintain-kubeusersNone (T341084)

Mentioned in SAL (#wikimedia-cloud-feed) [2023-09-13T12:37:23Z] <wm-bot2> dcaro@urcuchillay END (ERROR) - Cookbook wmcs.toolforge.k8s.component.deploy (exit_code=97) for component maintain-kubeusersNone (T341084)

Mentioned in SAL (#wikimedia-cloud-feed) [2023-09-13T12:37:33Z] <wm-bot2> dcaro@urcuchillay START - Cookbook wmcs.toolforge.k8s.component.deploy for component maintain-kubeusersNone (T341084)

Mentioned in SAL (#wikimedia-cloud-feed) [2023-09-13T12:38:24Z] <wm-bot2> dcaro@urcuchillay END (PASS) - Cookbook wmcs.toolforge.k8s.component.deploy (exit_code=0) for component maintain-kubeusersNone (T341084)

Mentioned in SAL (#wikimedia-cloud-feed) [2023-09-13T12:40:20Z] <wm-bot2> dcaro@urcuchillay START - Cookbook wmcs.toolforge.k8s.component.deploy for component maintain-kubeusersNone (T341084)

Mentioned in SAL (#wikimedia-cloud-feed) [2023-09-13T12:40:23Z] <wm-bot2> dcaro@urcuchillay END (FAIL) - Cookbook wmcs.toolforge.k8s.component.deploy (exit_code=99) for component maintain-kubeusersNone (T341084)

Mentioned in SAL (#wikimedia-cloud-feed) [2023-09-13T12:41:07Z] <wm-bot2> dcaro@urcuchillay START - Cookbook wmcs.toolforge.k8s.component.deploy for component maintain-kubeusersNone (T341084)

Mentioned in SAL (#wikimedia-cloud-feed) [2023-09-13T12:41:09Z] <wm-bot2> dcaro@urcuchillay END (FAIL) - Cookbook wmcs.toolforge.k8s.component.deploy (exit_code=99) for component maintain-kubeusersNone (T341084)

Mentioned in SAL (#wikimedia-cloud-feed) [2023-09-13T12:51:07Z] <wm-bot2> dcaro@urcuchillay START - Cookbook wmcs.toolforge.k8s.component.deploy for component maintain-kubeusersNone (T341084)

Mentioned in SAL (#wikimedia-cloud-feed) [2023-09-13T12:51:30Z] <wm-bot2> dcaro@urcuchillay END (FAIL) - Cookbook wmcs.toolforge.k8s.component.deploy (exit_code=99) for component maintain-kubeusersNone (T341084)

Mentioned in SAL (#wikimedia-cloud-feed) [2023-09-13T16:40:25Z] <wm-bot2> dcaro@urcuchillay START - Cookbook wmcs.toolforge.k8s.component.deploy for component maintain-kubeusersNone (T341084)

Mentioned in SAL (#wikimedia-cloud-feed) [2023-09-13T16:41:10Z] <wm-bot2> dcaro@urcuchillay END (PASS) - Cookbook wmcs.toolforge.k8s.component.deploy (exit_code=0) for component maintain-kubeusersNone (T341084)

Mentioned in SAL (#wikimedia-cloud-feed) [2023-09-13T17:13:16Z] <wm-bot2> dcaro@urcuchillay START - Cookbook wmcs.toolforge.k8s.component.deploy for component maintain-kubeusersNone (T341084)

Mentioned in SAL (#wikimedia-cloud-feed) [2023-09-13T17:14:03Z] <wm-bot2> dcaro@urcuchillay END (PASS) - Cookbook wmcs.toolforge.k8s.component.deploy (exit_code=0) for component maintain-kubeusersNone (T341084)

Mentioned in SAL (#wikimedia-cloud-feed) [2023-09-14T08:09:33Z] <wm-bot2> dcaro@urcuchillay START - Cookbook wmcs.toolforge.k8s.component.deploy for component registry-admissionNone (T341084)

Mentioned in SAL (#wikimedia-cloud-feed) [2023-09-14T08:10:18Z] <wm-bot2> dcaro@urcuchillay END (PASS) - Cookbook wmcs.toolforge.k8s.component.deploy (exit_code=0) for component registry-admissionNone (T341084)

dcaro updated the task description. (Show Details)
dcaro changed the task status from Open to In Progress.Sep 26 2023, 12:34 PM
dcaro moved this task from Next Up to In Progress on the Toolforge (Toolforge iteration 00) board.
dcaro moved this task from In Progress to Done on the Toolforge (Toolforge iteration 00) board.