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

chore: parallelize PR checks and run only if relevant files are modified #566

Merged
merged 29 commits into from
Nov 28, 2023

Conversation

leninmehedy
Copy link
Member

@leninmehedy leninmehedy commented Nov 17, 2023

Description

This pull request changes the following:

  • parallelize helm chart tests to reduce CI pipeline execution time (it is now ~9m compared to ~27m)
  • only run helm chart tests if related files are changed
  • only run fsnetman tests if related files are changed
  • fetch platform release artifact from https://builds.hedera.com
  • fetch NMT release artifact from https://builds.hedera.com
  • use NMT v1.2.2 instead of v2.0.0-alpha for testing as it is used in mainnet
  • use v0.42.5 platform version for chart tests instead of old v0.39.x

Related Issues

Copy link

github-actions bot commented Nov 17, 2023

Unit Test Results

  26 files  ±0    26 suites  ±0   51s ⏱️ -4s
109 tests ±0  105 ✔️ ±0  4 💤 ±0  0 ±0 
110 runs  ±0  106 ✔️ ±0  4 💤 ±0  0 ±0 

Results for commit 6f382ca. ± Comparison against base commit f2e2449.

♻️ This comment has been updated with latest results.

@leninmehedy leninmehedy force-pushed the parallelize-helm-chart-tests branch 2 times, most recently from 69882b2 to 4c123ad Compare November 17, 2023 22:52
@leninmehedy leninmehedy marked this pull request as ready for review November 17, 2023 23:18
@leninmehedy leninmehedy force-pushed the parallelize-helm-chart-tests branch 2 times, most recently from 19106da to c4a2cd3 Compare November 20, 2023 02:45
@leninmehedy leninmehedy changed the title chore: parallelize helm chart tests chore: parallelize helm chart tests to reduce PR checks duration Nov 20, 2023
@leninmehedy leninmehedy changed the title chore: parallelize helm chart tests to reduce PR checks duration ci: parallelize helm chart tests to reduce PR checks duration Nov 20, 2023
@leninmehedy leninmehedy changed the title ci: parallelize helm chart tests to reduce PR checks duration chore: parallelize helm chart tests to reduce PR checks duration Nov 20, 2023
@leninmehedy leninmehedy changed the title chore: parallelize helm chart tests to reduce PR checks duration chore: parallelize PR checks if relevant files are modified to reduce execution time Nov 20, 2023
@leninmehedy leninmehedy changed the title chore: parallelize PR checks if relevant files are modified to reduce execution time chore: parallelize PR checks and run only if relevant files are modified Nov 20, 2023
@leninmehedy leninmehedy self-assigned this Nov 20, 2023
@leninmehedy leninmehedy added the Improvement Code changes driven by non business requirements label Nov 20, 2023
Signed-off-by: Lenin Mehedy <[email protected]>
Signed-off-by: Lenin Mehedy <[email protected]>
Signed-off-by: Lenin Mehedy <[email protected]>
Signed-off-by: Lenin Mehedy <[email protected]>
Signed-off-by: Lenin Mehedy <[email protected]>
Signed-off-by: Lenin Mehedy <[email protected]>
Signed-off-by: Lenin Mehedy <[email protected]>
Signed-off-by: Lenin Mehedy <[email protected]>
Signed-off-by: Lenin Mehedy <[email protected]>
Signed-off-by: Lenin Mehedy <[email protected]>
Signed-off-by: Lenin Mehedy <[email protected]>
Signed-off-by: Lenin Mehedy <[email protected]>
Signed-off-by: Lenin Mehedy <[email protected]>
@leninmehedy leninmehedy force-pushed the parallelize-helm-chart-tests branch from c2ecea8 to 2b107dd Compare November 27, 2023 00:24
Signed-off-by: Lenin Mehedy <[email protected]>
.github/workflows/flow-pull-request-checks.yaml Outdated Show resolved Hide resolved
.github/workflows/flow-pull-request-checks.yaml Outdated Show resolved Hide resolved
.github/workflows/flow-pull-request-checks.yaml Outdated Show resolved Hide resolved
.github/workflows/zxc-fsnetman-tests.yaml Outdated Show resolved Hide resolved
.github/workflows/zxc-helm-chart-tests.yaml Outdated Show resolved Hide resolved
fullstack-network-manager/README.md Outdated Show resolved Hide resolved
fullstack-network-manager/README.md Outdated Show resolved Hide resolved
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@nathanklick nathanklick merged commit d9c04f2 into main Nov 28, 2023
16 checks passed
@nathanklick nathanklick deleted the parallelize-helm-chart-tests branch November 28, 2023 20:24
@swirlds-automation
Copy link
Contributor

🎉 This PR is included in version 0.14.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement Code changes driven by non business requirements released
Projects
None yet
4 participants