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

fix: opensearch and rds tests #164

Merged
merged 57 commits into from
Oct 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
488d65e
wip opensearch
leiicamundi Sep 25, 2024
5fda68a
update readme
leiicamundi Sep 25, 2024
7b08427
add missing sg
leiicamundi Sep 26, 2024
2c5112e
add types
leiicamundi Sep 26, 2024
d286aaa
update opensearch gha
leiicamundi Sep 26, 2024
9104908
integrate opensearch in the actions
leiicamundi Sep 26, 2024
a9e1cda
fix tests path
leiicamundi Sep 26, 2024
bb62073
wip go tests
leiicamundi Sep 26, 2024
4644752
fix
leiicamundi Sep 27, 2024
bb057be
fix go mod
leiicamundi Sep 27, 2024
31cc348
wip irsa os
leiicamundi Sep 27, 2024
9e8d5ed
fine tune default options
leiicamundi Sep 27, 2024
bc772f1
fix default large type
leiicamundi Sep 30, 2024
1a1237b
re-enable idempotency checks for other modules than eks
leiicamundi Sep 30, 2024
1725cd4
fix destroy
leiicamundi Oct 2, 2024
5239e44
re-enable idempotency tests
leiicamundi Oct 2, 2024
9df3d7e
tests: implement opensearch-client for irsa
leiicamundi Oct 2, 2024
f4e712e
update opensearch tests
leiicamundi Oct 3, 2024
32b2222
delete each cluster one by one
leiicamundi Oct 3, 2024
abc4dd3
remove password auth in opensearch
leiicamundi Oct 3, 2024
21f84f1
wip tests
leiicamundi Oct 3, 2024
91ad9cd
update tests
leiicamundi Oct 3, 2024
878e436
update tests
leiicamundi Oct 3, 2024
e6c38d7
update
leiicamundi Oct 3, 2024
121c7ad
fix tests
leiicamundi Oct 3, 2024
e5fdfab
update doc
leiicamundi Oct 3, 2024
a2becea
update readme
leiicamundi Oct 3, 2024
45ab793
update gomod
leiicamundi Oct 3, 2024
00daf7c
Merge branch 'main' into feature/opensearch
leiicamundi Oct 3, 2024
2205807
fix outpout
leiicamundi Oct 3, 2024
c04688c
fix destroy
leiicamundi Oct 3, 2024
9ab1092
update outputs
leiicamundi Oct 4, 2024
a20fc66
fix conditional
leiicamundi Oct 4, 2024
ede3087
fix output
leiicamundi Oct 4, 2024
e1feec3
fix default aurora role creation
leiicamundi Oct 4, 2024
0c0fbbf
fix node groups labels
leiicamundi Oct 4, 2024
a373333
update default labels
leiicamundi Oct 4, 2024
628a6eb
revert Idempotency for EKS
leiicamundi Oct 4, 2024
4f80303
rettriger-ci
leiicamundi Oct 4, 2024
ee987b1
fix tests
leiicamundi Oct 4, 2024
803a5a8
fix domain name
leiicamundi Oct 4, 2024
56a8e79
fix tests
leiicamundi Oct 5, 2024
a6d5a81
rebase on main
leiicamundi Oct 5, 2024
2f96dd0
rebase on main
leiicamundi Oct 5, 2024
be944eb
revert idempotency tests on eks
leiicamundi Oct 5, 2024
251204f
fix: ensure kubeclient is near in time of the associated tests
leiicamundi Oct 7, 2024
941cd67
merge: main
leiicamundi Oct 7, 2024
9b22af3
merge: main
leiicamundi Oct 7, 2024
839d40c
apply suggestions from PR review
leiicamundi Oct 10, 2024
2c690f2
indicates how to retrieve the role arn
leiicamundi Oct 10, 2024
0743538
downscale opensearch instances
leiicamundi Oct 10, 2024
7b2e4ef
Merge branch 'main' into feature/opensearch
leiicamundi Oct 10, 2024
02579aa
fix output and ensure failure
leiicamundi Oct 10, 2024
4de3db4
align instances count with number of AZs
leiicamundi Oct 10, 2024
c99c546
fix tests for rds by removing conflicting curl
leiicamundi Oct 11, 2024
9edb1c7
Merge branch 'main' into feature/opensearch
leiicamundi Oct 11, 2024
95856e0
fix tests opensearch number of nodes
leiicamundi Oct 11, 2024
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
2 changes: 1 addition & 1 deletion modules/fixtures/postgres-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
set -o pipefail

echo "Installing dependencies..."
yum install -y curl postgresql15 unzip awscli-2
yum install -y postgresql15 unzip awscli-2

echo "Creating IRSA db user using admin user"
psql -h $AURORA_ENDPOINT -p $AURORA_PORT "sslmode=require dbname=$AURORA_DB_NAME user=$AURORA_USERNAME password=$AURORA_PASSWORD" \
Expand Down
2 changes: 1 addition & 1 deletion test/src/custom_eks_opensearch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ func (suite *CustomEKSOpenSearchTestSuite) TestCustomEKSAndOpenSearch() {

// Perform assertions on the OpenSearch domain configuration
suite.Assert().Equal(varsConfigOpenSearch["domain_name"].(string), *describeOpenSearchDomainOutput.DomainStatus.DomainName)
suite.Assert().Equal(int32(4), *describeOpenSearchDomainOutput.DomainStatus.ClusterConfig.InstanceCount)
suite.Assert().Equal(int32(3), *describeOpenSearchDomainOutput.DomainStatus.ClusterConfig.InstanceCount)
suite.Assert().Equal(types.OpenSearchPartitionInstanceType("t3.small.search"), describeOpenSearchDomainOutput.DomainStatus.ClusterConfig.InstanceType)
suite.Assert().Equal(varsConfigOpenSearch["vpc_id"].(string), *describeOpenSearchDomainOutput.DomainStatus.VPCOptions.VPCId)

Expand Down
Loading