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

ci: add barebone e2e tests with basic awslogs scenario #66

Merged
merged 1 commit into from
Sep 15, 2023
Merged

Conversation

ningziwen
Copy link
Member

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@ningziwen ningziwen force-pushed the ziwen-e2e branch 30 times, most recently from 730654a to ee87d06 Compare September 14, 2023 17:54
@ningziwen ningziwen force-pushed the ziwen-e2e branch 10 times, most recently from a031d57 to 2abb022 Compare September 14, 2023 21:00
@ningziwen ningziwen changed the title test: add barebone e2e tests for awslogs ci: add barebone e2e tests with basic awslogs scenario Sep 14, 2023
@ningziwen ningziwen marked this pull request as ready for review September 14, 2023 21:02
@ningziwen ningziwen force-pushed the ziwen-e2e branch 4 times, most recently from 335eb9a to bc057f7 Compare September 14, 2023 21:44
Copy link
Member

@austinvazquez austinvazquez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super exciting PR. The local collector for AWS CW logs is really cool. Left some feedback but overall the direction is great.

.github/workflows/ci.yaml Outdated Show resolved Hide resolved
.github/workflows/ci.yaml Outdated Show resolved Hide resolved
e2e/awslogs_test.go Outdated Show resolved Hide resolved
e2e/fluentd_test.go Outdated Show resolved Hide resolved
go.mod Outdated Show resolved Hide resolved
scripts/install-containerd Outdated Show resolved Hide resolved
scripts/install-containerd Outdated Show resolved Hide resolved
e2e/splunk_test.go Outdated Show resolved Hide resolved
.github/workflows/ci.yaml Outdated Show resolved Hide resolved
.github/workflows/ci.yaml Outdated Show resolved Hide resolved
@ningziwen ningziwen merged commit 9ef7f1f into main Sep 15, 2023
@ningziwen ningziwen deleted the ziwen-e2e branch September 15, 2023 22:38
Comment on lines +30 to +36
.PHONY: test-e2e
test-e2e:
go test -timeout 30m ./e2e -test.v -ginkgo.v --binary "$(AWS_CONTAINERD_LOGGERS_BINARY)"

.PHONY: test-e2e-for-awslogs
test-e2e:
go test -timeout 30m ./e2e -test.v -ginkgo.v --binary "$(AWS_CONTAINERD_LOGGERS_BINARY)" --log-driver "awslogs"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these rules are duplicate, did you mean for the second to bee test-e2e-awslogs?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah will fix in a separated PR.

ningziwen added a commit that referenced this pull request Sep 16, 2023
*Issue #, if available:*

*Description of changes:*

By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice.

Signed-off-by: Ziwen Ning <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants