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

upgrade-test: split targets #7835

Merged
merged 1 commit into from
Jun 20, 2023
Merged

upgrade-test: split targets #7835

merged 1 commit into from
Jun 20, 2023

Conversation

raphdev
Copy link
Contributor

@raphdev raphdev commented May 24, 2023

refs: #7797

Description

This PR splits make targets to align with docker targets, allowing a particular target to tag all the predecessors to avoid a rebuild just to get a particular tag. We also refactor makefile to use this behavior, simplifying steps.

Security Considerations

Scaling Considerations

Documentation Considerations

No changes in documentation.

Testing Considerations

This should slightly benefit cache and make testing better:

For example, this should not cause a rebuild (assuming no files were changed):
make build TARGET=agoric-upgrade-10
make build run TARGET=agoric-upgrade-9

This will cause a rebuild only to maintain separate cache for test and non-test bootstraps, but thereafter should not cause rebuild:
make build_test TARGET=agoric-upgrade-10
make build_test run TARGET=agoric-upgrade-9

@raphdev raphdev requested a review from arirubinstein May 24, 2023 17:38
@raphdev raphdev changed the base branch from master to raph/ut-cached-apt May 24, 2023 17:39
@raphdev raphdev force-pushed the raph/ut-target-steps branch from 4bcc449 to 2824bd3 Compare June 7, 2023 14:45
@raphdev raphdev changed the base branch from raph/ut-cached-apt to master June 7, 2023 14:45
@raphdev raphdev force-pushed the raph/ut-target-steps branch 2 times, most recently from bedc81b to 244766c Compare June 7, 2023 22:13
@raphdev raphdev requested a review from michaelfig June 8, 2023 13:25
@raphdev raphdev force-pushed the raph/ut-target-steps branch from 244766c to b0720f0 Compare June 8, 2023 13:26
@raphdev raphdev marked this pull request as ready for review June 8, 2023 13:27
Copy link
Member

@michaelfig michaelfig left a comment

Choose a reason for hiding this comment

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

Looks reasonable. 🚢

@raphdev raphdev force-pushed the raph/ut-target-steps branch from eace046 to 8754b09 Compare June 20, 2023 17:01
@raphdev raphdev enabled auto-merge June 20, 2023 17:04
@raphdev raphdev added this pull request to the merge queue Jun 20, 2023
Merged via the queue into master with commit 5736604 Jun 20, 2023
@raphdev raphdev deleted the raph/ut-target-steps branch June 20, 2023 17:53
mhofman pushed a commit that referenced this pull request Aug 7, 2023
mhofman pushed a commit that referenced this pull request Aug 7, 2023
mhofman pushed a commit that referenced this pull request Aug 16, 2023
mhofman pushed a commit that referenced this pull request Aug 16, 2023
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.

2 participants