Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update adoptium.jsonnet #41

Merged
merged 1 commit into from
Feb 1, 2024
Merged

Update adoptium.jsonnet #41

merged 1 commit into from
Feb 1, 2024

Conversation

gdams
Copy link
Member

@gdams gdams commented Feb 1, 2024

No description provided.

Signed-off-by: George Adams <[email protected]>
@gdams gdams requested review from a team as code owners February 1, 2024 14:04
Copy link

github-actions bot commented Feb 1, 2024

Diff for 08b97dd:
Printing local diff:

Actions are indicated with the following symbols:
+   create
!   modify
!   forced update
-   delete

Organization adoptium[id=adoptium]
  there have been 4 validation infos, enable verbose output with '-v' to to display them.

  
!   branch_protection_rule[pattern="main", repository="adoptium.net-redesign"] {
!     required_status_checks            = "['eclipse-eca-validation:eclipsefdn/eca']" -> "['eclipse-eca-validation:eclipsefdn/eca', 'Lint Code Base', 'Run CI', 'netlify:netlify/adoptium-rewrite/deploy-preview']"
!   }
  
  Plan: 0 to add, 1 to change, 0 to delete.
Canonical Diff for 08b97dd:
Showing canonical diff:

Organization adoptium[id=adoptium]

--- canonical
+++ original
@@ -1,56 +1,7 @@
 local orgs = import 'vendor/otterdog-defaults/otterdog-defaults.libsonnet';
 
-local newMirrorRepo(repoName) = orgs.newRepo(repoName) {
-
-  allow_merge_commit: true
-  allow_update_branch: false
-  auto_init: false
-  default_branch: "master"
-  delete_branch_on_merge: false
-  dependabot_alerts_enabled: false
-  description: "This repo is an unmodified mirror of source code obtained from OpenJDK. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version that is available at https://adoptium.net."
-  has_issues: false
-  has_projects: false
-  has_wiki: false
-  homepage: "https://adoptium.net"
-  secret_scanning: "disabled"
-  secret_scanning_push_protection: "disabled"
-  web_commit_signoff_required: false
-  workflows+: {
-    enabled: false
-  }
 orgs.newOrg('adoptium') {
   _repositories+:: [
-    newMirrorRepo('alpine-jdk8u') {}
-    newMirrorRepo('jdk') {
-      description: "This repo is an unmodified mirror of source code obtained from OpenJDK. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version that is available at https://adoptium.net."
-    }
-    newMirrorRepo('jdk11u') {
-    }
-    newMirrorRepo('jdk16u') {}
-    newMirrorRepo('jdk17') {
-      archived: true
-    }
-    newMirrorRepo('jdk17u') {}
-    newMirrorRepo('jdk18') {
-      archived: true
-    }
-    newMirrorRepo('jdk18u') {}
-    newMirrorRepo('jdk19') {
-      archived: true
-    }
-    newMirrorRepo('jdk19u') {}
-    newMirrorRepo('jdk20') {
-      archived: true
-    }
-    newMirrorRepo('jdk20u') {}
-    newMirrorRepo('jdk21') {}
-    newMirrorRepo('jdk21u') {}
-    newMirrorRepo('jdk22') {}
-    newMirrorRepo('jdk8u') {}
-    newMirrorRepo('jdk8u_hg') {
-      archived: true
-    }
     orgs.newRepo('.github') {
       allow_auto_merge: true
       allow_update_branch: false
@@ -183,12 +134,12 @@
       allow_update_branch: false
       branch_protection_rules: [
         orgs.newBranchProtectionRule('main') {
+          required_approving_review_count: 1
            required_status_checks+: [
              "Lint Code Base"
              "Run CI"
              "netlify:netlify/adoptium-rewrite/deploy-preview"
            ]
-          required_approving_review_count: 1
         }
       ]
       dependabot_security_updates_enabled: true
@@ -199,6 +150,24 @@
       ]
       web_commit_signoff_required: false
     }
+    orgs.newRepo('alpine-jdk8u') {
+      allow_merge_commit: true
+      allow_update_branch: false
+      default_branch: "master"
+      delete_branch_on_merge: false
+      dependabot_alerts_enabled: false
+      description: "This repo is an unmodified mirror of source code obtained from OpenJDK. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version that is available at https://adoptium.net."
+      has_issues: false
+      has_projects: false
+      has_wiki: false
+      homepage: "https://adoptium.net"
+      secret_scanning: "disabled"
+      secret_scanning_push_protection: "disabled"
+      web_commit_signoff_required: false
+      workflows+: {
+        enabled: false
+      }
+    }
     orgs.newRepo('api.adoptium.net') {
       allow_merge_commit: true
       allow_squash_merge: false
@@ -611,6 +580,42 @@
         default_workflow_permissions: "write"
       }
     }
+    orgs.newRepo('jdk') {
+      allow_merge_commit: true
+      allow_update_branch: false
+      default_branch: "master"
+      delete_branch_on_merge: false
+      dependabot_alerts_enabled: false
+      description: "This repo is an unmodified mirror of source code obtained from OpenJDK. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version that is available at https://adoptium.net."
+      has_issues: false
+      has_projects: false
+      has_wiki: false
+      homepage: "https://adoptium.net"
+      secret_scanning: "disabled"
+      secret_scanning_push_protection: "disabled"
+      web_commit_signoff_required: false
+      workflows+: {
+        enabled: false
+      }
+    }
+    orgs.newRepo('jdk11u') {
+      allow_merge_commit: true
+      allow_update_branch: false
+      default_branch: "master"
+      delete_branch_on_merge: false
+      dependabot_alerts_enabled: false
+      description: "This repo is an unmodified mirror of source code obtained from OpenJDK. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version that is available at https://adoptium.net."
+      has_issues: false
+      has_projects: false
+      has_wiki: false
+      homepage: "https://adoptium.net"
+      secret_scanning: "disabled"
+      secret_scanning_push_protection: "disabled"
+      web_commit_signoff_required: false
+      workflows+: {
+        enabled: false
+      }
+    }
     orgs.newRepo('jdk11u-fast-startup-incubator') {
       allow_merge_commit: true
       allow_update_branch: false
@@ -622,6 +627,263 @@
         default_workflow_permissions: "write"
       }
     }
