-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CI] Add the integration tests to Gitlab CI (#29489)
- Loading branch information
Showing
7 changed files
with
49 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
.integration_tests_deb: | ||
stage: integration_test | ||
needs: ["go_deps", "go_tools_deps"] | ||
image: 486234852809.dkr.ecr.us-east-1.amazonaws.com/ci/datadog-agent-buildimages/deb_x64$DATADOG_AGENT_BUILDIMAGES_SUFFIX:$DATADOG_AGENT_BUILDIMAGES | ||
tags: ["docker-in-docker:amd64"] | ||
before_script: | ||
- !reference [.retrieve_linux_go_deps] | ||
- !reference [.retrieve_linux_go_tools_deps] | ||
|
||
agent_integration_tests: | ||
extends: .integration_tests_deb | ||
# We have capacity issues on the docker-in-docker:amd64 runners for now. | ||
# Setting allow_failure to true to avoid blocking the pipelines. | ||
# Setting the timeout to 30 min and retry to 2 to avoid the job from pending for too long. | ||
allow_failure: true | ||
timeout: 30m | ||
retry: 2 | ||
script: | ||
- inv -e integration-tests --race --remote-docker | ||
|
||
docker_integration_tests: | ||
extends: .integration_tests_deb | ||
script: | ||
- inv -e docker.test | ||
- inv -e docker.integration-tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters