Commit graph

151 commits

Author SHA1 Message Date
crobibero
7d992798fd specify client specifically instead of through template 2020-10-02 07:40:44 -06:00
crobibero
fcc9482ff9 Generate document file for openapi spec in CI 2020-10-02 07:07:48 -06:00
crobibero
810ec0b672 Fix download api spec 2020-10-02 07:00:57 -06:00
Erwin de Haan
c0de26f69a Publish OpenAPI Spec to repository server 2020-10-01 17:57:40 +02:00
Erwin de Haan
9585fea51e
Update azure-pipelines.yml 2020-10-01 17:38:36 +02:00
crobibero
6ffffa95a7 Use jar directly 2020-09-06 08:26:36 -06:00
crobibero
320e3b98ab Add ci task to publish api client 2020-09-05 23:32:21 -06:00
Erwin de Haan
7ced6d1c8c Enable code coverage and upload OpenAPI spec.
Add basic test to write out the actual openapi spec.
2020-09-03 22:44:31 +02:00
Erwin de Haan
424f53c966 Only trigger on v* tags and also run Main build on master commits. 2020-09-02 22:54:24 +02:00
Erwin de Haan
346581bb2a Fixes for CI Nuget package pushing and CI triggers
Also adds SourceLink support and symbols that are pushed to Nuget.
Add symbols to main nuget packages for unstable builds (Azure Artifacts does not support symbols outside of the main package)
SourceLink will enable stepping during debugging.
2020-09-02 22:42:00 +02:00
Joshua M. Boniface
dcef8636d5
Merge pull request #3863 from jellyfin/EraYaN-artifacts-nohup
Add nohup and continueOnError to the Collect Artifacts task
2020-09-02 15:43:41 -04:00
David
2b32ebb3cc Build Unstable Nuget packages 2020-08-13 19:03:47 +02:00
David
f92efc7f9b Add Publish Artifacts task 2020-08-13 15:35:56 +02:00
David
a61f6e3308 Fix nuget ci 2020-08-13 15:22:12 +02:00
Erwin de Haan
900101de62
Re-enable the ABI checks. 2020-08-10 12:26:25 +02:00
Erwin de Haan
47cb4a1547
Add nohup and continueOnError to the Collect Artifacts task 2020-08-10 12:24:56 +02:00
Erwin de Haan
25daa7db42
Merge the args and commands item for the artifact collection 2020-08-04 22:35:23 +02:00
Bond-009
7368cbbd2f
Merge pull request #3774 from jellyfin/ci-CollectArtifacts-timeout
Add a much shorter timeout to the CollectArtifacts job
2020-08-04 19:58:20 +02:00
dkanada
b4c6ae9aba
disable compatibility checks for now 2020-08-04 01:02:02 +09:00
Erwin de Haan
3ee28c016a Switch to sudo -n 2020-08-01 00:32:25 +02:00
Erwin de Haan
7c60510bc9 Experiment for the SSH task. 2020-08-01 00:20:47 +02:00
Erwin de Haan
a6d80f557d
Add a much shorter timeout to the CollectArtifacts job 2020-07-31 21:40:09 +02:00
Joshua M. Boniface
2d8d3ba826 Flip quoting in variable set command
The quoting as-is was broken and would result in a junk output. This
way, the proper value is obtained.
2020-07-28 00:21:30 -04:00
Joshua M. Boniface
0798ab3945 Get and tag with the actual release version in CI 2020-07-27 21:41:51 -04:00
Joshua M. Boniface
2f2fe3552d Fix typo in CI configuration 2020-07-19 17:54:46 -04:00
Joshua M. Boniface
dfd00c7b24 Add NuGet publish step to tag CI 2020-07-19 14:01:32 -04:00
Joshua M. Boniface
b4212cc210 Explicitly add what Azure used to do implicitly
... before they changed it on us out of nowhere.
2020-07-13 14:36:35 -04:00
Joshua M. Boniface
6d0a3a110b Explicitly exit from inline script 2020-07-06 23:03:42 -04:00
Joshua M. Boniface
8bef24f331 Use weird other formating that AZP wants 2020-07-06 22:32:30 -04:00
Joshua M. Boniface
9d9c9a5945 Remove unneeded conditions that are now in parent 2020-07-06 22:14:25 -04:00
Joshua M. Boniface
aab79ef346 Add conditionals to root YAML definition
Prevents running builds (that get skipped) in PR CI, and prevents
running tests (which are irrelevant) in Merge CI.
2020-07-06 22:12:39 -04:00
Joshua M. Boniface
2506feb544 Update branch checks from azure-ci to master 2020-06-20 15:03:25 -04:00
Joshua M. Boniface
b778bcdb37 Update strategy names for Docker 2020-06-19 17:33:07 -04:00
Joshua M. Boniface
7b1190cb28 Build builder docker images in Azure 2020-06-19 17:20:48 -04:00
Joshua M. Boniface
3599ae7186 Add Azure pipelines configuration for server 2020-06-19 16:25:11 -04:00
Erwin de Haan
427632611a Remove extract task. 2020-06-10 14:09:34 +02:00
Erwin de Haan
4c9216012b Install compatibility tool from nuget instead of pulling a github release. 2020-06-10 14:01:37 +02:00
dkanada
c99ad51c65 use single quotes in the main pipeline 2020-06-07 14:38:46 +09:00
dkanada
65765bda7e rename abi pipeline 2020-06-07 14:37:08 +09:00
dkanada
e7a49f73cd disable sonarcloud until secrets are working 2020-06-07 14:33:10 +09:00
Mark Monteiro
9a401c3728 Only run SonarCloud analysis for ubuntu tests 2020-04-21 17:55:19 -04:00
Mark Monteiro
66364eba92 Add tasks required for SonarCloud integration 2020-04-21 15:53:22 -04:00
dkanada
b937eb0c11
change conditional for download task on ci
Co-Authored-By: Mark Monteiro <marknr.monteiro@protonmail.com>
2020-04-13 14:34:31 +09:00
dkanada
4758e75090 leave files in destination folder during extraction 2020-04-13 02:34:52 +09:00
dkanada
8c6e1ef27e fix pipeline references 2020-04-13 02:27:42 +09:00
dkanada
129e844252 use web artifacts for build step on ci 2020-04-13 02:20:37 +09:00
dkanada
f4cba0ed43 fix dependency for compat job 2020-04-08 01:42:45 +09:00
dkanada
0a6faefe3a minor changes to main build job 2020-04-08 01:36:36 +09:00
dkanada
ea00abcf4e remove old windows job from pipeline 2020-04-08 01:29:54 +09:00
Mark Monteiro
887e9c2020 Remove unnecessary execution of yarn build:production 2020-03-20 11:46:51 +01:00
Mark Monteiro
6894602dab Use 'yarn build:production' instead of 'yarn:build' everywhere 2020-03-20 11:36:21 +01:00
Mark Monteiro
f4b2cdfce9 Fix another pipleine 2020-03-15 19:32:14 +01:00
Mark Monteiro
876c4681d0 Build web client correctly 2020-03-15 19:24:27 +01:00
dkanada
a562a4d505 minor linting for ci files 2020-01-19 00:19:19 +09:00
Erwin de Haan
67cae37308 Formatting and comment removal. 2020-01-15 11:39:47 +01:00
Erwin de Haan
da91b4fa4c Split CI testing files
Switch to cobertura for code coverage
Switch to dotnet test for tests
Add matrix run for different platforms
Add extra variables for easier maintenance
2020-01-15 11:05:57 +01:00
Erwin de Haan
312987aea5
Build all test projects using a wildcard 2020-01-09 17:39:17 +01:00
Erwin de Haan
654336990f
Added plural glob for test assemblies 2020-01-09 17:31:44 +01:00
Erwin de Haan
d328fc51cf
Apply suggestions from code review
Co-Authored-By: Bond-009 <bond.009@outlook.com>
Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
2020-01-09 17:28:20 +01:00
Erwin de Haan
6792fa111e
Fix the test selection glob. 2020-01-09 17:27:48 +01:00
Erwin de Haan
1fecb9efb2
Fix the VSTest runner 2020-01-09 17:17:52 +01:00
Erwin de Haan
21b78f44c8
Add new dotnet version to compat stage as well. 2020-01-05 19:30:32 +01:00
Erwin de Haan
65f65db8b9
Re-enable compat checks. 2020-01-05 19:25:33 +01:00
Erwin de Haan
2ca7200a05
Updated for v0.0.5 of the compat checker. 2020-01-05 19:24:24 +01:00
dkanada
d599124508 manually disable compatibility check 2020-01-05 16:39:48 +09:00
dkanada
c7d5f35eb7 update display names for some ci steps 2020-01-05 16:32:24 +09:00
dkanada
303385dfa2 remove unused parameters 2020-01-05 16:08:19 +09:00
dkanada
f1008ab58d update job names 2020-01-05 16:01:42 +09:00
dkanada
e5e0166951 update dotnet version for ci 2020-01-05 15:59:31 +09:00
Erwin de Haan
f12c9bf3b0 Added tag building support to Windows Web build. 2019-11-24 23:01:18 +01:00
Anthony Lavado
bde1af5def Add the tray app download to the build script, use it in the installer shortcuts
Adds the tray app download to build-jellyfin, adjusts the shortcuts in the installer, and adds the switch to the pipeline configuration.
2019-10-30 18:16:31 -04:00
Erwin de Haan
b2ba3a5922
Fix SourceBranch -> SourceBranchName in git clone for Web UI 2019-09-29 23:46:09 +02:00
Erwin de Haan
a73d87229a Add extra conditions. 2019-09-24 16:38:51 +02:00
Erwin de Haan
e9fb46b0cd Fix path typo and add same code to main build. 2019-09-24 16:32:57 +02:00
Erwin de Haan
0ca0d9d01e Remove submodule and add clone and build to CI 2019-09-24 16:22:26 +02:00
Joshua M. Boniface
8ba86fe272
Merge pull request #1765 from EraYaN/ci-add-submodule-update
Add submodule update to CI build.
2019-09-18 14:55:19 -04:00
Erwin de Haan
9c95eba5a1 Add VSTest support to CI (#1696)
* Add VSTest support to CI

Add result publishing

Move tests to windows.

Spacing issue.

Image name update.

* Passthrough main debug build

* Rectify mistake and build test assemblies seperately.

* Remove Test dependency
2019-09-18 11:43:02 -04:00
Erwin de Haan
f8fed49225 Another condition update. 2019-09-17 16:45:18 +02:00
Erwin de Haan
8b438b68cc Added Better submodule updates. 2019-09-17 16:40:11 +02:00
Erwin de Haan
8f2ec3b197 Add submodule update to build. 2019-09-17 16:23:27 +02:00
Erwin de Haan
6fa1c5e214 Fix release symlink name. 2019-09-17 01:41:14 +02:00
Erwin de Haan
831ce4da13 Skip checkout for Publish CI pipelines 2019-09-17 01:37:42 +02:00
Erwin de Haan
24a5bebabe Fix yaml parse error 2019-09-17 01:33:17 +02:00
Erwin de Haan
42f761582f Add two manually triggered pipelines for publishing artifacts. (#1763)
* Added two extra pipelines.

* Change the sshEndpoint
2019-09-16 19:23:52 -04:00
Erwin de Haan
2f2010ce59 NSIS improvements (#1692)
* Much better, but still broken

It crashes with two custom pages after one another. (So when the service should be installed).

* Fixed the problems and finished the NSIS installer.

Also ignored some of the artifacts.

* Added changes to CI for setup building.

Consolidate building and fixed git error.

Small CI fixes.

Move UX repo to SourcesDirectory

Fix stupid checkout <> clone error.

Fix typo in PowerShell command.

Artifact publish tasks can not have wildcards.
2019-09-09 17:40:51 -04:00
Erwin de Haan
9faf035413
Add the --azure-pipelines switch to the compat checker 2019-07-28 21:01:18 +02:00
Erwin de Haan
440177a43d
Update the GitHub token to a Grant Auth token. 2019-07-07 00:20:37 +02:00
Erwin de Haan
fc55b44e4b
Update the GitHub connection name to use the GitHub App token 2019-07-07 00:03:59 +02:00
Erwin de Haan
2c8df07753 Fix some task names. 2019-07-05 13:03:34 +02:00
Erwin de Haan
08421311b9 Switch download order around. 2019-07-05 12:10:57 +02:00
Erwin de Haan
dc68fa2c8b Disable seperate build and restore. 2019-07-05 12:06:01 +02:00
Erwin de Haan
ff373621b3 Switch to next gen artifacts. 2019-07-05 12:02:35 +02:00
Erwin de Haan
272691aacd Switched to specific download. 2019-07-05 11:37:14 +02:00
Erwin de Haan
46623bc985 Try with hardcoded name. 2019-07-05 11:32:25 +02:00
Erwin de Haan
3462147195 Switched to latest ubuntu image and hardcoded definitionId. 2019-07-05 11:17:48 +02:00
Erwin de Haan
268fe5efe8 Small attempts at making previous build downloads work. 2019-07-05 11:11:46 +02:00
Erwin de Haan
7b4e16bb8f Disabled dotnet_compat part of pipeline. 2019-04-09 00:43:25 +02:00
Erwin de Haan
1d443d2ff5 Do not use the nuget packages for comparison, but the last master build (#1091)
* Do not use the nuget packages for comparison, but the last master build.
* Only allow passing builds.
2019-03-13 21:09:08 +01:00
Erwin de Haan
8a680ae324 Update to renamed DownloadGitHubRelease task (Microsoft/azure-pipelines-tasks#9481) 2019-03-07 22:00:28 +01:00
Erwin de Haan
feb5b62ad4 Enabled clean and updated the Github Connection Name 2019-02-27 00:53:16 +01:00