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

Add local monitoring e2e test job in PR check workflow #1445

Open
wants to merge 2 commits into
base: mvp_demo
Choose a base branch
from

Conversation

shreyabiradar07
Copy link
Contributor

Description

This PR adds test_crc_manifest_build_local_monitoring job to run local monitoring end-to-end tests as part of PR check workflow

Fixes # (issue)

Type of change

  • Bug fix
  • New feature
  • Docs update
  • Breaking change (What changes might users need to make in their application due to this PR?)
  • Requires DB changes

How has this been tested?

  • New Test X
  • Functional testsuite
  • PR check tests

Test Configuration

  • Kubernetes clusters tested on: minikube

Checklist 🎯

  • Followed coding guidelines
  • Comments added
  • Dependent changes merged
  • Documentation updated
  • Tests added or updated
  • PR check added

Additional information

.

@shreyabiradar07 shreyabiradar07 marked this pull request as ready for review January 16, 2025 11:38
@shreyabiradar07 shreyabiradar07 self-assigned this Jan 16, 2025
@shreyabiradar07 shreyabiradar07 added this to the Kruize 0.4 Release milestone Jan 16, 2025
@@ -125,3 +125,53 @@ jobs:
path: ./crc_manifest_results.tar
retention-days: 2

# This job runs an end-to-end test to validate the local monitoring workflow
test_crc_manifest_build_local_monitoring:
Copy link
Contributor

Choose a reason for hiding this comment

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

This will run only using the manifest image. Update another job to test with the PR build.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added a new job build_crc_local_monitoring to test local monitoring flow with the PR build.

if: always()
run: |
cd ${GITHUB_WORKSPACE}
tar cvf crc_manifest_results.tar kruize_local_monitoring_test_results
Copy link
Contributor

Choose a reason for hiding this comment

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

Update the archive file to match what is being uploaded

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Under Review
Development

Successfully merging this pull request may close these issues.

2 participants