Merge changes I39c850ef,I322f3d0e
* changes:
Fix scouting deploy after rules_pkg upgrade
scouting: Make scouted data visible to Tableau
diff --git a/scouting/deploy/BUILD b/scouting/deploy/BUILD
index eb8b537..c8f68c4 100644
--- a/scouting/deploy/BUILD
+++ b/scouting/deploy/BUILD
@@ -23,8 +23,8 @@
# So we work around it by manually adding some symlinks that let us pretend
# that we're at the root of the runfiles tree.
symlinks = {
- "opt/frc971/scouting_server/org_frc971": ".",
- "opt/frc971/scouting_server/bazel_tools": "external/bazel_tools",
+ "org_frc971": ".",
+ "bazel_tools": "external/bazel_tools",
},
)
diff --git a/scouting/deploy/deploy.py b/scouting/deploy/deploy.py
index f947398..61c0481 100644
--- a/scouting/deploy/deploy.py
+++ b/scouting/deploy/deploy.py
@@ -47,6 +47,8 @@
"-c 'create schema public;'",
# List all tables as a sanity check.
"-c '\dt'",
+ # Make sure we make the visualizations accessible.
+ "-c 'GRANT ALL ON SCHEMA public TO tableau;'",
"postgres\"",
]),
shell=True,