Robots: Cirrus CI

TRIGGER: ${CIRRUS_CI}=true

--patch-dir will be configured to be /tmp/yetus-out and will be moved to the yetus-out directory in the source tree after completion. Adding this stanza to your .cirrus.yml file will upload and store those components for a week in Gitlab CI's artifact retrieval system:

---
  always:
    junit_artifacts:
      path: "yetus-out/junit.xml"
      format: junit
    other_artifacts:
      path: "yetus-out/**"

To use the --patch-dir for additional output, use the /tmp/yetus-out path. For example: --html-report-file=/tmp/yetus-out/report.html.

To use the pre-built Apache Yetus Docker image from docker hub as the build environment, use the following snippet in the .cirrus.yml file, substituting the tag for the version of Apache Yetus that should be used and replacing the JAVA_HOME with the appropriate version as bundled mentioned in the Dockerfile:

---
yetus_task:
  container:
    image: apache/yetus:0.10.0

  ...

See also: