Skip to content

Commit

Permalink
Implement old Argo test with new-e2e (#29254)
Browse files Browse the repository at this point in the history
Co-authored-by: Lénaïc Huard <L3n41c@users.noreply.github.com>
  • Loading branch information
KevinFairise2 and L3n41c authored Sep 25, 2024
1 parent 3ca96b6 commit cdc6b1f
Show file tree
Hide file tree
Showing 80 changed files with 329 additions and 7,336 deletions.
5 changes: 0 additions & 5 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@
/.gitlab/common/test_infra_version.yml @DataDog/agent-devx-loops @DataDog/agent-devx-infra

/.gitlab/e2e/e2e.yml @DataDog/container-integrations @DataDog/agent-devx-loops
/.gitlab/e2e_k8s/e2e_k8s.yml @DataDog/container-integrations @DataDog/agent-devx-loops
/.gitlab/e2e/install_packages @DataDog/agent-delivery
/.gitlab/container_build/fakeintake.yml @DataDog/agent-e2e-testing @DataDog/agent-devx-loops
/.gitlab/binary_build/fakeintake.yml @DataDog/agent-e2e-testing @DataDog/agent-devx-loops
Expand Down Expand Up @@ -565,10 +564,6 @@
/test/ @DataDog/agent-devx-loops
/test/benchmarks/ @DataDog/agent-metrics-logs
/test/benchmarks/kubernetes_state/ @DataDog/container-integrations
/test/e2e/ @DataDog/container-integrations @DataDog/agent-security
/test/e2e/cws-tests/ @DataDog/agent-security
/test/e2e/argo-workflows/otlp-workflow.yaml @DataDog/opentelemetry
/test/e2e/containers/otlp_sender/ @DataDog/opentelemetry
/test/integration/ @DataDog/container-integrations
/test/integration/serverless @DataDog/serverless @Datadog/serverless-aws
/test/integration/serverless_perf @DataDog/serverless @Datadog/serverless-aws
Expand Down
10 changes: 9 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ include:
- .gitlab/deps_fetch/deps_fetch.yml
- .gitlab/dev_container_deploy/include.yml
- .gitlab/e2e/e2e.yml
- .gitlab/e2e_k8s/e2e_k8s.yml
- .gitlab/e2e_install_packages/include.yml
- .gitlab/e2e_pre_test/e2e_pre_test.yml
- .gitlab/functional_test/include.yml
Expand Down Expand Up @@ -1034,6 +1033,15 @@ workflow:
- when: manual
allow_failure: true

.on_cspm_or_e2e_changes:
- !reference [.on_e2e_main_release_or_rc]
- changes:
paths:
- pkg/security/**/*
- test/new-e2e/tests/cspm/**/* #TODO: Add other paths that should trigger the execution of CSPM e2e tests
compare_to: main # TODO: use a variable, when this is supported https://gitlab.com/gitlab-org/gitlab/-/issues/369916
when: on_success

.on_windows_systemprobe_or_e2e_changes:
- !reference [.on_e2e_main_release_or_rc]
- changes:
Expand Down
13 changes: 13 additions & 0 deletions .gitlab/e2e/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,19 @@ new-e2e-package-signing-suse-a7-x86_64:
- .new-e2e_package_signing
rules: !reference [.on_default_new_e2e_tests]

new-e2e-cspm:
extends: .new_e2e_template
rules:
- !reference [.on_cspm_or_e2e_changes]
- !reference [.manual]
needs:
- !reference [.needs_new_e2e_template]
- qa_agent
- qa_dca
variables:
TARGETS: ./tests/cspm
TEAM: cspm

generate-flakes-finder-pipeline:
image: 486234852809.dkr.ecr.us-east-1.amazonaws.com/ci/datadog-agent-buildimages/deb_x64$DATADOG_AGENT_BUILDIMAGES_SUFFIX:$DATADOG_AGENT_BUILDIMAGES
stage: e2e
Expand Down
70 changes: 0 additions & 70 deletions .gitlab/e2e_k8s/e2e_k8s.yml

This file was deleted.

3 changes: 0 additions & 3 deletions tasks/modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,9 +283,6 @@ def dependency_path(self, agent_version):
"pkg/util/uuid": GoModule("pkg/util/uuid", independent=True),
"pkg/util/winutil": GoModule("pkg/util/winutil", independent=True, used_by_otel=True),
"pkg/version": GoModule("pkg/version", independent=True, used_by_otel=True),
"test/e2e/containers/otlp_sender": GoModule(
"test/e2e/containers/otlp_sender", condition=lambda: False, should_tag=False
),
"test/fakeintake": GoModule("test/fakeintake", independent=True),
"test/new-e2e": GoModule(
"test/new-e2e",
Expand Down
122 changes: 0 additions & 122 deletions test/e2e/README.md

This file was deleted.

121 changes: 0 additions & 121 deletions test/e2e/argo-workflows/cspm-workflow.yaml

This file was deleted.

Loading

0 comments on commit cdc6b1f

Please sign in to comment.