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

feat: use scarf.sh registry for all container images #507

Merged
merged 5 commits into from
Dec 13, 2022

Conversation

mowies
Copy link
Member

@mowies mowies commented Dec 12, 2022

This PR

  • introduces a new container registry under our own keptn domain
  • this gives keptn the option to keep track of download numbers and versions of KLT that are downloaded

THIS IS A BREAKING CHANGE

Part of #195

@codecov
Copy link

codecov bot commented Dec 12, 2022

Codecov Report

Merging #507 (546770f) into main (23ddfa3) will increase coverage by 0.05%.
The diff coverage is n/a.

❗ Current head 546770f differs from pull request most recent head 3b96261. Consider uploading reports for the commit 3b96261 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #507      +/-   ##
==========================================
+ Coverage   48.84%   48.90%   +0.05%     
==========================================
  Files          55       55              
  Lines        5143     5143              
==========================================
+ Hits         2512     2515       +3     
+ Misses       2525     2523       -2     
+ Partials      106      105       -1     
Impacted Files Coverage Δ
...or/controllers/keptnworkloadinstance/controller.go 78.86% <0.00%> (ø)
...ptnworkloadinstance/reconcile_prepostdeployment.go 90.90% <0.00%> (+9.09%) ⬆️
Flag Coverage Δ
component-tests 51.36% <ø> (+0.24%) ⬆️
keptn-lifecycle-operator 47.27% <ø> (ø)
scheduler 4.52% <ø> (ø)

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

@mowies mowies changed the title feat: Use scarf registry for all container images feat: use scarf.sh registry for all container images Dec 12, 2022
@mowies mowies added the on hold Do not merge yet label Dec 12, 2022
Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com>
Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com>
Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com>
Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com>
Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com>
@sonarcloud
Copy link

sonarcloud bot commented Dec 12, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@hwinkel
Copy link

hwinkel commented Dec 12, 2022

Any experience with the scarf service, as it might "break" the download, if not working correctly, can scarf cope with the reliability of the typical public registries?

Copy link
Contributor

@thschue thschue left a comment

Choose a reason for hiding this comment

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

lgtm

@mowies
Copy link
Member Author

mowies commented Dec 12, 2022

@hwinkel good question, we don't have any meaningful experience yet, but we aim to get it by trying scarf out for now.
It's just a proxy with a different certificate and a new DNS CNAME entry for the new domain so it should be fairly easy to run well.

Copy link
Member

@thisthat thisthat left a comment

Choose a reason for hiding this comment

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

@thisthat
Copy link
Member

Hey @hwinkel, we had a discussion with Scarf on exactly this topic and they are confident that they can handle the amount of traffic. Scarf is also used by other CNCF projects such as Linkerd which boosts our confidence in the service.

@hwinkel
Copy link

hwinkel commented Dec 12, 2022

Hey @hwinkel, we had a discussion with Scarf on exactly this topic and they are confident that they can handle the amount of traffic. Scarf is also used by other CNCF projects such as Linkerd which boosts our confidence in the service.

thanks for the feeedback.. as we are looking for a similar service

@mowies
Copy link
Member Author

mowies commented Dec 13, 2022

should we change also this: main/.github/workflows/release.yml#L57 ?

@thisthat that occurrence should stay as it is. We still push to ghcr directly without going though scarf, therefore also the image tag needs to still point to ghcr.

@mowies mowies merged commit 647c6a1 into keptn:main Dec 13, 2022
@mowies mowies deleted the scarf-registry branch December 13, 2022 06:56
@keptn-bot keptn-bot mentioned this pull request Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
on hold Do not merge yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants