![]() More information about the inputs can be found in the README.md. contains settings for various miscellaneous options, such as, whether the PR should be updated with test results after finishing the job or what should be written in it. ![]() For more information see Rest API documentation. contains settings for additional artifacts to install in the test environment.Moreover, the secrets and environment variables needed for the test execution can be specified with options belonging to this group. Supported Linux distributions are Fedora Linux, and CentOS, including CentOS Stream, RHEL7, and RHEL8. contains options for configuring the operating system and architecture and where the test would be run.contains options for configuring the TMT specification, such as URL for the Git repository with the TMT plan, or regex for selecting the plan.Configurable items can be the API key, URL to TF’s API, and the scope of the used TF – public, or private contains options for configuring the testing farm itself.The inputs are divided into logical groups: The minimal example of using the TFaGA (on an already checkouted repository) will look similar to this: - name: Schedule tests Testing FarmĪll other input values are optional and have preassigned default values. NOTE: You can obtain api_key from For more information see the onboarding site. git_url – URL to a repository with TMT plans.TFaGA input is highly configurable but there only two inputs that are without default values and are required to be inserted by the user. Customers love software that is working and tested. Anyone who would like to add software to the distributions mentioned above should guarantee that it delivers working software. The TFaGA can be used by developers or maintainers, generally, anyone who wants to test a repository located on GitHub. For whom is testing-farm-as-github-action intended We need to test our software as soon as possible. The testing environment can be chosen from Fedora Linux, CentOS, including CentOS Stream, or RHEL. NOTE: It is important to have the tested code reviewed by an authorized person, like an owner or member, in order to avoid running malicious code on the Testing Farm infrastructure.Īny kind of test which can be described with a TMT plan, can be executed. Its main purpose is scheduling tests on the Testing Farm infrastructure triggered by an event that occurs in a GitHub repository and, optionally, displaying the results of executed tests. Testing-farm-as-a-github-action, shortly TFaGA, is a composite GitHub action, intended to be used from other GitHub Actions. The advantage of publishing an action on the Marketplace, in addition to publishing it in a public GitHub repository, is the visibility of written actions for other users. ![]() Anyone is authorized to publish an action on the GitHub Marketplace.Īn action, in order to be published, must reside in its own GitHub repository. GitHub Marketplace is a place where developers can find, among other elements, all published GitHub Actions, in one place. GitHub Marketplace and advantages of publishing actions here Using the composite testing-farm-as-a-github-action, currently available on the GitHub Marketplace, allows you to test your project efficiently. Testing Farm scales across many infrastructures, including private and public clouds. The entry point for our users is an HTTP-based API. Its mission is to provide a reliable and scalable service for executing automated tests from various users, such as Fedora CI, Packit, and others. Testing Farm’s idea is similar to Compile Farms, but with a focus on executing automated tests. Testing Farm is an open-source testing system offered as a service. ![]() We should implement Shift Left into our workflows process. It’s important to catch problems before delivering software to customers, and help quality assurance teams catch errors. Every project on GitHub that’s destined for Red Hat Enterprise Linux (RHEL), Fedora Linux, CentOS 7, CentOS Stream 8, and CentOS Stream 9, should be tested before its changes are synced into a Git distribution repository (dist-git).
0 Comments
Leave a Reply. |