Commit Graph
9823 Commits
Author SHA1 Message Date
Kenneth Hsu b9e16cb136 Fix step name.
Apparently, the name cannot reference environment variables.
2021-02-06 13:12:22 -08:00
Kenneth Hsu 1af3dea72a Change step name. 2021-02-06 12:59:25 -08:00
Kenneth Hsu 4c3e6079fd Add report title to test result reporter. 2021-02-06 12:59:02 -08:00
Kenneth Hsu 5fe8354c78 Use latest nunit test reporter. 2021-02-06 12:57:26 -08:00
Kenneth Hsu 8aa08fbc6a Remove unnecessary build steps.
These are not needed to run the tests.
2021-02-06 12:44:09 -08:00
Kenneth Hsu a352b34ab5 Revert "Try different test result reporter."
This reverts commit 7aa4890cfd.

Although this is advertised to support NUnit, it doesn't appear to
support NUnit format XML test result files.
2021-02-06 12:36:47 -08:00
Kenneth Hsu 7aa4890cfd Try different test result reporter. 2021-02-06 12:26:01 -08:00
Kenneth Hsu aca2f18634 Test deliberate test failure. 2021-02-06 11:51:30 -08:00
Kenneth Hsu 3eb8e54a21 Add step to publish unit test results. 2021-02-06 11:44:02 -08:00
Kenneth Hsu e4ea017a8c Add workflow name. 2021-02-06 11:26:07 -08:00
Kenneth Hsu 4bec3dc381 Add step to run Utility unit tests. 2021-02-06 11:19:33 -08:00
Kenneth Hsu 1608154514 Skip build of DependencyFinder.
This fails with the following error:

Program.cs(42,36): error CS1503: Argument 1: cannot convert from 'string' to 'Mono.Cecil.AssemblyNameReference' [/home/runner/work/duplicati/duplicati/BuildTools/DependencyFinder/DependencyFinder.csproj]
2021-02-06 11:07:36 -08:00
Kenneth Hsu fc249b9df3 Add steps to build projects and solutions. 2021-02-06 11:05:26 -08:00
Kenneth Hsu f18b1699a9 Disable AppVeyor and Travis builds. 2021-02-06 10:54:25 -08:00
Kenneth Hsu fcb3290afa Add step to restore NuGet packages. 2021-02-06 10:53:41 -08:00
Kenneth Hsu 24d1794f28 Add step to checkout code. 2021-02-06 10:44:06 -08:00
Kenneth Hsu dde093a332 Fix spelling. 2021-02-06 10:40:13 -08:00
Kenneth Hsu 027cccb817 Run apt-get as root. 2021-02-06 10:38:16 -08:00
Kenneth Hsu cde257cc4e Add initial unit test workflow definition.
This simply attempts to install mono on ubuntu-latest.
2021-02-06 10:30:45 -08:00
Kenneth Hsu 88f6b1e55e Update SSH.NET to version 2020.0.1.
From the release notes:

Even though RFC 4253 requires that an identification string MUST be
terminated by a carriage return and line feed, this fix restores support
for banners and identification strings that are only terminated by a
line feed.

This is a workaround for an issue in version 7.4 of OpenSSH which was
fixed in version 7.5.
2021-01-24 10:14:02 -08:00
Kenneth Skovhede c47a356d6f Change python to python2 for tools.
Fixes issues #4316
2021-01-23 09:32:28 +01:00
Sergio CambraandGitHub f0d0350cbe Update login.js
Fix login with revese proxy with base uri

I have duplicati on hostname/duplicati/, ./login.cgi requests to auth were working, sent to /duplicati/login.cgi which proxies to duplicati docker instance, however it was redirected to hostname/ instead of hostname/duplicati/. Changing / to ./ fixes it
2021-01-22 12:27:58 +01:00
Kenneth Skovhede 321fc31efd Updated changelog in RPM source build script 2021-01-21 12:30:03 +01:00
Kenneth Skovhede 4ec1cf83d5 Updated the RPM source build to have fewer warnings and use msbuild. 2021-01-21 12:26:49 +01:00
Kenneth Skovhede 72d0aa9d3b Now mangling the shebang for DuplicatiVerify.ps in RPMs as it is fixed in source. 2021-01-21 12:26:11 +01:00
Kenneth Skovhede 322a24950c Updated RPM spec file to ignore non-executable files 2021-01-21 11:25:55 +01:00
Kenneth Skovhede 62591f8d66 Changed verify script to explicitly mention python2 2021-01-21 11:23:55 +01:00
Kenneth Skovhede 14a1a19654 Updated the RPM diff file to be in-sync with the project file changes 2021-01-21 09:26:56 +01:00
Kenneth Skovhede 67aaab15e3 Version bump to v2.0.5.112-2.0.5.112_canary_2021-01-20
You can download this build from:

