Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CIVIS-9278] Dogfood quality-gates in the CI #1703

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 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,13 @@ 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_BETA_COMMANDS_ENABLED=true
- export DD_API_KEY=${DD_SDK_SWIFT_TESTING_APIKEY}
- export DD_APP_KEY=${DD_SDK_SWIFT_TESTING_APPLICATION_KEY}
- datadog-ci gate evaluate