git: 5d371834d29c - main - Cirrus CI: Trigger on pull requests or downstream repos
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 Oct 2023 19:13:45 UTC
The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=5d371834d29c3c716148f201bb8c1f68f15218fb commit 5d371834d29c3c716148f201bb8c1f68f15218fb Author: Jose Luis Duran <jlduran@gmail.com> AuthorDate: 2023-10-06 12:13:26 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2023-10-09 19:13:21 +0000 Cirrus CI: Trigger on pull requests or downstream repos Since Cirrus Labs is limiting their free usage tier [1], limit CI runs on pull requests only. Otherwise, we might deplete our monthly quota within a few days. Adapt the task amd64-llvm16 to execute on downstream repos or on pull requests only. Other alternatives will be further studied. [1]: https://cirrus-ci.org/blog/2023/07/17/limiting-free-usage-of-cirrus-ci/ --- .cirrus.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.cirrus.yml b/.cirrus.yml index 99a6e0106897..18417b52e6c9 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -23,6 +23,7 @@ task: TOOLCHAIN: llvm15 TOOLCHAIN_PKG: ${TOOLCHAIN}-lite - name: amd64-llvm16 World and kernel build and boot smoke test + only_if: $CIRRUS_REPO_FULL_NAME != 'freebsd/freebsd-src' || $CIRRUS_BRANCH =~ 'pull/.*' env: TARGET: amd64 TARGET_ARCH: amd64