]> source.dussan.org Git - sonarqube.git/commitdiff
[NO-JIRA] Reduce cirrus task name length
authorPhilippe Perrin <philippe.perrin@sonarsource.com>
Thu, 25 Aug 2022 13:27:07 +0000 (15:27 +0200)
committersonartech <sonartech@sonarsource.com>
Fri, 26 Aug 2022 20:03:24 +0000 (20:03 +0000)
.cirrus.yml

index 9917ddc03ae3868dcc092ac1b9df50ed1cf182cd..cc04d7253289d7a86732861be2eea364137b63c3 100644 (file)
@@ -156,7 +156,7 @@ build_task:
     - ./private/cirrus/cirrus-build.sh
   <<: *DEFAULT_ARTIFACTS_TEMPLATE
 
-yarn_lint-report-ci_task:
+yarn_lint_task:
   <<: *SKIP_PUBLIC_BRANCHES_TEMPLATE
   <<: *GRADLE_CACHE_TEMPLATE
   <<: *YARN_CACHE_TEMPLATE
@@ -169,7 +169,20 @@ yarn_lint-report-ci_task:
     - ./private/cirrus/cirrus-yarn-lint-report.sh
   <<: *DEFAULT_ARTIFACTS_TEMPLATE
 
-yarn_validate-ci_task:
+yarn_check_task:
+  <<: *SKIP_PUBLIC_BRANCHES_TEMPLATE
+  <<: *GRADLE_CACHE_TEMPLATE
+  <<: *YARN_CACHE_TEMPLATE
+  gke_container:
+    <<: *GKE_CONTAINER_TEMPLATE
+    cpu: 5
+    memory: 6Gb
+  script: |
+    ./private/cirrus/cirrus-env.sh YARN
+    gradle yarn_check-ci --profile
+  <<: *DEFAULT_ARTIFACTS_TEMPLATE
+
+yarn_validate_task:
   <<: *SKIP_PUBLIC_BRANCHES_TEMPLATE
   <<: *GRADLE_CACHE_TEMPLATE
   <<: *YARN_CACHE_TEMPLATE
@@ -203,8 +216,8 @@ validate_task:
   <<: *ESLINT_REPORT_CACHE_TEMPLATE
   <<: *JUNIT_REPORT_CACHE_TEMPLATE
   depends_on:
-    - yarn_validate-ci
-    - yarn_lint-report-ci
+    - yarn_validate
+    - yarn_lint
     - junit
   gke_container:
     <<: *GKE_CONTAINER_TEMPLATE
@@ -217,19 +230,6 @@ validate_task:
     - ./private/cirrus/cirrus-validate.sh
   <<: *DEFAULT_ARTIFACTS_TEMPLATE
 
-yarn_check-ci_task:
-  <<: *SKIP_PUBLIC_BRANCHES_TEMPLATE
-  <<: *GRADLE_CACHE_TEMPLATE
-  <<: *YARN_CACHE_TEMPLATE
-  gke_container:
-    <<: *GKE_CONTAINER_TEMPLATE
-    cpu: 5
-    memory: 6Gb
-  script: |
-    ./private/cirrus/cirrus-env.sh YARN
-    gradle yarn_check-ci --profile
-  <<: *DEFAULT_ARTIFACTS_TEMPLATE
-
 qa_task:
   <<: *SKIP_PUBLIC_BRANCHES_TEMPLATE
   <<: *BUILD_DEPENDANT_TASK_TEMPLATE