Skip to content

Instantly share code, notes, and snippets.

View quiiver's full-sized avatar

wil stuckey quiiver

  • mozilla
  • bentonville, ar
View GitHub Profile
#!/usr/bin/env bash
set -euo pipefail
EVENT="${1:-}"
PANE="${TMUX_PANE:-}"
# helper: get window name for the Claude pane (not the focused window)
get_window_name() {
tmux display-message -t "$PANE" -p '#{window_name}'
}

Plan: Tag Grafana Dashboards with app_code Tags

Phase 0: Documentation & API Confirmation

Findings:

  • mcp__grafana__update_dashboard supports patching $.tags via JSONPath
  • Append: {"op": "add", "path": "$.tags/- ", "value": "app_code=fxa"}
  • Replace: {"op": "replace", "path": "$.tags", "value": ["app_code=fxa", ...]}
@quiiver
quiiver / okr-update.md
Created March 19, 2026 21:54
Claude Code /okr-update skill — weekly OKR status update for Jira

Generate a weekly OKR status update for a given Objective or Key Result ticket and post it as a comment.

Usage: /okr-update <TICKET-KEY> (e.g., /okr-update INFOKR-7)

Instructions

  1. Resolve the target ticket: Fetch the provided ticket using the Atlassian MCP getJiraIssue tool. Include the issuelinks field.

    • Atlassian cloud ID: d8febd08-c6e9-4c03-9c13-db37c2369ce5
  2. Find fulfilling epics: From the ticket's issue links, find all issues linked via the "Fulfills" relationship (inward: "is fulfilled by"). These are the epics that deliver on this OKR.

No differences found between rendered manifests.
No differences found between rendered manifests.
diff --git i/misc/scripts/tenant-managment/src/main.py w/misc/scripts/tenant-managment/src/main.py
index dd47e72a..8b487600 100644
--- i/misc/scripts/tenant-managment/src/main.py
+++ w/misc/scripts/tenant-managment/src/main.py
@@ -83,18 +83,25 @@ def simplify_schema(schema_path):
help="Path to the tenant file",
type=click.Path(exists=True, file_okay=True, dir_okay=False, path_type=Path),
)
-def migrate_tenants(schema_path: Path, tenant_path: Optional[Path]):
+@click.option(
diff --git i/argo/k8s/argocd-bootstrap/templates/tenants/tenant-applicationsets.yaml w/argo/k8s/argocd-bootstrap/templates/tenants/tenant-applicationsets.yaml
index 71ad7a40..4ad4c2c3 100644
--- i/argo/k8s/argocd-bootstrap/templates/tenants/tenant-applicationsets.yaml
+++ w/argo/k8s/argocd-bootstrap/templates/tenants/tenant-applicationsets.yaml
@@ -35,7 +35,7 @@ spec:
generators:
- git:
repoURL: https://github.com/{{ $.Values.argo.cd.github.organization }}/global-platform-admin
- revision: main
+ revision: {{ $.Values.argo.cd.github.revision | default "main" }}
--- /Users/wstuckey/dev/global-platform-admin/tmpdir/dataservices/data-privacy-mapping-nonprod-us-west1-data-privacy-mapping-current.yaml 2025-11-25 12:05:08
+++ /Users/wstuckey/dev/global-platform-admin/tmpdir/dataservices/data-privacy-mapping-nonprod-us-west1-data-privacy-mapping-incoming.yaml 2025-11-25 12:05:08
@@ -62,7 +62,7 @@
value: moz-fx-data-privacy-mappi-6295
- name: global.mozcloud.realm
value: nonprod
- releaseName: gha
+ releaseName: data-privacy-mapping
valueFiles:
- values.yaml
#!/bin/bash
set -eo pipefail
functions="webservices sandbox dataservices"
# functions="sandbox"
tenants="${1}"
gitroot=$(git rev-parse --show-toplevel)
argo_dir="$gitroot/argo/k8s/argocd-bootstrap"
--- /Users/wstuckey/dev/global-platform-admin/tmpdir/sandbox/cicd-demos-nonprod-us-west1-cicd-demos-current.yaml 2025-11-25 11:02:27
+++ /Users/wstuckey/dev/global-platform-admin/tmpdir/sandbox/cicd-demos-nonprod-us-west1-cicd-demos-incoming.yaml 2025-11-25 11:02:16
@@ -20,10 +20,8 @@
notifications.argoproj.io/subscribe.on-sync-running.grafana: tenant=cicd-demos|realm=nonprod|region=us-west1|chart=cicd-demos|argocd=sync-running|environment=dev
notifications.argoproj.io/subscribe.on-sync-status-unknown.grafana: tenant=cicd-demos|realm=nonprod|region=us-west1|chart=cicd-demos|argocd=sync-status-unknown|environment=dev
notifications.argoproj.io/subscribe.on-sync-succeeded.grafana: tenant=cicd-demos|realm=nonprod|region=us-west1|chart=cicd-demos|argocd=sync-succeeded|environment=dev
- creationTimestamp: "2024-10-23T16:54:05Z"
finalizers:
- resources-finalizer.argocd.argoproj.io
- generation: 18230