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(ci): update build_deploy to correctly generate sc tagged images #2240

Conversation

casey-williams-rh
Copy link
Contributor

Overview

This update changes the following to properly generate the SC IMAGE TAG when building off of the security-compliance branch.

Secure Coding Practices Checklist GitHub Link

Secure Coding Checklist

  • Input Validation
  • Output Encoding
  • Authentication and Password Management
  • Session Management
  • Access Control
  • Cryptographic Practices
  • Error Handling and Logging
  • Data Protection
  • Communication Security
  • System Configuration
  • Database Security
  • File Management
  • Memory Management
  • General Coding Practices

@casey-williams-rh casey-williams-rh requested a review from a team as a code owner October 9, 2024 14:33
Copy link

codecov bot commented Oct 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.85%. Comparing base (e329757) to head (b53e49a).
Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2240   +/-   ##
=======================================
  Coverage   98.85%   98.85%           
=======================================
  Files         235      235           
  Lines        5149     5149           
=======================================
  Hits         5090     5090           
  Misses         59       59           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@petrblaho
Copy link
Collaborator

@casey-williams-rh can you explain, what was wrong with that? also, if it is not working, shouldn't we update the same code in the non sc-* branch of if block too?

@petrblaho petrblaho force-pushed the update-sc-support-build-deploy branch from 388d986 to a8e2b74 Compare October 10, 2024 13:44
@casey-williams-rh
Copy link
Contributor Author

Hey @petrblaho , so when using export CICD_IMAGE_BUILDER_BUILD_ARGS=("IMAGE_TAG=$SECURITY_COMPLIANCE_TAG") the IMAGE_TAG parameter evaluates as empty "". So I have defined IMAGE_TAG manually as opposed to relying on the CICD_IMAGE_BUILDER_BUILD_ARGS.

@skateman skateman force-pushed the update-sc-support-build-deploy branch from a8e2b74 to 05351a6 Compare October 24, 2024 07:57
@skateman skateman force-pushed the update-sc-support-build-deploy branch from 05351a6 to b53e49a Compare October 24, 2024 08:28
@skateman skateman merged commit 9f15e4c into RedHatInsights:master Oct 24, 2024
7 of 8 checks passed
@casey-williams-rh casey-williams-rh deleted the update-sc-support-build-deploy branch October 24, 2024 16:25
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