Commit fdcd8823 authored by Abhishek's avatar Abhishek
Browse files

Update .gitlab-ci.yml file

parent 55e00a0b
...@@ -5,9 +5,19 @@ ...@@ -5,9 +5,19 @@
# Container Scanning customization: https://docs.gitlab.com/ee/user/application_security/container_scanning/#customizing-the-container-scanning-settings # Container Scanning customization: https://docs.gitlab.com/ee/user/application_security/container_scanning/#customizing-the-container-scanning-settings
# Note that environment variables can be set in several places # Note that environment variables can be set in several places
# See https://docs.gitlab.com/ee/ci/variables/#cicd-variable-precedence # See https://docs.gitlab.com/ee/ci/variables/#cicd-variable-precedence
# moodle-assignsubmission_dta/.gitlab-ci.yml
stages: stages:
- test - trigger
sast:
stage: test trigger_cota_pipeline:
include: stage: trigger
- template: Security/SAST.gitlab-ci.yml rules:
- changes:
- dta/**
script:
- echo "🔄 Detected changes in DTA — triggering CoTA/cota-infra pipeline via API..."
- |
curl -X POST \
-F token=$COTA_INFRA_TRIGGER_TOKEN \
-F ref=main \
https://transfer.hft-stuttgart.de/api/v4/projects/$(urlencode "CoTA/cota-infra")/trigger/pipeline
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment