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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.84%. Comparing base (1c10efe) to head (a8e2b74).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2240   +/-   ##
=======================================
  Coverage   98.84%   98.84%           
=======================================
  Files         232      232           
  Lines        5097     5097           
=======================================
  Hits         5038     5038           
  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.

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.

2 participants