From f58549a92265799b68869035fb196e59b182897a Mon Sep 17 00:00:00 2001 From: Shubhada Date: Fri, 20 Sep 2024 15:36:23 -0700 Subject: [PATCH 01/11] Integrate Docker for E2E testing with Makefile and Azure pipeline orchestration fixed the vpn issue Replaced all instances of [ ] with [[ ]] for conditional checks, as per the discussion about how [[ ]] handles variables better Improve error handling and logging in e2e setup to capture detailed context for failures Improve networking Improve networking-with network- aro-dev: Improve networking-with network- aro-dev: ci pipeline cleanup ci pipeline cleanup ci pipeline cleanup ci pipeline cleanup ci pipeline cleanup ci pipeline cleanup ci pipeline cleanup ci pipeline cleanup solved the veriables issue solved the veriables issue using old way as e2e uses aro image shubhadapaithankar/ARO-9501-RP-E2E-Test - Adding image build step for E2E image. - Removed docker compose build from ci-rp target. - Added RP_IMAGE_ACR_URL env var to test overriding ARO operator image pull URL. shubhadapaithankar/ARO-9501-RP-E2E-Test - Reset to 8988bd227ae31cb2ebba6cd79d65783ebe86bb99. - Changed image names in ci.yml to use ACR image URLs. - Added RP_IMAGE_ACR env var after sourcing secrets to debug ARO operator image pull error. - Removed localhost image check from ACR push script. shubhadapaithankar/ARO-9501-RP-E2E-Test - Fixed type in RP_IMAGE_ACR_URL env var name. changed to to match the name used in your CI code Modified some template veriables Fixed the env as per the latest changres Added ACR pull step to fix image pull error Update e2e-pipeline template to align with push template and ci pipeline Fix image path construction in e2e-pipeline template change environment variable format that Azure DevOps recognizes change environment variable format that Azure DevOps recognizes change environment variable format shubhadapaithankar/ARO-9501-RP-E2E-Test - Added az acr login before docker compose up. shubhadapaithankar/ARO-9501-RP-E2E-Test - Removed --target=builder for RP and E2E image builds so all stages are built. shubhadapaithankar/ARO-9501-RP-E2E-Test - Added ARO_IMAGE env var to set ARO operator image URL. shubhadapaithankar/ARO-9501-RP-E2E-Test - Added version to the ARO_IMAGE env var and set to Build.BuildId. shubhadapaithankar/ARO-9501-RP-E2E-Test - Moved Build.BuildId variable inside quotes. change makefile target to fix ci-rp issue change makefile target to fix ci-rp issue change makefile target to fix ci-rp issue change makefile target to fix ci-rp issue change makefile target to fix ci-rp issue change makefile target to fix ci-rp issue change makefile target to fix ci-rp issue Added logs Reverting forced push to the yestardays changes changed the indentation changed the indentation removed cluster version as its causing issue Updated Dockerfile to ensure test report and coverage files are generated Updated Dockerfile to ensure test report and coverage files are generated shubhadapaithankar/ARO-9501-RP-E2E-Test - Added WORKDIR setting and set to /usr/local/bin to fix portalauth command invocation. shubhadapaithankar/ARO-9501-RP-E2E-Test - Updated ARO_IMAGE env var to use new arosvcdev registry. Updated the ARO_IMAGE to arointsvc Updated the missing veriable Updated the ARO_IMAGE to arosvcdev shubhadapaithankar/ARO-9501-RP-E2E-Test - Disabling E2E cluster delete to debug API connectivity error. shubhadapaithankar/ARO-9501-RP-E2E-Test - Added AZURE_PORTAL_ELEVATED_GROUP_IDS env var that is required for portalauth cmd args. shubhadapaithankar/ARO-9501-RP-E2E-Test - Set path to portalauth binary to /usr/local/bin/portalauth. - Added info log to debug portal auth args. Removed the unwanted comment from the code shubhadapaithankar/ARO-9501-RP-E2E-Test - Adding KEYVAULT_PREFIX env var for portalauth command. Added E2E_LABEL Added the E2E_LABEL variable to the env file, as it's used to run E2E tests. shubhadapaithankar/ARO-9501-RP-E2E-Test - Cleanup: move duplicate variable exports to top level variables definition, remove unnecessary exports, etc. Added WaitWithTimeout in adminPortalSessionSetup to ensure