diff --git a/gerrit/acls/volvocars/powertrain-build.config b/gerrit/acls/volvocars/powertrain-build.config new file mode 100644 index 0000000000..65edf825cb --- /dev/null +++ b/gerrit/acls/volvocars/powertrain-build.config @@ -0,0 +1,14 @@ +[access "refs/heads/*"] + abandon = group volvocars-powertrain-build-core + create = group volvocars-powertrain-build-release + label-Code-Review = -2..+2 group volvocars-powertrain-build-core + label-Workflow = -1..+1 group volvocars-powertrain-build-core + +[access "refs/tags/*"] + createSignedTag = group volvocars-powertrain-build-release + +[receive] + requireChangeId = true + +[submit] + mergeContent = true diff --git a/gerrit/acls/volvocars/project-config.config b/gerrit/acls/volvocars/project-config.config new file mode 100644 index 0000000000..50f8996ee9 --- /dev/null +++ b/gerrit/acls/volvocars/project-config.config @@ -0,0 +1,14 @@ +[access "refs/heads/*"] + abandon = group volvocars-project-config-core + create = group volvocars-project-config-release + label-Code-Review = -2..+2 group volvocars-project-config-core + label-Workflow = -1..+1 group volvocars-project-config-core + +[access "refs/tags/*"] + createSignedTag = group volvocars-project-config-release + +[receive] + requireChangeId = true + +[submit] + mergeContent = true diff --git a/gerrit/projects.yaml b/gerrit/projects.yaml index dec4840df5..8fc608414c 100644 --- a/gerrit/projects.yaml +++ b/gerrit/projects.yaml @@ -6834,6 +6834,12 @@ - project: vexxhost/tempest-pushgateway description: Tools for running Tempest and pushing results to Prometheus Pushgateway acl-config: /home/gerrit2/acls/vexxhost/vexxhost.config +- project: volvocars/powertrain-build + description: Powertrain Build System + use-storyboard: true +- project: volvocars/project-config + description: Configuration Project for Volvo Cars projects + use-storyboard: true - project: windmill/ansible-role-ansible description: Ansible role to manage Ansible - project: windmill/ansible-role-borgbackup diff --git a/zuul/main.yaml b/zuul/main.yaml index eda6a20527..76e1fb668e 100644 --- a/zuul/main.yaml +++ b/zuul/main.yaml @@ -1738,3 +1738,17 @@ github: untrusted-projects: - pypa/pip + +- tenant: + name: volvocars + admin-rules: *admin_rules + default-ansible-version: '8' + max-nodes-per-job: 10 + source: + gerrit: + config-projects: + - opendev/base-jobs + - volvocars/project-config + untrusted-projects: + - zuul/zuul-jobs + - volvocars/powertrain-build