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

Fix partial build #837

Merged
merged 65 commits into from
Dec 11, 2023
Merged

Fix partial build #837

merged 65 commits into from
Dec 11, 2023

Conversation

mazhelez
Copy link
Collaborator

@mazhelez mazhelez commented Nov 28, 2023

Issue:
Currently, when building partially (e.g. PR Build), the baseline artifacts are fetched from a CICD workflow run on the fly.
This could lead to discrepancies: one build job downloading artifacts from one CICD run, while the next one: from another CICD run (which completed in-between the two build jobs in the PR Build).

Solution: Determine the baseline CICD workflow once per PR Build and use artifacts from it in all build jobs.

Test run partial build: https://github.com/mazhelez/BCApps/actions/runs/7165434696?pr=2
Test run full build: https://github.com/mazhelez/BCApps/actions/runs/7165432643?pr=5
TODO:

  • Tests
  • Propagate workflow changes to all templates
  • Smarter check to determine the baseline workflow ID only when needed (non-full build)

Co-authored-by: Alexander Holstrup <117829001+aholstrup1@users.noreply.github.com>
@mazhelez mazhelez merged commit e9c7f5e into microsoft:main Dec 11, 2023
4 checks passed
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.

3 participants