From 42878cf71e05d9542aec27593a3f5a1138f63c94 Mon Sep 17 00:00:00 2001
From: Andreas Jaeger <aj@suse.com>
Date: Sat, 9 May 2020 10:27:57 +0200
Subject: [PATCH] Finish retiring syntribos repos

syntribos is now retired, remove it from Zuul et al.

Change-Id: I3d45fbf2995267ddc2395d0c564f31048ea31521
---
 gerrit/acls/openstack/syntribos.config | 15 ---------------
 gerrit/projects.yaml                   | 11 ++++++-----
 gerritbot/channels.yaml                |  3 ---
 zuul.d/projects.yaml                   | 15 ---------------
 zuul/main.yaml                         |  3 ---
 5 files changed, 6 insertions(+), 41 deletions(-)
 delete mode 100644 gerrit/acls/openstack/syntribos.config

diff --git a/gerrit/acls/openstack/syntribos.config b/gerrit/acls/openstack/syntribos.config
deleted file mode 100644
index f1118533d8..0000000000
--- a/gerrit/acls/openstack/syntribos.config
+++ /dev/null
@@ -1,15 +0,0 @@
-[access "refs/heads/*"]
-abandon = group syntribos-core
-create = group syntribos-core
-label-Code-Review = -2..+2 group syntribos-core
-label-Workflow = -1..+1 group syntribos-core
-
-[access "refs/tags/*"]
-pushSignedTag = group syntribos-core
-
-[receive]
-requireChangeId = true
-requireContributorAgreement = true
-
-[submit]
-mergeContent = true
diff --git a/gerrit/projects.yaml b/gerrit/projects.yaml
index 3689861e8b..80a442f04b 100644
--- a/gerrit/projects.yaml
+++ b/gerrit/projects.yaml
@@ -5188,13 +5188,14 @@
     - swift
   description: OpenStack Storage (Swift) Specifications
 - project: openstack/syntribos
-  description: Python API security testing tool from OpenStack Security Group
+  description: RETIRED, Python API security testing tool from OpenStack Security Group
+  acl-config: /home/gerrit2/acls/openstack/retired.config
 - project: openstack/syntribos-openstack-templates
-  description: Templates used in OpenStack syntribos to test various OpenStack projects.
-  acl-config: /home/gerrit2/acls/openstack/syntribos.config
+  description: RETIRED, Templates used in OpenStack syntribos to test various OpenStack projects.
+  acl-config: /home/gerrit2/acls/openstack/retired.config
 - project: openstack/syntribos-payloads
-  description: Payloads used in syntribos to run various tests on OpenStack Projects
-  acl-config: /home/gerrit2/acls/openstack/syntribos.config
+  description: RETIRED, Payloads used in syntribos to run various tests on OpenStack Projects
+  acl-config: /home/gerrit2/acls/openstack/retired.config
 - project: openstack/tacker
   description: 'Tacker: ETSI MANO NFV Orchestrator / VNF Manager. See https://wiki.openstack.org/wiki/Tacker'
   options:
diff --git a/gerritbot/channels.yaml b/gerritbot/channels.yaml
index e419f37813..93bba8a4a2 100755
--- a/gerritbot/channels.yaml
+++ b/gerritbot/channels.yaml
@@ -1356,9 +1356,6 @@ openstack-security:
     - openstack/security-analysis
     - openstack/security-doc
     - openstack/security-specs
-    - openstack/syntribos
-    - openstack/syntribos-openstack-templates
-    - openstack/syntribos-payloads
   branches:
     - master
 
diff --git a/zuul.d/projects.yaml b/zuul.d/projects.yaml
index d79e994cf5..fc6d6f0be8 100644
--- a/zuul.d/projects.yaml
+++ b/zuul.d/projects.yaml
@@ -5804,21 +5804,6 @@
     templates:
       - official-openstack-repo-jobs
 
-- project:
-    name: openstack/syntribos
-    templates:
-      - noop-jobs
-
-- project:
-    name: openstack/syntribos-openstack-templates
-    templates:
-      - noop-jobs
-
-- project:
-    name: openstack/syntribos-payloads
-    templates:
-      - noop-jobs
-
 - project:
     name: openstack/tacker
     templates:
diff --git a/zuul/main.yaml b/zuul/main.yaml
index 05d7f9053b..1a8f1ea4e4 100644
--- a/zuul/main.yaml
+++ b/zuul/main.yaml
@@ -942,9 +942,6 @@
           - openstack/swift
           - openstack/swift-bench
           - openstack/swift-specs
-          - openstack/syntribos
-          - openstack/syntribos-openstack-templates
-          - openstack/syntribos-payloads
           - openstack/tacker
           - openstack/tacker-horizon
           - openstack/tacker-specs