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

Multiple pull-secrets and optional fallback-secret #98

Merged
merged 24 commits into from
May 29, 2022

Conversation

ckotzbauer
Copy link
Owner

supersedes #83
@steelion

@ckotzbauer ckotzbauer added the kind/feature Categorizes issue or PR as related to a new feature. label May 14, 2022
@github-actions github-actions bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label May 14, 2022
@codecov-commenter
Copy link

codecov-commenter commented May 14, 2022

Codecov Report

Merging #98 (a57e0b1) into main (1286ab3) will increase coverage by 22.76%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main      #98       +/-   ##
===========================================
+ Coverage   32.52%   55.28%   +22.76%     
===========================================
  Files           7        2        -5     
  Lines         535      123      -412     
===========================================
- Hits          174       68      -106     
+ Misses        335       49      -286     
+ Partials       26        6       -20     
Impacted Files Coverage Δ
internal/registry/registry.go
internal/target/git_target.go
internal/target/dtrack_target.go
internal/target/oci_target.go
internal/registry/configfile.go

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 1286ab3...a57e0b1. Read the comment docs.

internal/syft/syft.go Outdated Show resolved Hide resolved
steelion and others added 24 commits May 29, 2022 10:12
- refactor the ContainerImage struct.
- refactor secrets iteration
always return allImageCreds
removed unnecessary error message from log-message
removed unnecessary info message
update testcases for registry and syft-analysis
Signed-off-by: Christian Kotzbauer <[email protected]>
Signed-off-by: Christian Kotzbauer <[email protected]>
Signed-off-by: Christian Kotzbauer <[email protected]>
@ckotzbauer ckotzbauer force-pushed the feature/pull-secrets branch from a3c0f8a to a57e0b1 Compare May 29, 2022 08:14
@ckotzbauer ckotzbauer merged commit ad7dc28 into main May 29, 2022
@ckotzbauer ckotzbauer deleted the feature/pull-secrets branch May 29, 2022 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants