]> source.dussan.org Git - sonarqube.git/commitdiff
BUILD-1351 Remove dogfood references
authorMalena Ebert <63863184+malena-ebert-sonarsource@users.noreply.github.com>
Thu, 14 Apr 2022 11:17:46 +0000 (13:17 +0200)
committersonartech <sonartech@sonarsource.com>
Thu, 14 Apr 2022 20:03:30 +0000 (20:03 +0000)
.cirrus.yml
README.md
build.gradle

index 07309701d3c5b5d31775d653b6d13698b9eef686..1746b98429ce1c0e417bed1d0c4107b383399a35 100644 (file)
@@ -27,7 +27,7 @@ env:
   # (example of error: "Hard resetting to c968ecaf7a1942dacecd78480b3751ac74d53c33...Failed to force reset to c968ecaf7a1942dacecd78480b3751ac74d53c33: object not found!")
   CIRRUS_CLONE_DEPTH: 50
 
-auto_cancellation: $CIRRUS_BRANCH != 'master' && $CIRRUS_BRANCH !=~ 'branch.*' && $CIRRUS_BRANCH != 'dogfood-on-next'
+auto_cancellation: $CIRRUS_BRANCH != 'master' && $CIRRUS_BRANCH !=~ 'branch.*'
 
 only_nightly_depending_on_build_template: &ONLY_NIGHTLY_DEPENDING_ON_BUILD_TEMPLATE
   depends_on: build
@@ -42,15 +42,11 @@ only_upon_sql_changes_or_nightly_depending_on_build_template: &ONLY_UPON_SQL_CHA
     changesInclude('server/sonar-db-dao/**/*Mapper.xml', 'server/sonar-db-migration/**/DbVersion*.java', 'server/sonar-db-dao/**/*Dao.java')
 
 only_default_branches_template: &ONLY_DEFAULT_BRANCHES_TEMPLATE
-  only_if: >-
-    $CIRRUS_BRANCH !=~ "dogfood/.*" &&
-    $CIRRUS_BRANCH != "public_master"
+  only_if: $CIRRUS_BRANCH != "public_master"
 
 only_default_depending_on_build_template: &ONLY_DEFAULT_DEPENDING_ON_BUILD_TEMPLATE
   depends_on: build
-  only_if: >-
-    $CIRRUS_BRANCH !=~ "dogfood/.*" &&
-    $CIRRUS_BRANCH != "public_master"
+  only_if: $CIRRUS_BRANCH != "public_master"
 
 docker_build_container_template: &GKE_CONTAINER_TEMPLATE
   dockerfile: private/docker/Dockerfile-build
@@ -502,7 +498,7 @@ deploy_docs_task:
 
 package_docker_task:
   depends_on: promote
-  only_if: $CIRRUS_BRANCH == 'dogfood-on-next' || $CIRRUS_BRANCH == 'master'
+  only_if: $CIRRUS_BRANCH == 'master'
   gce_instance:
     image_project: sonarqube-team
     image_family: docker-builder
index 2e2769b044bb29e534185fce0d706f3d929b70ba..4aa35a6181e87bc78f57affa9ec42d8abdb7d942 100644 (file)
--- a/README.md
+++ b/README.md
@@ -15,7 +15,7 @@ Links
 * [SonarSource](https://www.sonarsource.com), author of SonarQube
 * [Issue tracking](https://jira.sonarsource.com/browse/SONAR/), read-only. Only SonarSourcers can create tickets.
 * [Responsible Disclosure](https://community.sonarsource.com/t/responsible-vulnerability-disclosure/9317)
-* [Dogfood](https://next.sonarqube.com/sonarqube) instance of the next SonarQube version
+* [Next](https://next.sonarqube.com/sonarqube) instance of the next SonarQube version
 
 Have Question or Feedback?
 --------------------------
index c356e8f8e3a5654405597b1a789464175d3f4f24..cd7aa7aeebb3cdefdc8071623264dfc11c30a16b 100644 (file)
@@ -535,7 +535,7 @@ subprojects {
     useInMemoryPgpKeys(signingKeyId, signingKey, signingPassword)
     required {
       def branch = System.getenv()["GITHUB_BRANCH"]
-      return (branch in ['master', 'dogfood-on-next'] || branch ==~ 'branch-[\\d.]+') &&
+      return (branch in ['master'] || branch ==~ 'branch-[\\d.]+') &&
              gradle.taskGraph.hasTask(":artifactoryPublish")
     }
     sign publishing.publications
@@ -545,7 +545,7 @@ subprojects {
     onlyIf {
       def branch = System.getenv()["GITHUB_BRANCH"]
       return !artifactoryPublish.skip &&
-             (branch in ['master', 'dogfood-on-next'] || branch ==~ 'branch-[\\d.]+') &&
+             (branch in ['master'] || branch ==~ 'branch-[\\d.]+') &&
              gradle.taskGraph.hasTask(":artifactoryPublish")
     }
   }