-
Notifications
You must be signed in to change notification settings - Fork 9
Home
This project serves as a template for multi-arch tests for RedHat's downstream CI. Currently, this template test can be run only on Jenkins enviroments deployed with the tools provided by the Multi-Arch CI Provisioner. The only known environment that supports this exists internal to RedHat; however, efforts are being made to support further multi-arch testing upstream as part of the great CentOS CI initiative (see multiarch-openshift-ci for an example of this effort specifically for OpenShift). You can see our latest template release notes here.
The only current Jenkins instance equipped with the tools and configuration capable of running this test template is internal to RedHat. This guide assumes that you have admin access to this enviroment, or have been able to set up an equivalent enviroment with the Multi-Arch CI Provisioner installed.
- In the github UI, fork this project.
-
Log in to Multi-Arch QE Jenkins.
-
Navigate to your teams directory. You may need a create a directory for your team if one does not already exist.
-
Select
new item
. -
Name your test. I recommend keeping the name lowercase and using dashes as delimiters between words, since the test name will be used as a directory name when it is run, and special characters have been known to cause problems because of this.
-
For pipeline type, select
Multi-Branch Pipeline
. -
Select
OK
at the bottom of the page. -
Under
Branch Sources
selectAdd source->Github
. -
In the new
Branch Sources->Git
section, fill in theProject Repository
filed with the Github URL of your fork of this project. -
Hit
Save
. This should scan the repo for branches and kickoff builds for each branch. Since you cloned the template, the only branch should be master. -
The test will be run automatically with the default build parameters, so just by waiting for the test to complete you should see the results of the first build just by browsing to the job. The easiest way to visualize the progress of your builds is to select Blue Ocean. From here, you can navigate down to your branches and see the result for each arch. Once completed, you can also retrieve the build artifacts from this view.
- To run a the test manually, start by logging in to Multi-Arch QE Jenkins.
- Navigate to the test you want to run.
- In the left panel, select
Build with Parameters
. - Specify the
ARCHES
you want to build on. This parameter takes a list of arches delimited by,
. The supported arches arex86_64
,ppc64le
,aarch64
, ands390x
. - Specify the node to run the test from. This defaults to
master
, but could be a static slave. - Click
Build
.