summaryrefslogtreecommitdiff
path: root/.cirrus.yml
Commit message (Collapse)AuthorAgeFilesLines
* tests: add Schannel-specific tests and disable unsupported onesMarc Hoersken2021-11-091-5/+5
| | | | | | | | | | | | | | | | | Adds Schannel variants of SSLpinning tests that include the option --ssl-revoke-best-effort to ignore certificate revocation check failures which is required due to our custom test CA certificate. Disable the original variants if the Schannel backend is enabled. Also skip all IDN tests which are broken while using an msys shell. This is a step to simplify test exclusions for Windows and MinGW. Reviewed-by: Jay Satiro Reviewed-by: Marcel Raad Reviewed-by: Daniel Stenberg Closes #7968
* CI: more use of test-ci make target and verbose outputMarc Hoersken2021-10-271-1/+1
| | | | | | | | | | | Replace test-nonflaky with test-ci and enable verbose output in all remaining CIs except Zuul which is customized a lot. Reviewed-by: Daniel Stenberg Reviewed-by: Jay Satiro Follow up to #7785 Closes #7832
* cirrus: remove FreeBSD 11.4 from the matrixDaniel Stenberg2021-10-181-3/+0
| | | | | | It has reached End-Of-Life and causes some LDAP CI issues. Closes #7869
* cirrus: switch to openldap24-clientDaniel Stenberg2021-10-181-1/+1
| | | | | | | | ... as it seems openldap-client doesn't exist anymore. Reported-by: Jay Satiro Fixes #7868 Closes #7869
* CI/makefiles: introduce dedicated test targetMarc Hoersken2021-10-081-1/+1
| | | | | | | | | | Make it easy to use the same set of test flags throughout all current and future CI builds. Reviewed-by: Jay Satiro Follow up to #7690 Closes #7785
* CI: align make and test flags in various config filesMarc Hoersken2021-09-271-6/+6
| | | | | | | | | | 1. Use Makefile target to run tests in autotools builds on AppVeyor. 2. Disable testing of SCP protocol on native Windows environments. 3. Remove redundant parameters -a -p from target test-nonflaky. 4. Don't use -vc parameter which is reserved for debugging. Replaces #7591 Closes #7690
* runtests: add option -u to error on server unexpectedly aliveMarc Hoersken2021-09-091-2/+2
| | | | | | | | | | | | | | | Let's try to actually handle the server unexpectedly alive case by first making them visible on CI builds as failures. This is needed to detect issues with killing of the test servers completely including nested process chains with multiple PIDs per test server (including bash and perl). On Windows/cygwin platforms this is especially helpful with debugging PID mixups due to cygwin using its own PID space. Reviewed-by: Daniel Stenberg Closes #7180
* cirrus: Add FreeBSD 13.0 job and disable sanitizer buildDaniel Gustafsson2021-09-081-9/+11
| | | | | | | | | | | | | As alluded to the in the now removed comment, a 13.0 image became available and is now ready to be used. The sanitizer builds were running on the 12.1 image which since has been removed from the config, leaving the builds not running at all. When enabled it turns out that they don't actually work due to very long timeouts in executing the tests, so keep the disabled for now but a bit more controlled. Closes #7592
* CI: use GitHub Container Registry instead of Docker HubMarc Hoersken2021-08-181-4/+4
| | | | | | Avoid limits on Docker Hub and improve image pull/download speed. Closes #7587
* CI/cirrus: reduce compile time with increased parallismMarc Hoersken2021-07-311-0/+1
| | | | | | | Cirrus CI VMs have 2 CPUs, let's use them also for Windows builds. Reviewed-by: Daniel Stenberg Closes #7505
* CI/cirrus: install impacket from PyPI instead of FreeBSD packagesMarc Hoersken2021-07-181-4/+4
| | | | | | | | | | | Availability of impacket as FreeBSD package is too flaky. Stick to legacy version of cryptography which still supports OpenSSL version 1.0.2 due to FreeBSD 11. Reviewed-by: Daniel Stenberg Closes #7418
* metalink: removeDaniel Stenberg2021-06-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Warning: this will make existing curl command lines that use metalink to stop working. Reasons for removal: 1. We've found several security problems and issues involving the metalink support in curl. The issues are not detailed here. When working on those, it become apparent to the team that several of the problems are due to the system design, metalink library API and what the metalink RFC says. They are very hard to fix on the curl side only. 2. The metalink usage with curl was only very briefly documented and was not following the "normal" curl usage pattern in several ways, making it surprising and non-intuitive which could lead to further security issues. 3. The metalink library was last updated 6 years ago and wasn't so active the years before that either. An unmaintained library means there's a security problem waiting to happen. This is probably reason enough. 4. Metalink requires an XML parsing library, which is complex code (even the smaller alternatives) and to this day often gets security updates. 5. Metalink is not a widely used curl feature. In the 2020 curl user survey, only 1.4% of the responders said that they'd are using it. In 2021 that number was 1.2%. Searching the web also show very few traces of it being used, even with other tools. 6. The torrent format and associated technology clearly won for downloading large files from multiple sources in parallel. Cloes #7176
* CI/cirrus: add shared and static Windows release buildsMarc Hoersken2021-05-161-6/+65
| | | | | | | | | | Azure Pipelines is currently being used for debug builds, let's also run some non-debug (release) Windows builds and make use of previously underutilized Cirrus CI for that. Reviewed-by: Marcel Raad Closes #6991
* ci: adapt to configure requiring an explicit TLS choiceDaniel Stenberg2021-04-221-1/+1
|
* copyright: update copyright year ranges to 2021Daniel Stenberg2021-03-271-1/+1
| | | | | Reviewed-by: Emil Engler Closes #6802
* ci: stop building on freebsd-12-1Viktor Szakats2021-02-181-1/+0
| | | | | | | | | | | | | | | | | | | An updated freebsd-12-2 image was added a few months ago, and this older one is consistently failing to go past `pkginstall`: ``` Newer FreeBSD version for package py37-mlt: To ignore this error set IGNORE_OSVERSION=yes - package: 1202000 - running kernel: 1201000 Ignore the mismatch and continue? [Y/n]: pkg: repository FreeBSD contains packages for wrong OS version: FreeBSD:12:amd64 ``` FreeBSD thread suggests that 12.1 is EOL, and best to avoid. Ref: https://forums.freebsd.org/threads/78856/ Reviewed-by: Daniel Stenberg Closes #6622
* CI/cirrus: simplify logic for disabled testsMarc Hoersken2020-11-201-10/+3
| | | | | | | | | | | | | | The OpenSSH server instance for the testsuite cannot be started on FreeBSD, therefore the SFTP and SCP tests are disabled right away from the beginning. The previous OS version specific logic for SKIP_TESTS is no longer needed/used and can therefore be removed. Reviewed-by: Daniel Stenberg Follow up to #6211 Closes #6229
* cirrus: build with FreeBSD 12.2 in CirrusCIEmil Engler2020-11-171-0/+1
| | | | Closes #6211
* curl.se: new homeDaniel Stenberg2020-11-041-1/+1
| | | | Closes #6172
* cirrus-ci: upgrade 11-STABLE to 11.4Carlo Marcelo Arenas Belón2020-07-111-3/+2
| | | | | | | | Meant to be the last of the 11 series and so make sure that all other references reflect all 11 versions so they can be retired together later. Closes https://github.com/curl/curl/pull/5668
* cirrus-ci: disable FreeBSD 13 (again)Daniel Stenberg2020-06-291-1/+1
| | | | | | | It has been failing for a good while again. This time we better leave it disabled until we have more reason to believe it behaves. Closes #5628
* test1238: avoid tftpd being busy for tests shortly followingMarc Hoersken2020-05-111-3/+3
| | | | | | | | | | | | | | | | | | | | | | The tftpd server may still be busy if the total timeout of 25 seconds has not been reached or no sread error was received during or after the execution of the timeout test 1238. Once the next TFTP test comes around (eg. 1242 or 1243), those will fail because the tftpd server is still waiting on data from curl due to the UDP protocol being stateless and having no connection close. On Linux this error may not happen, because ICMP errors generated due to a swrite error can also be returned async on the next sread call instead. Therefore we will now just kill the tftpd server after test 1238 to make sure that the following tests are not affected. This enables us to no longer ignore tests 1242, 1243, 2002 and 2003 on the CI platforms CirrusCI and AppVeyor. Assisted-by: Peter Wu Closes #5364
* cirrus: disable SFTP and SCP testsDaniel Stenberg2020-04-301-3/+3
| | | | | | | | | ... as we can't seem to start the sshd server on it. Those problems existed before d1239b50bececd (running the SSH server on a random port), but they're more noticable now since there are more failed attempts in the logs. Closes #5315
* cirrus: no longer ignore test 504 which is working againMarc Hoersken2020-04-131-1/+1
| | | | The test is working again, because TCP blackholing is disabled.
* copyright: fix out-of-date copyright ranges and missing headersDaniel Stenberg2020-03-241-0/+21
| | | | | | | | | Reported by the new script 'scripts/copyright.pl'. The script has a regex whitelist for the files that don't need copyright headers. Removed three (mostly usesless) README files from docs/ Closes #5141
* cirrus: make freebsd ignore the tests instead of skippingDaniel Stenberg2020-03-231-3/+3
| | | | | | To allow us to see in the CI logs how they actually behave Closes #5091
* cirrus: move the sanitizer build from freebsd 13 to freebsd 12Daniel Stenberg2020-03-231-2/+1
|
* Revert "cirrus-ci: disable the FreeBSD 13 builds"Daniel Stenberg2020-03-231-1/+1
| | | | This reverts commit 691b71be930f0e285c8f7a76efd56bbe0576cda6.
* tests: make Python-based servers compatible with Python 2 and 3Marc Hoersken2020-03-191-1/+5
| | | | | | | | | | | | | | | | Update smbserver.py and negtelnetserver.py to be compatible with Python 3 while staying backwards-compatible to support Python 2. Fix string encoding and handling of echoed and transferred data. Tested with both Python 2.7.17 and Python 3.7.7 Reported-by: Daniel Stenberg Assisted-by: Kamil Dudka Reviewed-by: Marcel Raad Fixes #5104 Closes #5110
* CI: stop ignoring 323, it is disabledDaniel Stenberg2020-03-171-2/+2
|
* ci/tests: install impacket for SMB tests on FreeBSD using CirrusCIMarc Hoersken2020-03-151-1/+2
| | | | | | Also force the package index/cache to be updated before installing. Closes #5103
* cirrus-ci: disable the FreeBSD 13 buildsDaniel Stenberg2020-03-041-1/+1
| | | | | | | | | | FreeBSD 13.0 is apparently close to a year away from a stable release and has proven to cause intermittent builds failures recently. Assisted-by: Dan Fandrich Assisted-by: Fedor Korotkov Fixes #5028 Closes #5029
* cirrus: Add some missing semicolonsDan Fandrich2020-02-031-3/+3
| | | | | | | Newlines aren't preserved in this section so they're needed to separate commands. The exports luckily worked anyway as a single long line, but erroneously exported a variable called "export" [skip ci]
* cirrus: Switch to the FreeBSD 12.1 point release & enable more tests.Dan Fandrich2019-12-161-5/+5
| | | | | A few tests are now passing on FreeBSD, so no longer skip them. [skip ci]
* cirrus: Drop the FreeBSD 10.4 buildDan Fandrich2019-12-131-2/+1
| | | | | | Upstream support for 10.4 ended a year ago, and it looks like the image is now gone, too. [skip ci]
* cirrus: enable clang sanitizers on freebsd 13Daniel Stenberg2019-12-091-0/+7
|
* cirrus: switch off blackhole status on the freebsd CI machinesDaniel Stenberg2019-10-091-0/+4
|
* cirrus: Increase the git clone depth.Dan Fandrich2019-10-091-1/+1
| | | | | | | If more commits are submitted to master between the time of triggering the first Cirrus build and the time the final build gets started, the desired commit is no longer at HEAD and the build will error out. [skip ci]
* cirrus: Switch the FreeBSD 11.x build to 11.3 and add a 13.0 build.Dan Fandrich2019-10-091-6/+13
| | | | | | Also, select the images using image_family to get the latest snapshots automatically. [skip ci]
* cirrus: Customize the disabled tests per FreeBSD versionDan Fandrich2019-04-011-3/+7
| | | | | | Try to run as many test cases as possible on each OS version. 12.0 passes 13 more tests than the older versions, so we might as well run them.
* cirrus: Added FreeBSD builds using Cirrus CI.Dan Fandrich2019-02-101-0/+32
The build logs will be at https://cirrus-ci.com/github/curl/curl Some tests are currently failing and so disabled for now. The SSH server isn't starting for the SSH tests due to unsupported options used in its config file. The DICT server also is failing on startup.