-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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(chore): Orchestrate test binary and docker compose files to report coverage for integration tests #8494
Conversation
I think there is an issue with the compose file somewhere ... the first ACL curl test is failing. I will try to make a fix on this PR branch shortly. |
(cherry picked from commit 9e12585)
No, issue was in workflow where I forgot to remove See the logs:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look good. Two Tests are still in progress. Once tests pass, you can get this in
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing this... @anurags92! This is great.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
https://coveralls.io/jobs/111100282 <- this is where the results |
## Problem Currently our CI runs against main. We would like to run CI against our slash branch also. ## Solution In order for CI to run on release/v21.03-slash we must bring over all the latest changes we made to our main branch. This is work going back a few months, hence the large number of changes. Going forward we should keep CI/CD related changes on release branches and main in harmony. ## Steps: ``` git checkout release/v21.03-slash git checkout main -- Makefile git checkout main -- dgraph/Makefile git checkout main -- .github git checkout main -- .go-version git checkout main -- t git checkout main -- tlstest/mtls_internal/tls git checkout main -- graphql/e2e/custom_logic/cmd/Dockerfile git checkout main -- systest/ldbc git rm .github/workflows/{main.yml,golanglintci-lint.yml,label.yml} ``` Bring in coverage changes from #8494 in testutil/{docker.go,bulk.go}, bring in updated dockercompose files (with coverage variable), and coverage entrypoint ## Todo #8277
Problem
Coverall is unable to capture code coverage without binary tooling
Solution
PR builds on @kevinmingtarja 's work in #8450. It adds environment variables to docker compose files so that we can run containers with and without coverage mode turned on.