From c475a154aaeb0492c4c3c37259ef72e1846952b7 Mon Sep 17 00:00:00 2001 From: Joey Orlando Date: Tue, 27 Aug 2024 21:03:30 -0400 Subject: [PATCH] IRM tilt changes (#4940) Related to https://github.com/grafana/irm/pull/45 --- grafana-plugin/.bra.toml | 6 ++++-- grafana-plugin/package.json | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/grafana-plugin/.bra.toml b/grafana-plugin/.bra.toml index e2f25dc0..b8be2021 100644 --- a/grafana-plugin/.bra.toml +++ b/grafana-plugin/.bra.toml @@ -4,7 +4,8 @@ [run] init_cmds = [ ["mage", "-v", "build:debugLinuxARM64"], - ["mage", "-v" , "reloadPlugin"] + ["mage", "-v", "build:debugLinuxAMD64"], + ["mage", "-v" , "reloadPlugin"], ] watch_all = true follow_symlinks = false @@ -18,5 +19,6 @@ watch_exts = [".go", ".json"] build_delay = 2000 cmds = [ ["mage", "-v", "build:debugLinuxARM64"], - ["mage", "-v" , "reloadPlugin"] + ["mage", "-v", "build:debugLinuxAMD64"], + ["mage", "-v" , "reloadPlugin"], ] diff --git a/grafana-plugin/package.json b/grafana-plugin/package.json index 61b1e0d2..f76b0cd2 100644 --- a/grafana-plugin/package.json +++ b/grafana-plugin/package.json @@ -11,7 +11,7 @@ "build:dev": "NODE_ENV=development webpack -c ./webpack.config.ts --env development", "labels:link": "yarn --cwd ../../gops-labels/frontend link && yarn link \"@grafana/labels\" && yarn --cwd ../../gops-labels/frontend watch", "labels:unlink": "yarn --cwd ../../gops-labels/frontend unlink", - "mage:build-dev": "go mod download && mage -v build:debugLinuxARM64", + "mage:build-dev": "go mod download && mage -v build:debugLinuxARM64 && mage -v build:debugLinuxAMD64", "mage:watch": "go mod download && mage -v watch", "test-utc": "TZ=UTC jest --verbose --testNamePattern '^((?!@london-tz).)*$'", "test-london-tz": "TZ=Europe/London jest --verbose --testNamePattern '@london-tz'",