]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commit
ceph-windows: Update `ceph-windows-test` Jenkins job 2079/head
authorIonut Balutoiu <ibalutoiu@cloudbasesolutions.com>
Thu, 22 Sep 2022 09:41:23 +0000 (12:41 +0300)
committerIonut Balutoiu <ibalutoiu@cloudbasesolutions.com>
Thu, 22 Sep 2022 12:33:59 +0000 (15:33 +0300)
commitb035d6a7353e81533e43ea7234a088bedf917845
tree4e007cf9ddc2d523e716258e55aae54a099b57c2
parent6191e0c937002e1be005fa3644edfdbf213003ea
ceph-windows: Update `ceph-windows-test` Jenkins job

Make the Jenkins `ceph-windows-test` similar to `ceph-windows-pull-requests` job.

However, `ceph-windows-test` is meant to be triggered on-demand, and it
exposes more parameters for `win32_build.sh` script, and artifacts collected
at the end of the job run.

The new `ceph-windows-test` Jenkins job will have the following new parameters:

* `CEPH_GIT_REPO` - The Ceph git repo used to clone.
* `CEPH_GIT_BRANCH` - The Ceph git branch name used to clone.
* `CEPH_WIN32_BUILD_FLAGS` - Build flags passed to `win32_build.sh`
   besides the defaults.
* `INCLUDE_USERSPACE_CRASH_DUMPS` - Collect Windows userspace crash dumps
   with the job artifacts.
* `INCLUDE_CEPH_ZIP` - Collect the `ceph.zip` Windows build with the
   job artifacts. This is useful for debugging failures locally.

Also, create `scripts/ceph-windows/win32_build` common script. This is
used in both Jenkins jobs to cross-build Ceph Windows.

Besides this, we collect artifacts with `trap EXIT` instance.
Previously, if the tests failed, the artifacts wouldn't be collected.

Due to the fact that artifacts collected might occupy more space,
we limit `artifact-num-to-keep` to `15`.

Signed-off-by: Ionut Balutoiu <ibalutoiu@cloudbasesolutions.com>
ceph-windows-pull-requests/build/build [deleted file]
ceph-windows-pull-requests/build/check_docs_pr_only [new file with mode: 0644]
ceph-windows-pull-requests/config/definitions/ceph-windows-pull-requests.yml
ceph-windows-test/build/get_chacra_build [deleted file]
ceph-windows-test/config/definitions/ceph-windows-test.yml
scripts/ceph-windows/run_tests
scripts/ceph-windows/win32_build [new file with mode: 0644]