Binaries: https://updates.duplicati.com/canary/duplicati-2.0.5.112_canary_2021-01-20.zip

Signature file: https://updates.duplicati.com/canary/duplicati-2.0.5.112_canary_2021-01-20.zip.sig

ASCII signature file: https://updates.duplicati.com/canary/duplicati-2.0.5.112_canary_2021-01-20.zip.sig.asc

MD5: 96c6a05c1e702b0b866b42b34e45b9bf

SHA1: 29c0e23b944f4d09c0e7e3a2040db8faf1dbb224

SHA256: 61f84d13ec0f20023922f01a5d61ad77c4a724d88763b8e393fb81ac8ceb6607
v2.0.5.112-2.0.5.112_canary_2021-01-20
2021-01-20 21:58:28 +01:00
Kenneth Skovhede 943eff7502 Updated timestamp service after verisign was shut down 2021-01-20 21:54:18 +01:00
Kenneth SkovhedeandGitHub 14835d72e1 Merge pull request #4404 from warwickmm/fix_docker_restore_query
Fix restore issue in Docker installations
2021-01-17 22:22:49 +01:00
Thomas Suckow 3056824ff1 Artifact naming 2021-01-17 10:19:42 -08:00
Thomas Suckow 46440ebf40 More greedy regex 2021-01-17 10:13:40 -08:00
Thomas Suckow acb557314f Maybe carriage return? 2021-01-17 10:09:31 -08:00
Thomas Suckow 761eacc55d Ugh 2021-01-17 09:53:09 -08:00
Thomas Suckow ffc7b165ad Why newline why 2021-01-16 16:46:45 -08:00
Thomas Suckow aad89b9bda Try to mitigate newline 2021-01-16 16:38:12 -08:00
Thomas Suckow 5e8db0cead Fix execute bit 2021-01-16 16:19:46 -08:00
Thomas Suckow bb0a6e8a12 Get debian packages building (untested) 2021-01-16 16:13:00 -08:00
Kenneth Hsu 11bd54d160 Fix test for DUPLICATI__PARSED_RESULT on Windows. 2021-01-14 20:21:47 -08:00
Kenneth Hsu 148788a879 Add test for DUPLICATI__PARSED_RESULT environment variable.
This concerns issue #4222.
2021-01-14 19:39:03 -08:00
Kenneth Hsu 7d5b51482c Make DUPLICATI__PARSED_RESULT consistent with OperationAbortReason.
Previously, any exception, including OperationAbortExceptions thrown due
to run-script-before exit codes, would result in a Fatal parsed result.

This fixes #4222.
2021-01-14 19:38:55 -08:00
Kenneth Hsu c11f7c2e47 Avoid testing scripts with exit code -1.
The behavior is not consistent or well-defined across shells.

https://unix.stackexchange.com/questions/418784/what-is-the-min-and-max-values-of-exit-codes-in-linux
2021-01-10 15:53:51 -08:00
Kenneth Hsu 359ae2c85b Add test for unsupported script exit codes. 2021-01-10 10:44:58 -08:00
Kenneth Hsu 312c88e7e4 Abort with error if script exits with unsupported code.
This makes the code more consistent with the documentation in the
example scripts.
2021-01-10 10:44:58 -08:00
warwickmmandGitHub 408e50b76b Merge pull request #4415 from warwickmm/fix_integration_tests
Fix UI integration tests that now require Python 3.
2021-01-10 10:22:42 -08:00
Kenneth Hsu 683ec18df2 Always maximize window in selenium tests.
There are random times when the input fields cannot be found, and this
seems to help.
2021-01-09 18:55:21 -08:00
Kenneth Hsu ba345f0653 Use python3.
The latest selenium/standalone-firefox image is based on Ubuntu 20.04,
which doesn't support Python 2.
2021-01-09 18:45:14 -08:00
Kenneth Hsu 5ef1857235 Use included mono version in integration tests.
The latest selenium/standalone-firefox image is based on Ubuntu 20.04,
which has support for mono 6.8.0.105.
2021-01-09 18:45:14 -08:00
Kenneth Hsu e55662961c Update print statements to be compatible with Python 3.
The latest selenium/standalone-firefox image is based on Ubuntu 20.04,
which doesn't support Python 2.
2021-01-09 18:45:14 -08:00