Skip to content

Commit

Permalink
[CIVIS-9278] Dogfood quality-gates in the CI
Browse files Browse the repository at this point in the history
This patch adds quality gates to the CI. All rules will be non-blocking
  • Loading branch information
ManuelPalenzuelaDD committed Feb 29, 2024
1 parent 95a147a commit bd4a37c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ stages:
- info
- lint
- test
- gate

ENV info:
stage: info
Expand Down Expand Up @@ -84,3 +85,12 @@ SDK integration tests (iOS):
- ./tools/config/generate-http-server-mock-config.sh
- xcodebuild -workspace "$TEST_WORKSPACE" -destination "$TEST_DESTINATION" -scheme "IntegrationScenarios" -testPlan DatadogIntegrationTests test | xcbeautify
- xcodebuild -workspace "$TEST_WORKSPACE" -destination "$TEST_DESTINATION" -scheme "IntegrationScenarios" -testPlan DatadogCrashReportingIntegrationTests test | xcbeautify

Gate:
stage: gate
allow_failure: true
script:
- curl -L --fail "https://github.com/DataDog/datadog-ci/releases/latest/download/datadog-ci_linux-x64" --output "/usr/local/bin/datadog-ci" && chmod +x /usr/local/bin/datadog-ci
- export DD_API_KEY=${DD_SDK_SWIFT_TESTING_APIKEY}
- export DD_APP_KEY=${DD_SDK_SWIFT_TESTING_APPLICATION_KEY}
- datadog-ci gate evaluate

0 comments on commit bd4a37c

Please sign in to comment.