aboutsummaryrefslogtreecommitdiff
path: root/sqitch/pg
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2021-02-28 18:41:07 +0000
committerChristopher Baines <mail@cbaines.net>2021-02-28 18:41:07 +0000
commit1f79fc38a17ceda30f378efd4e7f80f252c99b4d (patch)
treee5cf6166d69b3f7249d4006846751bf1fb6e5720 /sqitch/pg
parentcaf63dce0ea29a07c5205a69ff6f60b7c6b60084 (diff)
downloadbuild-coordinator-1f79fc38a17ceda30f378efd4e7f80f252c99b4d.tar
build-coordinator-1f79fc38a17ceda30f378efd4e7f80f252c99b4d.tar.gz
Add a new dynamic authentication approach
This avoids the need to create agents upfront, which could be useful when creating many childhurd VMs or using scheduling tools to dynamically run agents.
Diffstat (limited to 'sqitch/pg')
-rw-r--r--sqitch/pg/deploy/add_agent_names.sql7
-rw-r--r--sqitch/pg/deploy/add_dynamic_auth_tokens.sql7
-rw-r--r--sqitch/pg/revert/add_agent_names.sql7
-rw-r--r--sqitch/pg/revert/add_dynamic_auth_tokens.sql7
-rw-r--r--sqitch/pg/verify/add_agent_names.sql7
-rw-r--r--sqitch/pg/verify/add_dynamic_auth_tokens.sql7
6 files changed, 42 insertions, 0 deletions
diff --git a/sqitch/pg/deploy/add_agent_names.sql b/sqitch/pg/deploy/add_agent_names.sql
new file mode 100644
index 0000000..e53c2f1
--- /dev/null
+++ b/sqitch/pg/deploy/add_agent_names.sql
@@ -0,0 +1,7 @@
+-- Deploy guix-build-coordinator:add_agent_names to pg
+
+BEGIN;
+
+-- XXX Add DDLs here.
+
+COMMIT;
diff --git a/sqitch/pg/deploy/add_dynamic_auth_tokens.sql b/sqitch/pg/deploy/add_dynamic_auth_tokens.sql
new file mode 100644
index 0000000..5a4022d
--- /dev/null
+++ b/sqitch/pg/deploy/add_dynamic_auth_tokens.sql
@@ -0,0 +1,7 @@
+-- Deploy guix-build-coordinator:add_dynamic_auth_tokens to pg
+
+BEGIN;
+
+-- XXX Add DDLs here.
+
+COMMIT;
diff --git a/sqitch/pg/revert/add_agent_names.sql b/sqitch/pg/revert/add_agent_names.sql
new file mode 100644
index 0000000..9446feb
--- /dev/null
+++ b/sqitch/pg/revert/add_agent_names.sql
@@ -0,0 +1,7 @@
+-- Revert guix-build-coordinator:add_agent_names from pg
+
+BEGIN;
+
+-- XXX Add DDLs here.
+
+COMMIT;
diff --git a/sqitch/pg/revert/add_dynamic_auth_tokens.sql b/sqitch/pg/revert/add_dynamic_auth_tokens.sql
new file mode 100644
index 0000000..b061032
--- /dev/null
+++ b/sqitch/pg/revert/add_dynamic_auth_tokens.sql
@@ -0,0 +1,7 @@
+-- Revert guix-build-coordinator:add_dynamic_auth_tokens from pg
+
+BEGIN;
+
+-- XXX Add DDLs here.
+
+COMMIT;
diff --git a/sqitch/pg/verify/add_agent_names.sql b/sqitch/pg/verify/add_agent_names.sql
new file mode 100644
index 0000000..9f69522
--- /dev/null
+++ b/sqitch/pg/verify/add_agent_names.sql
@@ -0,0 +1,7 @@
+-- Verify guix-build-coordinator:add_agent_names on pg
+
+BEGIN;
+
+-- XXX Add verifications here.
+
+ROLLBACK;
diff --git a/sqitch/pg/verify/add_dynamic_auth_tokens.sql b/sqitch/pg/verify/add_dynamic_auth_tokens.sql
new file mode 100644
index 0000000..b0b62a0
--- /dev/null
+++ b/sqitch/pg/verify/add_dynamic_auth_tokens.sql
@@ -0,0 +1,7 @@
+-- Verify guix-build-coordinator:add_dynamic_auth_tokens on pg
+
+BEGIN;
+
+-- XXX Add verifications here.
+
+ROLLBACK;