From 1f79fc38a17ceda30f378efd4e7f80f252c99b4d Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sun, 28 Feb 2021 18:41:07 +0000 Subject: 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. --- sqitch/pg/deploy/add_agent_names.sql | 7 +++++++ sqitch/pg/deploy/add_dynamic_auth_tokens.sql | 7 +++++++ sqitch/pg/revert/add_agent_names.sql | 7 +++++++ sqitch/pg/revert/add_dynamic_auth_tokens.sql | 7 +++++++ sqitch/pg/verify/add_agent_names.sql | 7 +++++++ sqitch/pg/verify/add_dynamic_auth_tokens.sql | 7 +++++++ 6 files changed, 42 insertions(+) create mode 100644 sqitch/pg/deploy/add_agent_names.sql create mode 100644 sqitch/pg/deploy/add_dynamic_auth_tokens.sql create mode 100644 sqitch/pg/revert/add_agent_names.sql create mode 100644 sqitch/pg/revert/add_dynamic_auth_tokens.sql create mode 100644 sqitch/pg/verify/add_agent_names.sql create mode 100644 sqitch/pg/verify/add_dynamic_auth_tokens.sql (limited to 'sqitch/pg') 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; -- cgit v1.2.3