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

New-feature, Ephemeral Environments for PRs — Uffizzi Integration #19296

Closed
wants to merge 2 commits into from

Conversation

gopuman
Copy link

@gopuman gopuman commented Sep 2, 2023

Thank you for contributing to Harbor!

Comprehensive Summary of your change

This PR introduces a new feature that enhances our development workflow by integrating Uffizzi for ephemeral environments. The primary goal of this feature is to streamline the testing and validation process of Harbor-related changes. The PR includes the following major updates:

  1. Image Building and Pushing:
    We have implemented a GitHub workflow that automates the building and pushing of all Harbor-related images to a temporary registry. This step ensures that the latest images are available for testing in the Uffizzi environment.

  2. Uffizzi Cluster Setup:
    As a significant part of this integration, we create an Uffizzi cluster (uCluster) dynamically. This cluster is used to provision isolated environments for testing.
    The Harbor Helm chart is then installed within the Uffizzi cluster, using the newly built and pushed images. This ensures that the environment closely mirrors the production setup.

  3. Harbor Cypress Tests:
    After setting up the Harbor instance within the Uffizzi environment, we execute the Harbor Cypress tests. These tests validate the functionality and behavior of the Harbor application.
    Running these tests within an isolated environment helps identify potential issues and ensures the reliability of Harbor.

Please indicate you've done the following:

  • Well Written Title and Summary of the PR
  • Label the PR as needed. "release-note/infra"
  • Accepted the DCO. Commits without the DCO will delay acceptance.
  • Made sure tests are passing and test coverage is added if needed.
  • Considered the docs impact and opened a new docs issue or PR with docs changes if needed in website repository.

@gopuman gopuman requested a review from a team as a code owner September 2, 2023 03:20
…hart and run e2e cypress tests

Signed-off-by: Gopal Nambiar <gopalnambiar2@gmail.com>
@codecov
Copy link

codecov bot commented Sep 12, 2023

Codecov Report

Merging #19296 (6a2aa93) into main (d0322df) will increase coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main   #19296   +/-   ##
=======================================
  Coverage   67.45%   67.45%           
=======================================
  Files         988      988           
  Lines      108732   108732           
  Branches     2752     2752           
=======================================
+ Hits        73340    73346    +6     
+ Misses      31446    31441    -5     
+ Partials     3946     3945    -1     
Flag Coverage Δ
unittests 67.45% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 10 files with indirect coverage changes

@Vad1mo Vad1mo added the release-note/infra Infra related changes e.g. release, test, ship etc... label Sep 26, 2023
@Vad1mo Vad1mo enabled auto-merge (squash) October 5, 2023 09:45
Copy link

This PR is being marked stale due to a period of inactivty. If this PR is still relevant, please comment or remove the stale label. Otherwise, this PR will close in 30 days.

@github-actions github-actions bot added the Stale label Nov 28, 2023
Copy link

This PR was closed because it has been stalled for 30 days with no activity. If this PR is still relevant, please re-open a new PR against main.

@github-actions github-actions bot closed this Dec 28, 2023
auto-merge was automatically disabled December 28, 2023 09:03

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/infra Infra related changes e.g. release, test, ship etc... Stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants