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

ci: no det version parameter via continued config #10151

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

JComins000
Copy link
Contributor

@JComins000 JComins000 commented Oct 29, 2024

Ticket

https://hpe-aiatscale.atlassian.net/browse/INFENG-944

Description

The det-version parameter wasn't updating on rerun. Since we use a script, let's just use the script at runtime instead of config-time.

Test Plan

Checklist

  • Changes have been manually QA'd
  • New features have been approved by the corresponding PM
  • User-facing API changes have the "User-facing API Change" label
  • Release notes have been added as a separate file under docs/release-notes/
    See Release Note for details.
  • Licenses have been included for new code which was copied and/or modified from any external code

@JComins000 JComins000 requested a review from a team as a code owner October 29, 2024 20:41
@cla-bot cla-bot bot added the cla-signed label Oct 29, 2024
Copy link

netlify bot commented Oct 29, 2024

Deploy Preview for determined-ui canceled.

Name Link
🔨 Latest commit bb31565
🔍 Latest deploy log https://app.netlify.com/sites/determined-ui/deploys/67216c38c5a1700008d3ee4b

@JComins000 JComins000 force-pushed the jcom/INFENG-944/det-version-mismatch-from-pipeline branch from 9e93049 to a94ed82 Compare October 29, 2024 20:42
@JComins000 JComins000 force-pushed the jcom/INFENG-944/det-version-mismatch-from-pipeline branch from c54a022 to d2851e2 Compare October 29, 2024 20:58
@JComins000 JComins000 force-pushed the jcom/INFENG-944/det-version-mismatch-from-pipeline branch from 9890b21 to 1c291e6 Compare October 29, 2024 21:24
@JComins000 JComins000 force-pushed the jcom/INFENG-944/det-version-mismatch-from-pipeline branch from e342bb3 to 65d14ab Compare October 29, 2024 21:39
Copy link

codecov bot commented Oct 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 54.26%. Comparing base (983a8ab) to head (bb31565).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #10151   +/-   ##
=======================================
  Coverage   54.26%   54.26%           
=======================================
  Files        1259     1259           
  Lines      157276   157276           
  Branches     3642     3641    -1     
=======================================
+ Hits        85344    85345    +1     
+ Misses      71799    71798    -1     
  Partials      133      133           
Flag Coverage Δ
backend 45.91% <ø> (+<0.01%) ⬆️
harness 71.15% <ø> (ø)
web 54.29% <ø> (ø)

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

see 5 files with indirect coverage changes

@JComins000 JComins000 force-pushed the jcom/INFENG-944/det-version-mismatch-from-pipeline branch from dd80918 to ac82fc2 Compare October 29, 2024 21:46
@JComins000 JComins000 force-pushed the jcom/INFENG-944/det-version-mismatch-from-pipeline branch from ac82fc2 to 70a34cd Compare October 29, 2024 21:47
@JComins000 JComins000 force-pushed the jcom/INFENG-944/det-version-mismatch-from-pipeline branch from b0b3776 to 333ff1e Compare October 29, 2024 22:02
@JComins000 JComins000 force-pushed the jcom/INFENG-944/det-version-mismatch-from-pipeline branch from 2c9d075 to 8a7c7d8 Compare October 29, 2024 22:15
@JComins000 JComins000 force-pushed the jcom/INFENG-944/det-version-mismatch-from-pipeline branch 2 times, most recently from 0ad48ea to 49f01f4 Compare October 29, 2024 22:27
@JComins000 JComins000 force-pushed the jcom/INFENG-944/det-version-mismatch-from-pipeline branch 5 times, most recently from 09485c9 to e45d631 Compare October 29, 2024 22:57
@JComins000 JComins000 force-pushed the jcom/INFENG-944/det-version-mismatch-from-pipeline branch 3 times, most recently from 86b758a to 5f66e3a Compare October 29, 2024 23:06
@JComins000 JComins000 force-pushed the jcom/INFENG-944/det-version-mismatch-from-pipeline branch from 5f66e3a to 63ffe35 Compare October 29, 2024 23:09
@@ -13,15 +13,12 @@ orbs:
executors:
python-38:
docker:
- image: python:3.8-slim-bookworm
Copy link
Contributor Author

Choose a reason for hiding this comment

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

these didnt have git installed, so they couldn't run the script

Copy link
Contributor

Choose a reason for hiding this comment

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

Good catch!

package-location:
type: string
steps:
- run:
name: Install <<parameters.package-name>>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this previously required pipeline.parameters.det-version, so idk why were were parameterizing on package name

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

It looks like this could install any package the same way instead of only installing Determined. 🤷‍♂️ If it's only used for one package, then I agree that the parameter is unecessary.

(FWIW, the blame probably shows that I wrote all this stuff because I renamed the config file when switching to dynamic config. :))

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ohh okay! thanks for looking

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.

3 participants