github.com/redhat-appstudio/e2e-tests@v0.0.0-20240520140907-9709f6f59323/tests/build/README.md (about)

     1  # Build tests
     2  
     3  Contains E2E tests related to [Build components](https://github.com/redhat-appstudio/infra-deployments/tree/main/components/build).
     4  
     5  Steps to run tests within `build` directory:
     6  
     7  1. Follow the instructions from the [Readme](../../docs/Installation.md) scripts to install AppStudio in e2e mode
     8  2. Run the tekton chains suite: `./bin/e2e-appstudio --ginkgo.focus="chains-suite"`
     9  3. Run the build-service suite: `./bin/e2e-appstudio --ginkgo.focus="build-service-suite"`
    10     1. To test the build of multiple components (from multiple Github repositories), export the environment variable `COMPONENT_REPO_URLS` with value that points
    11        to multiple Github repo URLs, separated by a comma, e.g.: `export COMPONENT_REPO_URLS=https://github.com/redhat-appstudio-qe/devfile-sample-hello-world,https://github.com/devfile-samples/devfile-sample-python-basic`
    12  
    13  ## Build service suite specs
    14  
    15  1. Verify that the creation of AppStudio component with container image source doesn't trigger PipelineRun
    16  2. Verify that the creation of AppStudio component with Git URL source triggers PipelineRun
    17     1. Verify that the PipelineRun succeeds
    18  
    19  ## Tekton chains suite specs
    20  TBD