Skip to content

Commit

Permalink
Merge branch 'main' into tbavelier/add_generic_resource_monitors
Browse files Browse the repository at this point in the history
  • Loading branch information
tbavelier authored Feb 13, 2025
2 parents 5111ca5 + de7790d commit 63c5149
Show file tree
Hide file tree
Showing 237 changed files with 3,634 additions and 3,549 deletions.
9 changes: 4 additions & 5 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
# and another the rest of the directory.

# All your base
* @DataDog/container-ecosystems
* @DataDog/container-ecosystems

# Dev Container
/.devcontainer @DataDog/container-ecosystems @DataDog/container-platform

# Documentation
README.md @DataDog/documentation @DataDog/container-ecosystems
/docs/ @DataDog/documentation @DataDog/container-ecosystems
README.md @DataDog/documentation @DataDog/container-ecosystems
/docs/ @DataDog/documentation @DataDog/container-ecosystems


# Features owners
Expand All @@ -21,5 +21,4 @@ README.md @DataDog/documentation @DataDog/container-ecosystems
/internal/controller/datadogagent/feature/helmcheck/* @DataDog/container-integrations


/api/datadoghq/v1alpha2/datadogpodautoscaler_types.go @DataDog/container-autoscaling
/api/datadoghq/v1alpha1/datadogpodautoscaler_types.go @DataDog/container-autoscaling
/api/**/datadogpodautoscaler*.go @DataDog/container-autoscaling
43 changes: 40 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,25 @@ trigger_internal_operator_image:
branch: master
strategy: depend
variables:
IMAGE_VERSION: tmpl-v1
IMAGE_VERSION: tmpl-v2
IMAGE_NAME: $PROJECTNAME
TMPL_SRC_IMAGE: v${CI_PIPELINE_ID}-${CI_COMMIT_SHORT_SHA}
RELEASE_TAG: ${CI_COMMIT_REF_SLUG}
BUILD_TAG: ${CI_COMMIT_REF_SLUG}
RELEASE_STAGING: "true"
RELEASE_PROD: "true"

trigger_internal_operator_image_fips:
stage: release
rules:
- if: $CI_COMMIT_TAG
- when: never
trigger:
project: DataDog/images
branch: master
strategy: depend
variables:
IMAGE_VERSION: tmpl-v2-fips
IMAGE_NAME: $PROJECTNAME
TMPL_SRC_IMAGE: v${CI_PIPELINE_ID}-${CI_COMMIT_SHORT_SHA}
RELEASE_TAG: ${CI_COMMIT_REF_SLUG}
Expand Down Expand Up @@ -340,7 +358,7 @@ trigger_internal_operator_nightly_image:
branch: master
strategy: depend
variables:
IMAGE_VERSION: tmpl-v1
IMAGE_VERSION: tmpl-v2
IMAGE_NAME: $PROJECTNAME
TMPL_SRC_IMAGE: v${CI_PIPELINE_ID}-${CI_COMMIT_SHORT_SHA}
# Trigger a nightly images build that sets the RELEASE_TAG and BUILD_TAG
Expand Down Expand Up @@ -378,7 +396,26 @@ trigger_custom_operator_image_staging:
branch: master
strategy: depend
variables:
IMAGE_VERSION: tmpl-v1
IMAGE_VERSION: tmpl-v2
IMAGE_NAME: $PROJECTNAME
TMPL_SRC_IMAGE: v${CI_PIPELINE_ID}-${CI_COMMIT_SHORT_SHA}
RELEASE_TAG: ${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA}
BUILD_TAG: ${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA}
RELEASE_STAGING: "true"
RELEASE_PROD: "false"

trigger_custom_operator_image_fips_staging:
stage: release
rules:
- if: $PUSH_IMAGES_TO_STAGING == 'true'
when: manual
- when: never
trigger:
project: DataDog/images
branch: master
strategy: depend
variables:
IMAGE_VERSION: tmpl-v2-fips
IMAGE_NAME: $PROJECTNAME
TMPL_SRC_IMAGE: v${CI_PIPELINE_ID}-${CI_COMMIT_SHORT_SHA}
RELEASE_TAG: ${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA}
Expand Down
9 changes: 6 additions & 3 deletions .golangci.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@

[linters-settings.gci]
sections = [
"prefix(github.com/DataDog/datadog-operator)"
"standard",
"default",
"prefix(github.com/DataDog/datadog-operator)",
"blank",
"dot",
]

[linters-settings.godot]
Expand Down Expand Up @@ -55,7 +59,6 @@
"paralleltest",
"nestif",
"exhaustive",
"gci",
"wsl",
"godox",
"godot",
Expand Down Expand Up @@ -105,4 +108,4 @@
".cache",
"go/pkg/mod",
"pkg/mod",
]
]
Loading

0 comments on commit 63c5149

Please sign in to comment.