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

added release_url to component build #113

Merged
merged 7 commits into from
Aug 29, 2024
Merged

added release_url to component build #113

merged 7 commits into from
Aug 29, 2024

Conversation

utkarshgupta95
Copy link
Contributor

@utkarshgupta95 utkarshgupta95 commented Aug 2, 2024

This PR is the combined effort of @utkarshgupta95 adding a release_url to the DB schema for model components, and @CodeGat wrangling the model component repository url from spack and passing it into said script.

In this PR:

  • tools/release_provenance: Update schema to include new release_url field. Update test data.
  • deploy-2-start.yml: Split Gadi deployment and Gadi metadata-gathering into separate steps. Get model component URLs from the spack python command and convert to a json file
  • generate-build-metadata.bash: Read in above file and add it to the json model+component API that we have going here.

Limitations

  • Each spack python command takes around 10s as it is concretizing the spec to get the package details.

Resolves #112

@CodeGat CodeGat self-assigned this Aug 27, 2024
@CodeGat CodeGat marked this pull request as draft August 28, 2024 23:14
@CodeGat CodeGat marked this pull request as ready for review August 29, 2024 00:11
@CodeGat CodeGat removed their request for review August 29, 2024 01:27
Copy link
Member

@aidanheerdegen aidanheerdegen left a comment

Choose a reason for hiding this comment

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

I have questions! :)

.github/workflows/deploy-2-start.yml Show resolved Hide resolved
.github/workflows/deploy-2-start.yml Show resolved Hide resolved
.github/workflows/deploy-2-start.yml Show resolved Hide resolved
.github/workflows/deploy-2-start.yml Show resolved Hide resolved
.github/workflows/deploy-2-start.yml Show resolved Hide resolved
Copy link
Member

@aidanheerdegen aidanheerdegen left a comment

Choose a reason for hiding this comment

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

LGTM

@CodeGat CodeGat merged commit 5415ae0 into main Aug 29, 2024
2 checks passed
@CodeGat CodeGat deleted the component-release-url branch August 29, 2024 04:43
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.

Add explicit fields in the table for the GitHub url for the model components
3 participants