Skip to content

Commit

Permalink
incident-28477: update CentOS AMI (#27197)
Browse files Browse the repository at this point in the history
Co-authored-by: pducolin <[email protected]>
  • Loading branch information
2 people authored and CelianR committed Jul 2, 2024
1 parent 03b1c95 commit 2c78463
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .gitlab/common/test_infra_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ variables:
# and check the job creating the image to make sure you have the right SHA prefix
TEST_INFRA_DEFINITIONS_BUILDIMAGES_SUFFIX: ""
# Make sure to update test-infra-definitions version in go.mod as well
TEST_INFRA_DEFINITIONS_BUILDIMAGES: f0aa9d321bac
TEST_INFRA_DEFINITIONS_BUILDIMAGES: 992f221157aa
3 changes: 3 additions & 0 deletions flakes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ test/new-e2e/tests/containers:
- TestECSSuite/TestCPU/metric___container.cpu.usage{^ecs_container_name:stress-ng$}
- TestEKSSuite/TestCPU/metric___container.cpu.usage{^kube_deployment:stress-ng$,^kube_namespace:workload-cpustress$}
- TestKindSuite/TestCPU/metric___container.cpu.usage{^kube_deployment:stress-ng$,^kube_namespace:workload-cpustress$}

test/new-e2e/tests/installer:
- TestPackages/upgrade_scenario_ubuntu_22_04_x86_64/TestUpgradeSuccessful
2 changes: 1 addition & 1 deletion test/kitchen/platforms.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"ec2": {
"x86_64": {
"centos-79": "ami-0db0376aef6830be3",
"centos-79": "ami-036de472bb001ae9c",
"rhel-86": "ami-031eff1ae75bb87e4",
"rocky-92": "ami-08f362c39d03a4eb5"
},
Expand Down
9 changes: 5 additions & 4 deletions test/new-e2e/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ require (
// `TEST_INFRA_DEFINITIONS_BUILDIMAGES` matches the commit sha in the module version
// Example: github.com/DataDog/test-infra-definitions v0.0.0-YYYYMMDDHHmmSS-0123456789AB
// => TEST_INFRA_DEFINITIONS_BUILDIMAGES: 0123456789AB
github.com/DataDog/test-infra-definitions v0.0.0-20240627111811-f0aa9d321bac
github.com/DataDog/test-infra-definitions v0.0.0-20240701145741-992f221157aa
github.com/aws/aws-sdk-go-v2 v1.30.0
github.com/aws/aws-sdk-go-v2/config v1.27.19
github.com/aws/aws-sdk-go-v2/service/ec2 v1.164.2
Expand All @@ -42,7 +42,7 @@ require (
github.com/google/uuid v1.6.0
github.com/kr/pretty v0.3.1
github.com/pkg/sftp v1.13.6
github.com/pulumi/pulumi/sdk/v3 v3.120.0
github.com/pulumi/pulumi/sdk/v3 v3.121.0
github.com/samber/lo v1.39.0
github.com/sethvargo/go-retry v0.2.4
github.com/stretchr/testify v1.9.0
Expand Down Expand Up @@ -185,7 +185,7 @@ require (
// So, do not upgrade pulumi-random to v4.14.0 or above before migration to GO 1.21.
github.com/pulumi/pulumi-random/sdk/v4 v4.16.0 // indirect
github.com/pulumi/pulumi-tls/sdk/v4 v4.11.1 // indirect
github.com/pulumiverse/pulumi-time/sdk v0.0.16 // indirect
github.com/pulumiverse/pulumi-time/sdk v0.0.17 // indirect
github.com/rivo/uniseg v0.4.7 // indirect
github.com/rogpeppe/go-internal v1.12.0 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
Expand Down Expand Up @@ -241,14 +241,15 @@ require (
require (
github.com/DataDog/datadog-agent/pkg/util/optional v0.55.0-rc.3
github.com/mitchellh/mapstructure v1.5.0
github.com/pulumi/pulumi-aws/sdk/v6 v6.41.0
github.com/pulumi/pulumi-aws/sdk/v6 v6.25.0
github.com/pulumi/pulumi-awsx/sdk/v2 v2.5.0
github.com/pulumi/pulumi-eks/sdk/v2 v2.2.1
github.com/pulumi/pulumi-kubernetes/sdk/v4 v4.13.1
github.com/xeipuuv/gojsonschema v1.2.0
)

require (
github.com/BurntSushi/toml v1.2.1 // indirect
github.com/DataDog/datadog-agent/comp/netflow/payload v0.55.0-rc.3 // indirect
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
github.com/google/pprof v0.0.0-20221118152302-e6195bd50e26 // indirect
Expand Down
18 changes: 10 additions & 8 deletions test/new-e2e/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/new-e2e/tests/agent-platform/platforms/platforms.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"centos": {
"x86_64": {
"centos-610": "ami-0506f01ccb6dddeda",
"centos-79": "ami-0db0376aef6830be3",
"centos-79": "ami-036de472bb001ae9c",
"rhel-86": "ami-031eff1ae75bb87e4",
"rocky-92": "ami-08f362c39d03a4eb5",
"rhel-86-fips": "ami-0d0fb96b595c56e03"
Expand Down
3 changes: 0 additions & 3 deletions test/new-e2e/tests/installer/package_agent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (
"fmt"
"path/filepath"

"github.com/DataDog/datadog-agent/pkg/util/testutil/flake"
awshost "github.com/DataDog/datadog-agent/test/new-e2e/pkg/environments/aws/host"
"github.com/DataDog/datadog-agent/test/new-e2e/tests/installer/host"
e2eos "github.com/DataDog/test-infra-definitions/components/os"
Expand Down Expand Up @@ -101,8 +100,6 @@ func (s *packageAgentSuite) TestUpgrade_AgentDebRPM_to_OCI() {

// TestUpgrade_Agent_OCI_then_DebRpm agent deb/rpm install while OCI one is installed
func (s *packageAgentSuite) TestUpgrade_Agent_OCI_then_DebRpm() {
// incident-28477
flake.Mark(s.T())
// install OCI agent
s.RunInstallScript(envForceInstall("datadog-agent"))
defer s.Purge()
Expand Down

0 comments on commit 2c78463

Please sign in to comment.