Skip to content

Commit

Permalink
initial import
Browse files Browse the repository at this point in the history
  • Loading branch information
netomi authored and eclipse-m2e-bot committed Jul 17, 2024
1 parent 2156d87 commit fb0b081
Showing 1 changed file with 149 additions and 0 deletions.
149 changes: 149 additions & 0 deletions otterdog/eclipse-m2e.jsonnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,149 @@
local orgs = import 'vendor/otterdog-defaults/otterdog-defaults.libsonnet';

orgs.newOrg('eclipse-m2e') {
settings+: {
blog: "https://www.eclipse.org/m2e/",
description: "M2Eclipse provides tight integration for Apache Maven into the Eclipse IDE",
email: "[email protected]",
name: "Eclipse m2e project",
web_commit_signoff_required: false,
workflows+: {
default_workflow_permissions: "write",
},
},
secrets+: [
orgs.newOrgSecret('M2E_GITLAB_API_TOKEN') {
value: "********",
},
],
_repositories+:: [
orgs.newRepo('.github') {
allow_merge_commit: true,
delete_branch_on_merge: false,
dependabot_alerts_enabled: false,
web_commit_signoff_required: false,
workflows+: {
default_workflow_permissions: "write",
},
},
orgs.newRepo('eclipse-m2e.github.io') {
allow_merge_commit: true,
allow_update_branch: false,
default_branch: "master",
delete_branch_on_merge: false,
dependabot_alerts_enabled: false,
gh_pages_build_type: "legacy",
gh_pages_source_branch: "master",
gh_pages_source_path: "/",
web_commit_signoff_required: false,
workflows+: {
enabled: false,
},
environments: [
orgs.newEnvironment('github-pages') {
branch_policies+: [
"master"
],
deployment_branch_policy: "selected",
},
],
},
orgs.newRepo('m2e-core') {
default_branch: "master",
delete_branch_on_merge: false,
dependabot_security_updates_enabled: true,
has_discussions: true,
squash_merge_commit_title: "PR_TITLE",
web_commit_signoff_required: false,
workflows+: {
default_workflow_permissions: "write",
},
webhooks: [
orgs.newRepoWebhook('https://ci.eclipse.org/m2e/github-webhook/') {
content_type: "json",
events+: [
"pull_request",
"push"
],
},
],
},
orgs.newRepo('m2e-discovery-catalog') {
default_branch: "master",
delete_branch_on_merge: false,
dependabot_security_updates_enabled: true,
gh_pages_build_type: "workflow",
web_commit_signoff_required: false,
workflows+: {
default_workflow_permissions: "write",
},
webhooks: [
orgs.newRepoWebhook('https://ci.eclipse.org/m2e/github-webhook/') {
content_type: "json",
events+: [
"pull_request",
"push"
],
},
],
environments: [
orgs.newEnvironment('github-pages') {
branch_policies+: [
"master"
],
deployment_branch_policy: "selected",
},
],
},
orgs.newRepo('m2e-website') {
allow_merge_commit: true,
allow_update_branch: false,
default_branch: "master",
delete_branch_on_merge: false,
dependabot_alerts_enabled: false,
web_commit_signoff_required: false,
workflows+: {
enabled: false,
},
},
orgs.newRepo('m2e-wtp') {
default_branch: "master",
delete_branch_on_merge: false,
dependabot_alerts_enabled: false,
web_commit_signoff_required: false,
workflows+: {
enabled: false,
},
},
orgs.newRepo('m2e-wtp-jpa') {
allow_merge_commit: true,
default_branch: "master",
delete_branch_on_merge: false,
dependabot_alerts_enabled: false,
web_commit_signoff_required: false,
workflows+: {
enabled: false,
},
},
orgs.newRepo('org.eclipse.m2e.workspace') {
allow_merge_commit: true,
default_branch: "master",
delete_branch_on_merge: false,
dependabot_security_updates_enabled: true,
has_issues: false,
web_commit_signoff_required: false,
workflows+: {
default_workflow_permissions: "write",
},
webhooks: [
orgs.newRepoWebhook('https://ci.eclipse.org/m2e/github-webhook/') {
content_type: "json",
events+: [
"pull_request",
"push"
],
},
],
},
],
}

0 comments on commit fb0b081

Please sign in to comment.