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-equinox-bot committed Jul 15, 2024
1 parent aa5f4ee commit a4dd1ef
Showing 1 changed file with 167 additions and 0 deletions.
167 changes: 167 additions & 0 deletions otterdog/eclipse-equinox.jsonnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,167 @@
local orgs = import 'vendor/otterdog-defaults/otterdog-defaults.libsonnet';

orgs.newOrg('eclipse-equinox') {
settings+: {
description: "",
name: "Eclipse Equinox",
security_managers+: [
"eclipse-equinox-committers"
],
web_commit_signoff_required: false,
workflows+: {
default_workflow_permissions: "write",
},
},
webhooks+: [
orgs.newOrgWebhook('https://ci.eclipse.org/equinox/github-webhook/') {
content_type: "json",
events+: [
"pull_request",
"push"
],
},
orgs.newOrgWebhook('https://ci.eclipse.org/releng/github-webhook/') {
content_type: "json",
events+: [
"pull_request",
"push"
],
},
],
_repositories+:: [
orgs.newRepo('.github') {
allow_merge_commit: true,
delete_branch_on_merge: false,
web_commit_signoff_required: false,
workflows+: {
default_workflow_permissions: "write",
},
},
orgs.newRepo('equinox') {
default_branch: "master",
delete_branch_on_merge: false,
description: "equinox",
has_discussions: true,
web_commit_signoff_required: false,
workflows+: {
default_workflow_permissions: "write",
},
secrets: [
orgs.newRepoSecret('GIST_TOKEN') {
value: "********",
},
],
},
orgs.newRepo('equinox-website') {
allow_merge_commit: true,
allow_update_branch: false,
default_branch: "master",
delete_branch_on_merge: false,
web_commit_signoff_required: false,
workflows+: {
enabled: false,
},
},
orgs.newRepo('equinox.binaries') {
default_branch: "master",
delete_branch_on_merge: false,
has_projects: false,
has_wiki: false,
web_commit_signoff_required: false,
workflows+: {
default_workflow_permissions: "write",
},
branch_protection_rules: [
orgs.newBranchProtectionRule('master') {
bypass_pull_request_allowances+: [
"@eclipse-releng-bot"
],
required_approving_review_count: 0,
requires_status_checks: false,
requires_strict_status_checks: true,
},
orgs.newBranchProtectionRule('R*maintenance') {
bypass_pull_request_allowances+: [
"@eclipse-releng-bot"
],
required_approving_review_count: 0,
requires_status_checks: false,
requires_strict_status_checks: true,
},
],
},
orgs.newRepo('equinox.bundles') {
default_branch: "master",
delete_branch_on_merge: false,
has_projects: false,
has_wiki: false,
web_commit_signoff_required: false,
workflows+: {
default_workflow_permissions: "write",
},
branch_protection_rules: [
orgs.newBranchProtectionRule('master') {
required_approving_review_count: 0,
requires_status_checks: false,
requires_strict_status_checks: true,
},
orgs.newBranchProtectionRule('R*maintenance') {
required_approving_review_count: 0,
requires_status_checks: false,
requires_strict_status_checks: true,
},
],
},
orgs.newRepo('equinox.framework') {
default_branch: "master",
delete_branch_on_merge: false,
has_projects: false,
has_wiki: false,
web_commit_signoff_required: false,
workflows+: {
default_workflow_permissions: "write",
},
branch_protection_rules: [
orgs.newBranchProtectionRule('master') {
bypass_pull_request_allowances+: [
"@eclipse-releng-bot"
],
required_approving_review_count: 0,
requires_status_checks: false,
requires_strict_status_checks: true,
},
orgs.newBranchProtectionRule('R*maintenance') {
bypass_pull_request_allowances+: [
"@eclipse-releng-bot"
],
required_approving_review_count: 0,
requires_status_checks: false,
requires_strict_status_checks: true,
},
],
},
orgs.newRepo('p2') {
default_branch: "master",
delete_branch_on_merge: false,
has_discussions: true,
has_projects: false,
has_wiki: false,
web_commit_signoff_required: false,
workflows+: {
default_workflow_permissions: "write",
},
branch_protection_rules: [
orgs.newBranchProtectionRule('master') {
required_approving_review_count: 0,
requires_status_checks: false,
requires_strict_status_checks: true,
},
orgs.newBranchProtectionRule('R*maintenance') {
required_approving_review_count: 0,
requires_status_checks: false,
requires_strict_status_checks: true,
},
],
},
],
}

0 comments on commit a4dd1ef

Please sign in to comment.