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

Make + CircleCI for Code Generation #1433

Merged
merged 1 commit into from
Oct 30, 2020
Merged

Make + CircleCI for Code Generation #1433

merged 1 commit into from
Oct 30, 2020

Conversation

keitwb
Copy link
Contributor

@keitwb keitwb commented Oct 30, 2020

This adds a make target 'generate' that runs 'go generate' for all
modules.

It also adds a circle CI check under 'lint' that makes sure the
generated modules are up to date.

@keitwb keitwb requested a review from a team October 30, 2020 15:48
Copy link
Contributor

@jrcamp jrcamp left a comment

Choose a reason for hiding this comment

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

Thanks for adding

codegen.go Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Oct 30, 2020

Codecov Report

Merging #1433 into master will increase coverage by 1.37%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1433      +/-   ##
==========================================
+ Coverage   87.43%   88.80%   +1.37%     
==========================================
  Files         340      341       +1     
  Lines       16602    16678      +76     
==========================================
+ Hits        14516    14811     +295     
+ Misses       1631     1402     -229     
- Partials      455      465      +10     
Flag Coverage Δ
integration 70.80% <ø> (?)
unit 87.43% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
internal/common/testing/container/container.go 73.68% <0.00%> (ø)
receiver/jmxreceiver/receiver.go 94.73% <0.00%> (+10.52%) ⬆️
receiver/dockerstatsreceiver/docker.go 92.30% <0.00%> (+39.05%) ⬆️
receiver/dockerstatsreceiver/receiver.go 96.82% <0.00%> (+49.20%) ⬆️
receiver/jmxreceiver/subprocess/subprocess.go 96.52% <0.00%> (+73.61%) ⬆️
receiver/redisreceiver/receiver.go 87.50% <0.00%> (+87.50%) ⬆️
receiver/redisreceiver/client.go 100.00% <0.00%> (+100.00%) ⬆️
receiver/redisreceiver/factory.go 100.00% <0.00%> (+100.00%) ⬆️
...eceiver/jmxreceiver/subprocess/subprocess_linux.go 100.00% <0.00%> (+100.00%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d54c5d5...6b1a42b. Read the comment docs.

This adds a make target 'generate' that runs 'go generate' for all
modules.

It also adds a circle CI check under 'lint' that makes sure the
generated modules are up to date.
@bogdandrutu bogdandrutu merged commit 4a91354 into open-telemetry:master Oct 30, 2020
@bogdandrutu bogdandrutu deleted the codegen branch October 30, 2020 18:54
bogdandrutu pushed a commit that referenced this pull request Nov 1, 2020
bogdandrutu added a commit that referenced this pull request Nov 1, 2020
@bogdandrutu bogdandrutu mentioned this pull request Nov 5, 2020
bogdandrutu pushed a commit that referenced this pull request Nov 6, 2020
This adds a make target 'generate' that runs 'go generate' for all
modules.

It also adds a circle CI check under 'lint' that makes sure the
generated modules are up to date.
dyladan referenced this pull request in dynatrace-oss-contrib/opentelemetry-collector-contrib Jan 29, 2021
ljmsc referenced this pull request in ljmsc/opentelemetry-collector-contrib Feb 21, 2022
Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.33.0 to 1.34.1.
- [Release notes](https://github.com/golangci/golangci-lint/releases)
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md)
- [Commits](golangci/golangci-lint@v1.33.0...v1.34.1)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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.

4 participants