Commit Graph

173 Commits

Author SHA1 Message Date
crobibero
3c8800604e Update test sdk 2020-11-13 09:48:26 -07:00
crobibero
83ac7d2674 Fix ci condition 2020-11-13 08:02:45 -07:00
crobibero
9b7c5cddae Update build ci, dockerfiles to .Net5.0 2020-11-10 10:03:21 -07:00
crobibero
d2f439efd2 Remove unstable npm ci task 2020-11-08 10:22:38 -07:00
Joshua M. Boniface
8d66eff4fd
Merge pull request #4427 from joshuaboniface/nohup-fix
Reverse order of sudo and nohup
2020-11-06 13:07:42 -05:00
Joshua M. Boniface
a4e67dac80 Reverse order of sudo and nohup
Otherwise I'm forced to allow `sudo nohup` globally which is bad news
bears.
2020-11-06 13:00:59 -05:00
Bond-009
d27ff407ad
Merge pull request #4426 from joshuaboniface/nohup-fix
Remove spurious argument to nohup
2020-11-06 18:33:38 +01:00
Joshua M. Boniface
e2ab7af033 Remove spurious argument to nohup 2020-11-06 12:32:06 -05:00
Joshua M. Boniface
ca40eff83d Restore missing targetFolder 2020-11-06 12:00:00 -05:00
dkanada
d9ea1ac12d
disable two more tasks to fix the failures 2020-11-04 13:49:49 +09:00
dkanada
25f93a9af4
disable compatibility checks until they work again 2020-11-03 23:18:30 +09:00
crobibero
58b82b886f Add npmAuthenticate task 2020-10-14 18:16:58 -06:00
crobibero
5109d558d9 fix npm install order 2020-10-09 09:52:05 -06:00
crobibero
60c0cc1d1c Fix feed name and url 2020-10-09 08:51:22 -06:00
crobibero
2a6ea45ee1 Run npm install task 2020-10-09 08:43:59 -06:00
crobibero
8bf560c41e fix registry name and link 2020-10-05 13:00:07 -06:00
Joshua M. Boniface
fc28ffea53 Improve handling of apiclient generator
1. Replace the separate stable/unstable scripts with a single script and
handle the difference with argument parsing.
2. Unify the calls and pass the Azure arguments in on the CLI.
2020-10-04 19:03:39 -04:00
Joshua M. Boniface
cb94b5a944
Merge pull request #4070 from crobibero/ci-api-client
Add ci task to publish api client
2020-10-02 16:57:50 -04:00
Joshua M. Boniface
5f65fd93a1
Merge pull request #4249 from jellyfin/EraYaN-openapi-spec-fix
Publish OpenAPI spec for master and tagged releases
2020-10-02 16:57:07 -04:00
Cody Robibero
0ffc58e255
Update .ci/azure-pipelines-api-client.yml
Co-authored-by: Cameron <Influence365@gmail.com>
2020-10-02 08:21:28 -06:00
crobibero
86e06369a9 fix liniting errors 2020-10-02 08:00:57 -06:00
crobibero
3d20ff69d4 Fix repo connections 2020-10-02 07:50:38 -06:00
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