From 75fe45a099bbe178e09bfe8dd78cc225e7c9e0d6 Mon Sep 17 00:00:00 2001
From: Nick Malcolm <nmalcolm@gitlab.com>
Date: Sun, 12 May 2024 23:30:03 +0000
Subject: [PATCH] Remove depSASTer triggered pipeline

---
 .gitlab-ci.yml                           |  1 -
 .gitlab/ci/rules.gitlab-ci.yml           | 11 -----------
 .gitlab/ci/static-analysis.gitlab-ci.yml | 10 ----------
 3 files changed, 22 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 66283434c5f4d..ca46e7c7bb515 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -241,7 +241,6 @@ variables:
 
   # CI jobs behavior can be changed by changing the value of these variables in the project's CI/CD variables
   AVERAGE_KNAPSACK_REPORT: "true"
-  ENABLE_DEPSASTER: "true"
   ENABLE_DEPSCORE: "true"
   CACHE_ASSETS_AS_PACKAGE: "true"
   REUSE_FRONTEND_FIXTURES_ENABLED: "true"
diff --git a/.gitlab/ci/rules.gitlab-ci.yml b/.gitlab/ci/rules.gitlab-ci.yml
index 92f84f69b44a7..9226405569293 100644
--- a/.gitlab/ci/rules.gitlab-ci.yml
+++ b/.gitlab/ci/rules.gitlab-ci.yml
@@ -2530,17 +2530,6 @@
     - <<: *if-default-refs
       changes: *code-backstage-qa-patterns
 
-.static-analysis:rules:trigger-depsaster:
-  rules:
-    - if: "$ENABLE_DEPSASTER != 'true'"
-      when: never
-    - <<: *if-fork-merge-request
-      when: never
-    - <<: *if-not-ee
-      when: never
-    - <<: *if-merge-request
-      changes: ["**/Gemfile.checksum"]
-
 .semgrep-appsec-custom-rules:rules:
   rules:
     - <<: *if-not-ee
diff --git a/.gitlab/ci/static-analysis.gitlab-ci.yml b/.gitlab/ci/static-analysis.gitlab-ci.yml
index 879b3bffd3b8e..b8614e1944334 100644
--- a/.gitlab/ci/static-analysis.gitlab-ci.yml
+++ b/.gitlab/ci/static-analysis.gitlab-ci.yml
@@ -243,16 +243,6 @@ ping-appsec-for-sast-findings:
     - apk add ruby
     - ruby scripts/process_custom_semgrep_results.rb
 
-trigger-depsaster:
-  extends: .static-analysis:rules:trigger-depsaster
-  stage: lint
-  variables:
-    MERGE_REQUEST_PROJECT_ID: $CI_MERGE_REQUEST_PROJECT_ID
-    MERGE_REQUEST_IID: $CI_MERGE_REQUEST_IID
-  trigger:
-    project: "gitlab-com/gl-security/product-security/appsec/tooling/depsaster"
-  allow_failure: true
-
 ping-appsec-for-dependency-review:
   stage: lint
   needs: []
-- 
GitLab