-
Notifications
You must be signed in to change notification settings - Fork 178
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
RP E2E Test Execution #3856
RP E2E Test Execution #3856
Conversation
ed42f14
to
f62f93f
Compare
… responses and improve failure detection.
…startup behavior. Modified vpn logic again Added KUBECONFIG to test panic error again Removed the Kubeconfig veriable
…nsistent behavior. - Improved maintainability by defining versions as variables.
6062210
to
877e361
Compare
/azp run ci, e2e |
Azure Pipelines successfully started running 2 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, I had a small request to add a todo referencing the relevant JIRA where the skip is. Not necessary but I think a good addition. PR looks g.
…shed updated configuration.
ff4d82e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/azp run ci, e2e |
Azure Pipelines successfully started running 2 pipeline(s). |
main() { | ||
log "enter hive installation" | ||
local skip_deployments=${1:-"none"} | ||
|
||
if [ ! -f "./hack/hive/hive-config/hive-deployment.yaml" ] || [ ! -d "./hack/hive/hive-config/crds" ] ; then | ||
if [[ ! -f "./hack/hive/hive-config/hive-deployment.yaml" ]] || [[ ! -d "./hack/hive/hive-config/crds" ]]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What improvement does double bracket bring?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
During pipeline testing, I found that the conditional on line 37 was failing when checking if PULL_SECRET is empty. Replacing [ ... ] with [[ ... ]] fixed the issue because [[ ... ]] handles empty values and special characters more reliably.
source : https://tldp.org/LDP/Bash-Beginners-Guide/html/sect_07_01.html
example from our code base: https://github.com/openshift-metal3/dev-scripts/blob/ab8100cfd50f03633d71a70a8a1207622e9e9122/common.sh#L122
Which issue this PR addresses:
This PR addresses inefficiencies in our CI and E2E testing process. The current setup is slow and lacks full containerization and Hive integration for cluster management. By using Docker Compose and integrating Hive, this PR reduces runtime, simplifies orchestration, and improves testing reliability.
Fixes: ARO-9501
What this PR does / why we need it:
This PR introduces an E2E testing stage using Docker Compose to orchestrate the RP, Selenium, and E2E test services. The pipeline pulls the required RP image from Azure Container Registry (ACR) and ensures the correct environment is set up for the E2E tests. It helps validate the end-to-end functionality of the system and ensures that tests are running using containerized RP images.
Key Points:
Test plan for issue:
Is there any documentation that needs to be updated for this PR?
N/A
How do you know this will function as expected in production?
N/A