Merge "Add mcp common scripts repo required for generate model job"
diff --git a/defaults/gerrit/init.yml b/defaults/gerrit/init.yml
new file mode 100644
index 0000000..7fbdd67
--- /dev/null
+++ b/defaults/gerrit/init.yml
@@ -0,0 +1,6 @@
+parameters:
+ _param:
+ gerrit_pipeline_library_repo: https://github.com/Mirantis/pipeline-library
+ gerrit_mk_pipelines_repo: https://github.com/Mirantis/mk-pipelines
+ gerrit_decapod_pipelines_repo: https://github.com/mateuszlos/decapod-pipelines
+ gerrit_mcp_common_scripts_repo: https://github.com/Mirantis/mcp-common-scripts
\ No newline at end of file
diff --git a/defaults/init.yml b/defaults/init.yml
index 5679cf9..7b47ac6 100644
--- a/defaults/init.yml
+++ b/defaults/init.yml
@@ -12,6 +12,7 @@
- system.defaults.rabbitmq
- system.defaults.debmirror
- system.defaults.docker_images
+- system.defaults.gerrit
parameters:
_param:
apt_mk_version: stable
diff --git a/gerrit/client/project/ci.yml b/gerrit/client/project/ci.yml
index 3e36556..e0c7112 100644
--- a/gerrit/client/project/ci.yml
+++ b/gerrit/client/project/ci.yml
@@ -1,8 +1,4 @@
parameters:
- _param:
- gerrit_pipeline_library_repo: https://github.com/Mirantis/pipeline-library
- gerrit_mk_pipelines_repo: https://github.com/Mirantis/mk-pipelines
- gerrit_decapod_pipelines_repo: https://github.com/mateuszlos/decapod-pipelines
gerrit:
client:
project:
diff --git a/gerrit/client/project/mirantis/mcp-common-scripts.yml b/gerrit/client/project/mirantis/mcp-common-scripts.yml
new file mode 100644
index 0000000..8064219
--- /dev/null
+++ b/gerrit/client/project/mirantis/mcp-common-scripts.yml
@@ -0,0 +1,12 @@
+parameters:
+ gerrit:
+ client:
+ project:
+ mcp/mcp-common-scripts:
+ enabled: true
+ description: MCP common scripts
+ upstream: ${_param:gerrit_mcp_common_scripts_repo}
+ access: ${gerrit:client:default_access}
+ require_change_id: true
+ require_agreement: false
+ merge_content: true