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

Every phase must be idempotent #81

Open
1 of 6 tasks
aldrichtr opened this issue Dec 27, 2023 · 0 comments
Open
1 of 6 tasks

Every phase must be idempotent #81

aldrichtr opened this issue Dec 27, 2023 · 0 comments
Labels
area.phase Related to project lifecycle phases story.epic A tracking ticket for a project Epic

Comments

@aldrichtr
Copy link
Owner

aldrichtr commented Dec 27, 2023

Defining idempotency

When running Invoke-Build, any phase that is called will not alter the project if no changes are made in between each successive call.

Validate

  • Only create directories if they are not already present in the project
  • Only install required modules if they are not already present in the project

Initialize

Compile

Test

  • Only run the tests if any file in source or test has changed since the last test

Build

@aldrichtr aldrichtr added story.epic A tracking ticket for a project Epic area.phase Related to project lifecycle phases labels Dec 27, 2023
@github-actions github-actions bot added the flag.review A new issue or pr that needs review label Dec 28, 2023
@aldrichtr aldrichtr removed the flag.review A new issue or pr that needs review label Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area.phase Related to project lifecycle phases story.epic A tracking ticket for a project Epic
Projects
None yet
Development

No branches or pull requests

1 participant