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: add ui stage link to promo prs #2753

Merged
merged 2 commits into from
Oct 15, 2024

Conversation

krancour
Copy link
Member

Fixes #1825

Signed-off-by: Kent Rancourt <kent.rancourt@gmail.com>
Copy link

netlify bot commented Oct 15, 2024

Deploy Preview for docs-kargo-io ready!

Name Link
🔨 Latest commit fd78be3
🔍 Latest deploy log https://app.netlify.com/sites/docs-kargo-io/deploys/670edb6969bedc0008b5152c
😎 Deploy Preview https://deploy-preview-2753--docs-kargo-io.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

codecov bot commented Oct 15, 2024

Codecov Report

Attention: Patch coverage is 44.44444% with 10 lines in your changes missing coverage. Please review.

Project coverage is 49.50%. Comparing base (5341deb) to head (fd78be3).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
internal/directives/git_pr_opener.go 46.66% 7 Missing and 1 partial ⚠️
internal/controller/promotions/promotions.go 0.00% 1 Missing ⚠️
internal/gitprovider/github/github.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2753      +/-   ##
==========================================
+ Coverage   49.38%   49.50%   +0.11%     
==========================================
  Files         270      271       +1     
  Lines       19521    19666     +145     
==========================================
+ Hits         9640     9735      +95     
- Misses       9255     9300      +45     
- Partials      626      631       +5     

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

Freight: *workingPromo.Status.FreightCollection.DeepCopy(),
StartFromStep: promo.Status.CurrentStep,
State: directives.State(workingPromo.Status.GetState()),
APIServerBaseURL: r.cfg.APIServerBaseURL,
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit (and non-blocking): this should probably become part of a nested something at some point. As its placement feels odd as-is.

Copy link
Contributor

Choose a reason for hiding this comment

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

Second nit: from the perspective of what we use it for now (within the context of directives), isn't this just the UIBaseURL?

Copy link
Member Author

Choose a reason for hiding this comment

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

Fair point. I'll change that.

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed in fd78be3.

Copy link
Member Author

Choose a reason for hiding this comment

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

this should probably become part of a nested something at some point

This part, I'll save for another day, because I cannot quite figure out yet what other things it ought to be grouped with.

Signed-off-by: Kent Rancourt <kent.rancourt@gmail.com>
@krancour krancour added this pull request to the merge queue Oct 15, 2024
Merged via the queue into akuity:main with commit b6b0328 Oct 15, 2024
16 of 17 checks passed
@krancour krancour deleted the krancour/stage-link branch October 15, 2024 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature: add the Stage link to the Pull Request Promotion created PR
2 participants