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

Adding fips compliant agents to Prerelease on demand workflow #1942

Merged
merged 38 commits into from
Dec 17, 2024

Conversation

nr-dadams
Copy link
Collaborator

@nr-dadams nr-dadams commented Oct 25, 2024

  • Adds build mode field for FIPS/Non FIPS
  • New dockerfile for fips compliant building
  • publishes fips compliant agents with '_fips' naming convention

https://new-relic.atlassian.net/browse/NR-268769

@nr-dadams nr-dadams requested a review from a team October 25, 2024 17:42
.github/workflows/prerelease_linux_on_demand.yml Outdated Show resolved Hide resolved
build/ci.mk Outdated Show resolved Hide resolved
build/upload-schema-linux-deb-fips.yml Outdated Show resolved Hide resolved
cmd/newrelic-infra-ctl/newrelic-infra-ctl.go Outdated Show resolved Hide resolved
cmd/newrelic-infra-ctl/newrelic-infra-ctl-fips.go Outdated Show resolved Hide resolved
@nr-dadams
Copy link
Collaborator Author

Had to make a few optimization changes after talking with @alvarocabanas , but this should be a bit cleaner and building/deploying successfully now. It is ready for another review as needed.

Copy link
Contributor

@alvarocabanas alvarocabanas left a comment

Choose a reason for hiding this comment

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

I left comments for the places we need to change the suffix.

build/goreleaser/linux/centos_7_amd64.yml Outdated Show resolved Hide resolved
build/goreleaser/linux/centos_7_arm.yml Outdated Show resolved Hide resolved
build/goreleaser/linux/centos_7_arm64.yml Outdated Show resolved Hide resolved
build/goreleaser/linux/centos_8_amd64.yml Outdated Show resolved Hide resolved
build/goreleaser/linux/centos_8_arm64.yml Outdated Show resolved Hide resolved
build/upload-schema-linux-rpm-fips.yml Outdated Show resolved Hide resolved
build/upload-schema-linux-rpm-fips.yml Outdated Show resolved Hide resolved
build/upload-schema-linux-targz-fips.yml Outdated Show resolved Hide resolved
build/upload-schema-linux-targz-fips.yml Outdated Show resolved Hide resolved
build/upload-schema-linux-targz-fips.yml Outdated Show resolved Hide resolved
@alvarocabanas alvarocabanas force-pushed the dadams_fips_prerelease branch from 419c7fd to 623fe26 Compare December 9, 2024 12:19
@coveralls
Copy link

coveralls commented Dec 9, 2024

Pull Request Test Coverage Report for Build 12357911032

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.004%) to 57.321%

Files with Coverage Reduction New Missed Lines %
internal/httpapi/httpapi.go 1 74.82%
Totals Coverage Status
Change from base Build 12233936056: -0.004%
Covered Lines: 15358
Relevant Lines: 26793

💛 - Coveralls

alvarocabanas
alvarocabanas previously approved these changes Dec 16, 2024
build/ci.mk Outdated Show resolved Hide resolved
alvarocabanas
alvarocabanas previously approved these changes Dec 16, 2024
alvarocabanas
alvarocabanas previously approved these changes Dec 16, 2024
nr-dadams and others added 25 commits December 17, 2024 09:15
* update goreleaser version

* update empty_folders which is deprecated

* Modified file_name_template to use "newrelic-infra" instead of project-name

---------

Co-authored-by: alvarocabanas <[email protected]>
* add step to test fips binaries for fips compliance

* add fips test action to linux prerelease workflow
@alvarocabanas alvarocabanas merged commit 1854f18 into master Dec 17, 2024
24 checks passed
@alvarocabanas alvarocabanas deleted the dadams_fips_prerelease branch December 17, 2024 08:57
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.

5 participants