aboutsummaryrefslogtreecommitdiff
path: root/.cirrus.yml
Commit message (Collapse)AuthorAgeFilesLines
* Cirrus-CI: Use the default Git history depthFedor Korotkov2021-06-071-3/+0
| | | | | | | | | | | | | | | | | | | | Which is `50`. I saw a few errors like `Failed to force reset to SHA: object not found!` which seems is happening because the SHA is not available because there were two commits pushed almost simultaneously and the second from the top fails with this error because the SHA is not in the history. Pull Request: https://github.com/freebsd/freebsd-src/pull/454 Comments on re-commit from emaste: Originally committed as fcb4797c90f3 and reverted in 80a840b8ba03 due to the clone operation taking significantly longer. However, I have seen many failures due to the "object not found" issue recently. 7 of 37 recent runs failed because of this, and intermittent failures like this makes CI much less useful. Prefer longer-running runs to intermittent failures.
* Cirrus-CI: retry pkg installation on failureEd Maste2021-06-031-1/+1
| | | | | | | | | | | | | | | Pkg installation failed somewhat frequently, always at: [62/104] Fetching jpeg-turbo-2.0.6.txz: .......... done pkg: http://pkgmir.geo.freebsd.org/FreeBSD:13:amd64/quarterly/All/jbigkit-2.1_1.txz: No route to host Move pkg installation to a script and retry once upon failure as a (hopefully temporary) workaround. Reviewed by: imp MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D30613
* Cirrus-CI: Add descriptive task nameEd Maste2021-06-021-0/+1
| | | | | | | | Previously it appeared only as "main" in places like GitHub's list of checks run as part of a pull request. MFC after: 1 week Sponsored by: The FreeBSD Foundation
* Restore Cirrus-CI boot smoke testEd Maste2021-05-051-2/+9
| | | | | | | | | | | | This reverts commit a7d593dd1da27833b5384349700bc3c7bcae6aad. We now use compute_engine_instance which allows us to specify a custom disk size. Also go back to using the default qemu version (rather than qemu42 or qemu-devel) as any issues were fixed some time ago. Reviewed by: lwhsu, markj MFC after: 1 month Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D30082
* Cirrus-CI: switch to Clang/LLVM 12Ed Maste2021-05-041-2/+2
| | | | | | | | | | dim@ is preparing to import Clang/LLVM 12 into the base system as the system compiler / toolchain. Apply the same change to the Cirrus-CI config. Reviewed by: imp, markj Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D30109
* Cirrus-CI: use FreeBSD 13.0 image for base system CI buildEd Maste2021-04-191-3/+3
| | | | | | | | | We generally want to build and test on the highest release version, and FreeBSD 13.0 also brings some performance benefits. Reviewed by: lwhsu Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D29842
* Cirrus-CI: Add more information to help track down disk full issuesEd Maste2021-03-031-1/+5
| | | | | Execute df(1) before and after the build (reporting in MiB for consistency), and du(1) of /usr/obj. Also include the uname.
* Cirrus-CI: temporarily avoid qemu smoke test bootEd Maste2021-03-011-5/+1
| | | | | | | | | | | Cirrus-CI has been red for some time because we're running out of disk space on the ephemeral GCP VMs. For now remove the package + qemu boot, and just check for build regressions. This change to be reverted once we have identified and addressed the underlying issue. Sponsored by: The FreeBSD Foundation
* Cirrus-CI: show mounted filesystems and free space at startEd Maste2021-03-011-1/+2
| | | | | CI runs have been encountering disk full errors. Add a `df` invocation so that we can see what we're working with.
* Revert "Cirrus-CI: Use the default Git history depth"Ed Maste2021-01-291-0/+3
| | | | | | | | | | This reverts commit fcb4797c90f3f62a18b67542ae5b576a1271e6d4. With `CIRRUS_CLONE_DEPTH` unspecified (using the default of 50) the time to clone the repo increased from a little under 2 minutes to over 6 minutes, possibly due to additional processing required by GitHub. We will want to watch out for occasional `Failed to force reset to SHA: object not found!` errors.
* Cirrus-CI: remove svn2git remnantEd Maste2021-01-291-1/+0
| | | | | | | | | Previously Cirrus was skipped on svn_head to avoid running CI on two different branches with identical content. With the transition to git this serves no purpose. Reported by: kevans Sponsored by: The FreeBSD Foundation
* Cirrus-CI: Use the default Git history depthFedor Korotkov2021-01-291-3/+0
| | | | | | | | | | Which is `50`. I saw a few errors like `Failed to force reset to SHA: object not found!` which seems is happening because the SHA is not available because there were two commits pushed almost simultaneously and the second from the top fails with this error because the SHA is not in the history. Pull Request: https://github.com/freebsd/freebsd-src/pull/454
* CI: switch to qemu42 packageEd Maste2020-10-291-1/+1
| | | | | | | | | It appears that booting FreeBSD from qemu's synthesized FAT filesystem broke somehow in a recent qemu-devel update. qemu42 works so switch to it for now. Notes: svn path=/head/; revision=367125
* Speed up Cirrus CI by using CROSS_TOOLCHAINAlex Richardson2020-10-281-4/+6
| | | | | | | | | | | | | | | | | | | Installing the llvm11 package instead of bootstrapping it from the source tree reduces the build time by about 20 minutes. The last freebsd/freebsd build that was tested (r366629) took 1h 21m 22s, whereas my GitHub fork with this .cirrus.yml took 58m 6s. We could probably further reduce time by using images that have LLVM pre-installed: the pkg install step took 4 minutes 30s. Since the bootstrap toolchain is still tested by Jenkins, this should not reduce test coverage of the CI testing. Reviewed By: emaste Differential Revision: https://reviews.freebsd.org/D26747 Notes: svn path=/head/; revision=367102
* Cirrus-CI: skip svn_head branchEd Maste2020-09-191-0/+1
| | | | | | | | | | svn_head has the same content as the master or main branch (it's just the result of a `git svn` conversion instead of svn2git). Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=365902
* Cirrus-CI: build as an unprivileged userEd Maste2020-09-171-2/+6
| | | | | | | | | | | | | | | The Cirrus-CI-provided working tree is owned by root. Leave that as is for simplicity but build as an unprivileged user; this tests building with an unmodifiable source tree as a side effect. Continue running the smoke test as root for now, as it failed when run as an unprivileged user - pkg reported "Fail to chmod /usr/bin/.pkgtemp.lpq.dUHpEqPGJ9pq:Operation not permitted" Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=365846
* Cirrus-CI: increase timeout to 120mEd Maste2020-02-191-1/+1
| | | | | | | | | | For some reason build+package+test time went from about 1h10 to over 1h30 (killed due to timeout prior to completion). The reason for the increase still needs investigation. Notes: svn path=/head/; revision=358120
* Cirrus-CI: add `make packages` to CI testEd Maste2020-01-191-0/+2
| | | | | | | | | | | | | Now that we can override the format to avoid the time spent compressing pkgbase packages we can test `make packages` with only 5 minutes or so added to the CI cycle time. A future change should switch the CI smoke test to using these packages. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=356900
* Cirrus-CI: bump VM image to FreeBSD 12.1Ed Maste2020-01-181-1/+1
| | | | | | | | | 12.0 will be EOL. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=356867
* cirrus.yml: stop fetching OVMF.fd now that we're using the pkgEd Maste2019-07-301-1/+0
| | | | | | | | | Missed in r350302 Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=350449
* cirrus.yml: use OVMF.fd from uefi-edk2-qemu-x86_64 packageEd Maste2019-07-241-2/+2
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=350302
* Cirrus-CI: pass OVMF env var to test script for upcoming changesEd Maste2019-04-111-1/+1
| | | | | | | | | In review D19876 ian@ has some proposed improvements to the tools/boot/ci-qemu-test.sh script. Start specifying the location of OVMF.fd fetched by the Cirrus-CI build in advance of those changes. Notes: svn path=/head/; revision=346121
* Add Cirrus CI config file to support CI builds (in downstream projects)Ed Maste2019-04-101-0/+19
Make use of the CI smoke test script added in r346080. Reviewed by: imp, lwhsu Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=346085