+    orgs.newRepo('jdk16u') {
+      allow_merge_commit: true
+      allow_update_branch: false
+      default_branch: "master"
+      delete_branch_on_merge: false
+      dependabot_alerts_enabled: false
+      description: "This repo is an unmodified mirror of source code obtained from OpenJDK. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version that is available at https://adoptium.net."
+      has_issues: false
+      has_projects: false
+      has_wiki: false
+      homepage: "https://adoptium.net"
+      secret_scanning: "disabled"
+      secret_scanning_push_protection: "disabled"
+      web_commit_signoff_required: false
+      workflows+: {
+        enabled: false
+      }
+    }
+    orgs.newRepo('jdk17') {
+      allow_merge_commit: true
+      allow_update_branch: false
+      archived: true
+      default_branch: "master"
+      delete_branch_on_merge: false
+      dependabot_alerts_enabled: false
+      description: "This repo is an unmodified mirror of source code obtained from OpenJDK. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version that is available at https://adoptium.net."
+      has_issues: false
+      has_projects: false
+      has_wiki: false
+      homepage: "https://adoptium.net"
+      secret_scanning: "disabled"
+      secret_scanning_push_protection: "disabled"
+      web_commit_signoff_required: false
+      workflows+: {
+        enabled: false
+      }
+    }
+    orgs.newRepo('jdk17u') {
+      allow_merge_commit: true
+      allow_update_branch: false
+      default_branch: "master"
+      delete_branch_on_merge: false
+      dependabot_alerts_enabled: false
+      description: "This repo is an unmodified mirror of source code obtained from OpenJDK. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version that is available at https://adoptium.net."
+      has_issues: false
+      has_projects: false
+      has_wiki: false
+      homepage: "https://adoptium.net"
+      secret_scanning: "disabled"
+      secret_scanning_push_protection: "disabled"
+      web_commit_signoff_required: false
+      workflows+: {
+        enabled: false
+      }
+    }
+    orgs.newRepo('jdk18') {
+      allow_merge_commit: true
+      allow_update_branch: false
+      archived: true
+      default_branch: "master"
+      delete_branch_on_merge: false
+      dependabot_alerts_enabled: false
+      description: "This repo is an unmodified mirror of source code obtained from OpenJDK. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version that is available at https://adoptium.net."
+      has_issues: false
+      has_projects: false
+      has_wiki: false
+      homepage: "https://adoptium.net"
+      secret_scanning: "disabled"
+      secret_scanning_push_protection: "disabled"
+      web_commit_signoff_required: false
+      workflows+: {
+        enabled: false
+      }
+    }
+    orgs.newRepo('jdk18u') {
+      allow_merge_commit: true
+      allow_update_branch: false
+      default_branch: "master"
+      delete_branch_on_merge: false
+      dependabot_alerts_enabled: false
+      description: "This repo is an unmodified mirror of source code obtained from OpenJDK. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version that is available at https://adoptium.net."
+      has_issues: false
+      has_projects: false
+      has_wiki: false
+      homepage: "https://adoptium.net"
+      secret_scanning: "disabled"
+      secret_scanning_push_protection: "disabled"
+      web_commit_signoff_required: false
+      workflows+: {
+        enabled: false
+      }
+    }
+    orgs.newRepo('jdk19') {
+      allow_merge_commit: true
+      allow_update_branch: false
+      archived: true
+      default_branch: "master"
+      delete_branch_on_merge: false
+      dependabot_alerts_enabled: false
+      description: "This repo is an unmodified mirror of source code obtained from OpenJDK. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version that is available at https://adoptium.net."
+      has_issues: false
+      has_projects: false
+      has_wiki: false
+      homepage: "https://adoptium.net"
+      secret_scanning: "disabled"
+      secret_scanning_push_protection: "disabled"
+      web_commit_signoff_required: false
+      workflows+: {
+        enabled: false
+      }
+    }
+    orgs.newRepo('jdk19u') {
+      allow_merge_commit: true
+      allow_update_branch: false
+      default_branch: "master"
+      delete_branch_on_merge: false
+      dependabot_alerts_enabled: false
+      description: "This repo is an unmodified mirror of source code obtained from OpenJDK. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version that is available at https://adoptium.net."
+      has_issues: false
+      has_projects: false
+      has_wiki: false
+      homepage: "https://adoptium.net"
+      secret_scanning: "disabled"
+      secret_scanning_push_protection: "disabled"
+      web_commit_signoff_required: false
+      workflows+: {
+        enabled: false
+      }
+    }
+    orgs.newRepo('jdk20') {
+      allow_merge_commit: true
+      allow_update_branch: false
+      archived: true
+      default_branch: "master"
+      delete_branch_on_merge: false
+      dependabot_alerts_enabled: false
+      description: "This repo is an unmodified mirror of source code obtained from OpenJDK. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version that is available at https://adoptium.net."
+      has_issues: false
+      has_projects: false
+      has_wiki: false
+      homepage: "https://adoptium.net"
+      secret_scanning: "disabled"
+      secret_scanning_push_protection: "disabled"
+      web_commit_signoff_required: false
+      workflows+: {
+        enabled: false
+      }
+    }
+    orgs.newRepo('jdk20u') {
+      allow_merge_commit: true
+      allow_update_branch: false
+      default_branch: "master"
+      delete_branch_on_merge: false
+      dependabot_alerts_enabled: false
+      description: "This repo is an unmodified mirror of source code obtained from OpenJDK. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version that is available at https://adoptium.net."
+      has_issues: false
+      has_projects: false
+      has_wiki: false
+      homepage: "https://adoptium.net"
+      secret_scanning: "disabled"
+      secret_scanning_push_protection: "disabled"
+      web_commit_signoff_required: false
+      workflows+: {
+        enabled: false
+      }
+    }
+    orgs.newRepo('jdk21') {
+      allow_merge_commit: true
+      allow_update_branch: false
+      default_branch: "master"
+      delete_branch_on_merge: false
+      dependabot_alerts_enabled: false
+      description: "This repo is an unmodified mirror of source code obtained from OpenJDK. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version that is available at https://adoptium.net."
+      has_issues: false
+      has_projects: false
+      has_wiki: false
+      homepage: "https://adoptium.net"
+      secret_scanning: "disabled"
+      secret_scanning_push_protection: "disabled"
+      web_commit_signoff_required: false
+      workflows+: {
+        enabled: false
+      }
+    }
+    orgs.newRepo('jdk21u') {
+      allow_merge_commit: true
+      allow_update_branch: false
+      default_branch: "master"
+      delete_branch_on_merge: false
+      dependabot_alerts_enabled: false
+      description: "This repo is an unmodified mirror of source code obtained from OpenJDK. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version that is available at https://adoptium.net."
+      has_issues: false
+      has_projects: false
+      has_wiki: false
+      homepage: "https://adoptium.net"
+      secret_scanning: "disabled"
+      secret_scanning_push_protection: "disabled"
+      web_commit_signoff_required: false
+      workflows+: {
+        enabled: false
+      }
+    }
+    orgs.newRepo('jdk22') {
+      allow_merge_commit: true
+      allow_update_branch: false
+      default_branch: "master"
+      delete_branch_on_merge: false
+      dependabot_alerts_enabled: false
+      description: "This repo is an unmodified mirror of source code obtained from OpenJDK. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version that is available at https://adoptium.net."
+      has_issues: false
+      has_projects: false
+      has_wiki: false
+      homepage: "https://adoptium.net"
+      secret_scanning: "disabled"
+      secret_scanning_push_protection: "disabled"
+      web_commit_signoff_required: false
+      workflows+: {
+        enabled: false
+      }
+    }
+    orgs.newRepo('jdk8u') {
+      allow_merge_commit: true
+      allow_update_branch: false
+      default_branch: "master"
+      delete_branch_on_merge: false
+      dependabot_alerts_enabled: false
+      description: "This repo is an unmodified mirror of source code obtained from OpenJDK. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version that is available at https://adoptium.net."
+      has_issues: false
+      has_projects: false
+      has_wiki: false
+      homepage: "https://adoptium.net"
+      secret_scanning: "disabled"
+      secret_scanning_push_protection: "disabled"
+      web_commit_signoff_required: false
+      workflows+: {
+        enabled: false
+      }
+    }
+    orgs.newRepo('jdk8u_hg') {
+      allow_merge_commit: true
+      allow_update_branch: false
+      archived: true
+      default_branch: "master"
+      delete_branch_on_merge: false
+      dependabot_alerts_enabled: false
+      description: "This repo is an unmodified mirror of source code obtained from OpenJDK. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version that is available at https://adoptium.net."
+      has_issues: false
+      has_projects: false
+      has_wiki: false
+      homepage: "https://adoptium.net"
+      secret_scanning: "disabled"
+      secret_scanning_push_protection: "disabled"
+      web_commit_signoff_required: false
+      workflows+: {
+        enabled: false
+      }
+    }
     orgs.newRepo('jenkins-helper') {
       allow_update_branch: false
       branch_protection_rules: [
@@ -1035,4 +1297,3 @@
     }
   ]
 }
-};

@netomi netomi merged commit eefb4db into adoptium:main Feb 1, 2024
2 checks passed
@netomi
Copy link
Contributor

netomi commented Feb 1, 2024

change is live. The homepage for the repo has been changed manually, you will also need to reflect that in the config to ensure its not overwritten in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants