Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup and standardise Fedora build (web) #3571

Merged
merged 6 commits into from Jun 23, 2022

Conversation

mihawk90
Copy link

@mihawk90 mihawk90 commented Apr 18, 2022

Changes

  • Rewrite so we don't need to constantly update with every new Fedora release. This is especially useful when Fedora and Jellyfin release cycles don't line up. Version selection is as follows:
    1. TARGET environment variable, which is currently used already
    2. Currently running Fedora version
    3. Hardcoded Fallback version that can be updated occasionally
  • Move web-files to the default location
    • JF didn't find the web-files when it was run as a user from a terminal. It would check the default location, but no find the files. So we move the files in the default location.
    • Both the Docker build and Debian package use a sub-directory of jellyfin already, although Debian uses /web and points the env-var there.
  • Use latest 36 Fedora image in Fedora Docker builds
    • same as the JF-server PR, otherwise we're going to end up with mismatched package versions
    • changed to 36 as requested in server-PR review

Related Issues

@mihawk90 mihawk90 changed the base branch from master to release-10.8.z April 18, 2022 01:37
@mihawk90 mihawk90 changed the title Rewrite Fedora build version detection Cleanup and standardise Fedora build (web) Apr 22, 2022
@sonarcloud
Copy link

sonarcloud bot commented Apr 25, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@mihawk90 mihawk90 marked this pull request as ready for review April 26, 2022 19:07
@thornbill thornbill added the build This PR or issue mainly concerns build tools label May 6, 2022
Rewrite so we don't need to constantly update with every new Fedora
release. This is especially useful when Fedora and Jellyfin release
cycles don't line up.

Version selection is as follows:
* TARGET environment variable, which is currently used already
* Currently running Fedora version
* Hardcoded Fallback version that can be updated occasionally
* move actual building process to %build
* remove AutoReqProv as the package purely contains text files and
  fonts. There's no dependencies to begin with. This feature is also
  intended as sort of a "last resort" and we don't need this here.
* define LICENSE as %license, which automatically puts it in a
  standardised directory
* when running Jellyfin as a user from a terminal without passing
  arguments, it would not find the web-files. This moves them to the
  expected/default location.
* fixes jellyfin#2059
@mihawk90
Copy link
Author

Rebased onto v10.8.0

Tests done

✔️ make rpms
✔️ TARGET=fedora-34-x86_64 make rpms (although EOL anyway)
✔️ TARGET=fedora-35-x86_64 make rpms
✔️ TARGET=fedora-123 make rpms (fails like it is supposed to)
✔️ TARGET=gibberish make rpms (fails like it is supposed to)

TARGET=epel-7-x86_64 make rpms

This fails due to Operation not permitted on this:

%if 0%{?rhel} > 0 && 0%{?rhel} < 8
# Required for CentOS build
chown root:root -R .
%endif

But from what I can tell this was introduced in #3246 on purpose, although I'm unclear in how this relates to the referenced issue #3222.

Either way, I hesitate to remove those lines for now seeing as they were intended to fix issues with the deployment. And since these packages are essentially just a collection of text files, even installing the Fedora Package on EPEL (although not exactly clean) should be fine.

TARGET=epel-8-x86_64 make rpms
TARGET=rocky+epel-8-x86_64 make rpms

These both fail on the same npm ERR:

Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ZhN4su
+ umask 022
+ cd /builddir/build/BUILD
+ cd jellyfin-web-10.8.0
+ npm ci --no-audit --unsafe-perm

> swiper@6.8.4 postinstall /builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/swiper
> node -e "try{require('./postinstall')}catch(e){}"

Love Swiper? Support Vladimir's work by donating or pledging: 
> On Patreon https://patreon.com/vladimirkharlampidi 
> On Open Collective https://opencollective.com/swiper

> core-js@3.20.2 postinstall /builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js:
> https://opencollective.com/core-js 
> https://patreon.com/zloirock 
> https://paypal.me/zloirock 
> bitcoin: bc1qlea7544qtsmj2rayg0lthvza9fau63ux0fstcz 

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)


> core-js-pure@3.19.1 postinstall /builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/core-js-pure
> node -e "try{require('./postinstall')}catch(e){}"


> jellyfin-web@10.8.0 prepare /builddir/build/BUILD/jellyfin-web-10.8.0
> node ./scripts/prepare.js

[webpack-cli] HookWebpackError: Not supported
    at makeWebpackError (/builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/webpack/lib/HookWebpackError.js:48:9)
    at hooks.processAssets.callAsync.err (/builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/webpack/lib/Compilation.js:3059:12)
    at eval (eval at create (/builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:104:1)
    at err (/builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/webpack/lib/Compilation.js:510:26)
    at compilation.hooks.processAssets.tapAsync (/builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/copy-webpack-plugin/dist/index.js:708:13)
    at process._tickCallback (internal/process/next_tick.js:68:7)
-- inner error --
Error: Not supported
    at compilation.hooks.processAssets.tapAsync (/builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/copy-webpack-plugin/dist/index.js:704:13)
    at fn (/builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/webpack/lib/Compilation.js:509:9)
    at Hook.eval [as callAsync] (eval at create (/builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:102:1)
    at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/tapable/lib/Hook.js:18:14)
    at cont (/builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/webpack/lib/Compilation.js:3056:34)
    at createChunkAssets.err (/builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/webpack/lib/Compilation.js:3104:10)
    at symbolIterator (/builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/neo-async/async.js:3485:9)
    at process._tickCallback (internal/process/next_tick.js:61:11)
caused by plugins in Compilation.hooks.processAssets
Error: Not supported
    at compilation.hooks.processAssets.tapAsync (/builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/copy-webpack-plugin/dist/index.js:704:13)
    at fn (/builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/webpack/lib/Compilation.js:509:9)
    at Hook.eval [as callAsync] (eval at create (/builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:102:1)
    at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/tapable/lib/Hook.js:18:14)
    at cont (/builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/webpack/lib/Compilation.js:3056:34)
    at createChunkAssets.err (/builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/webpack/lib/Compilation.js:3104:10)
    at symbolIterator (/builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/neo-async/async.js:3485:9)
    at process._tickCallback (internal/process/next_tick.js:61:11)
child_process.js:669
    throw err;
    ^

Error: Command failed: webpack --config webpack.prod.js
    at checkExecSyncError (child_process.js:629:11)
    at execSync (child_process.js:666:13)
    at Object.<anonymous> (/builddir/build/BUILD/jellyfin-web-10.8.0/scripts/prepare.js:11:5)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
    at startup (internal/bootstrap/node.js:283:19)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! jellyfin-web@10.8.0 prepare: `node ./scripts/prepare.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the jellyfin-web@10.8.0 prepare script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /builddir/.npm/_logs/2022-06-16T02_25_55_291Z-debug.log
error: Bad exit status from /var/tmp/rpm-tmp.ZhN4su (%build)
    Bad exit status from /var/tmp/rpm-tmp.ZhN4su (%build)

Unclear why this is or how to fix it.

@h1dden-da3m0n
Copy link
Contributor

h1dden-da3m0n commented Jun 16, 2022

node ./scripts/prepare.js

[webpack-cli] HookWebpackError: Not supported
...

Might be wrong, as I am not 100% familiar what exactly the prepare script does, but the last time I started the CI migration from ADO to GHA I set the EnvVar SKIP_PREPARE=true to presumably skip the prepare script when calling npm ci --no-audit. (the same can be found in the ADO workflows, so I assume 1 that the script is obsolete and 2 it might be disabled because it causes build errors 🤔 )

Edit: Just confirmed the ./scripts/prepare.js is not necessary to be called here (and is likely to be removed soon), so if there is a way to set the SKIP_PREPARE environment variable to true before calling npm ci --no-audit --unsafe-perm in the spec file it should no longer cause the build to fail.

@mihawk90
Copy link
Author

Seems like that doesn't produce any build at all (which the long comment in the prepare.js states as well, so not sure why disabling it even works).
But anyway, no luck.

Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Z9eYiw
+ umask 022
+ cd /builddir/build/BUILD
+ cd jellyfin-web-10.8.0
+ SKIP_PREPARE=true
+ npm ci --no-audit --unsafe-perm

> swiper@6.8.4 postinstall /builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/swiper
> node -e "try{require('./postinstall')}catch(e){}"

Love Swiper? Support Vladimir's work by donating or pledging: 
> On Patreon https://patreon.com/vladimirkharlampidi 
> On Open Collective https://opencollective.com/swiper

> core-js@3.20.2 postinstall /builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js:
> https://opencollective.com/core-js 
> https://patreon.com/zloirock 
> https://paypal.me/zloirock 
> bitcoin: bc1qlea7544qtsmj2rayg0lthvza9fau63ux0fstcz 

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)


> core-js-pure@3.19.1 postinstall /builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/core-js-pure
> node -e "try{require('./postinstall')}catch(e){}"


> jellyfin-web@10.8.0 prepare /builddir/build/BUILD/jellyfin-web-10.8.0
> node ./scripts/prepare.js

added 1762 packages in 20.727s
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VXPE7w
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/jellyfin-web-10.8.0-1.el8.x86_64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/jellyfin-web-10.8.0-1.el8.x86_64
++ dirname /builddir/build/BUILDROOT/jellyfin-web-10.8.0-1.el8.x86_64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/jellyfin-web-10.8.0-1.el8.x86_64
+ cd jellyfin-web-10.8.0
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/jellyfin-web-10.8.0-1.el8.x86_64/usr/lib64/jellyfin/jellyfin-web
+ /usr/bin/cp -r 'dist/*' /builddir/build/BUILDROOT/jellyfin-web-10.8.0-1.el8.x86_64/usr/lib64/jellyfin/jellyfin-web
/usr/bin/cp: cannot stat 'dist/*': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.VXPE7w (%install)

I'm assuming the change is related to npm itself. RHEL 8 ships 6.14.11 while Fedora is on 8.3.1.

Searching for npm ERR! code ELIFECYCLE suggests it got something to do with a corrupted node_modules directory and cleaning it is supposed to help, but seeing as we're starting out without a node_modules directory to begin with, I'm not sure what I'm supposed to do here.

@h1dden-da3m0n
Copy link
Contributor

my bad, overlooked the detail of the old NPM version, yeah that can cause problems.
However, there is another detail that I find odd in the spec file now.

This is how I got web to build in my earlier attempts to migrate from ADO to GHA:

- name: Install Dependencies
run: npm ci --no-audit
env:
SKIP_PREPARE: true
- name: Build Web
run: |-
npm run build:production
mv dist deployment/dist

This ended up producing the static JS & HTML files to throw into an NGINX container, so it should be what we are looking for here too. (obviously omit the mv)

@mihawk90
Copy link
Author

mihawk90 commented Jun 16, 2022

Just tried that and it didn't work either... it doesn't seem to like the webpack in general:

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Ent2jt
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf jellyfin-web-10.8.0
+ /usr/bin/gzip -dc /builddir/build/SOURCES/jellyfin-web-10.8.0.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /usr/bin/gzip -dc /builddir/build/SOURCES/jellyfin-web-10.8.0.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd jellyfin-web-10.8.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ SKIP_PREPARE=true
+ npm ci --no-audit

> swiper@6.8.4 postinstall /builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/swiper
> node -e "try{require('./postinstall')}catch(e){}"

Love Swiper? Support Vladimir's work by donating or pledging: 
> On Patreon https://patreon.com/vladimirkharlampidi 
> On Open Collective https://opencollective.com/swiper

> core-js@3.20.2 postinstall /builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js:
> https://opencollective.com/core-js 
> https://patreon.com/zloirock 
> https://paypal.me/zloirock 
> bitcoin: bc1qlea7544qtsmj2rayg0lthvza9fau63ux0fstcz 

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)


> core-js-pure@3.19.1 postinstall /builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/core-js-pure
> node -e "try{require('./postinstall')}catch(e){}"


> jellyfin-web@10.8.0 prepare /builddir/build/BUILD/jellyfin-web-10.8.0
> node ./scripts/prepare.js

added 1762 packages in 23.823s
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.kXozSv
+ umask 022
+ cd /builddir/build/BUILD
+ cd jellyfin-web-10.8.0
+ npm run build:production

> jellyfin-web@10.8.0 build:production /builddir/build/BUILD/jellyfin-web-10.8.0
> webpack --config webpack.prod.js

[webpack-cli] HookWebpackError: Not supported
    at makeWebpackError (/builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/webpack/lib/HookWebpackError.js:48:9)
    at hooks.processAssets.callAsync.err (/builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/webpack/lib/Compilation.js:3059:12)
    at eval (eval at create (/builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:104:1)
    at err (/builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/webpack/lib/Compilation.js:510:26)
    at compilation.hooks.processAssets.tapAsync (/builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/copy-webpack-plugin/dist/index.js:708:13)
    at process._tickCallback (internal/process/next_tick.js:68:7)
-- inner error --
Error: Not supported
    at compilation.hooks.processAssets.tapAsync (/builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/copy-webpack-plugin/dist/index.js:704:13)
    at fn (/builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/webpack/lib/Compilation.js:509:9)
    at Hook.eval [as callAsync] (eval at create (/builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:102:1)
    at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/tapable/lib/Hook.js:18:14)
    at cont (/builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/webpack/lib/Compilation.js:3056:34)
    at createChunkAssets.err (/builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/webpack/lib/Compilation.js:3104:10)
    at symbolIterator (/builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/neo-async/async.js:3485:9)
    at process._tickCallback (internal/process/next_tick.js:61:11)
caused by plugins in Compilation.hooks.processAssets
Error: Not supported
    at compilation.hooks.processAssets.tapAsync (/builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/copy-webpack-plugin/dist/index.js:704:13)
    at fn (/builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/webpack/lib/Compilation.js:509:9)
    at Hook.eval [as callAsync] (eval at create (/builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:102:1)
    at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/tapable/lib/Hook.js:18:14)
    at cont (/builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/webpack/lib/Compilation.js:3056:34)
    at createChunkAssets.err (/builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/webpack/lib/Compilation.js:3104:10)
    at symbolIterator (/builddir/build/BUILD/jellyfin-web-10.8.0/node_modules/neo-async/async.js:3485:9)
    at process._tickCallback (internal/process/next_tick.js:61:11)
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! jellyfin-web@10.8.0 build:production: `webpack --config webpack.prod.js`
npm ERR! Exit status 2
npm ERR! 
npm ERR! Failed at the jellyfin-web@10.8.0 build:production script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /builddir/.npm/_logs/2022-06-16T23_12_23_591Z-debug.log
error: Bad exit status from /var/tmp/rpm-tmp.kXozSv (%build)

The debug log it mentions:
2022-06-16T23_30_15_461Z-debug.log

At least we're not alone, Brian's COPR builds are failing as well:
https://copr.fedorainfracloud.org/coprs/brianjmurrell/jellyfin/build/4510579/

What throws me off is this:

[webpack-cli] HookWebpackError: Not supported

So I checked the webpack docs and it says
https://webpack.js.org/guides/getting-started/

The minimum supported Node.js version to run webpack 5 is 10.13.0 (LTS)

So for sanity I checked both versions again.
Fedora:

z% node --version
v16.14.0
z% npm --version
8.3.1

RHEL8 (well, Alma, but still):

+ node --version
v10.24.0
+ npm --version
6.14.11

So this should be fine? What's up with "not supported" then, I don't get it.

@h1dden-da3m0n
Copy link
Contributor

h1dden-da3m0n commented Jun 17, 2022

given this is NodeJs we talking about and usually we compile web with v14 and b4 that with v12 it may very well be that we are using APIs or features introduced in versions of NodeJs after v10.
NodeJS v10 is very old and out of NodeJS support for quite a while already IIRC, yes I know RedHat handles life support, but still.

Given that, I assume we wont have any luck with RHEL 8 unless we consider using Code Streams (IIRC that was what RedHat dubed the faster updating supported versions of packages).

@mihawk90
Copy link
Author

Oh well, see I didn't even check when that version released, apparently 2018 :D And it went EOL in April last year.
Wondering why RedHat keeps that around when it's EOL and doesn't just offer multiple LTS versions if they don't wanna break people's setups that rely on 10.whatever.

But, no point thinking about it. At the end of the day it's your call if you want to merge regardless and just let RHEL be broken. After all, it's just a collection of web files so as mentioned earlier people can just install one of the Fedora packages on RHEL instead. It's not very clean, but I'm fairly certain it would work, since once it's all packed up, Node isn't required anymore right?

@h1dden-da3m0n
Copy link
Contributor

h1dden-da3m0n commented Jun 17, 2022

RedHat being RedHat, keeping very old version alive due to their LTS support. That is the answer why they have such an old version that NodeJS may no longer support but RedHat will.

Regardless, they introduced Application Streams with REHL 8, which allow you to exactly fast track and install newer versions if you need them.

As long as our CI won't break I will try to advocate for the changes to get in to 10.8.1, however, I cannot make any promises as that is scheduled for later today.

edit: 10.8.1 not happening today, gives us time to reflect if it would break CI. (noticed we build against CentOS (unsure the version or if Stream) so I will check if the changes will run in practically what the CI would run and see if it borks xD

@mihawk90
Copy link
Author

mihawk90 commented Jun 17, 2022

noticed we build against CentOS

I saw that before but I was confused by Azure's OS info in the Initialize Job step:

Ubuntu
20.04.4
LTS

Guessing this is just because it's Docker and the CentOS Docker is on CentOS 7.

CentOS 7 works just fine for the CI because of the chown you're doing on it (haven't looked into why that was introduced and doesn't really matter). Since I build in mock, chown isn't permitted so that's a local build issue.

TLDR it shouldn't break the CI (unless you go CentOS 8, which might break it, I don't know).

@h1dden-da3m0n
Copy link
Contributor

Yeah, ADO nor GHA offer any other Linux Distro runners than Ubuntu, to work around that we use a container to build, as you already spotted.

I will still simply validate on my local podman host, so we are extra sure CI wont fail during releasing 😉

Fedora 36 doesn't seem to ship make, so add it manually.
@sonarcloud
Copy link

sonarcloud bot commented Jun 18, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@crobibero crobibero merged commit c20243c into jellyfin:release-10.8.z Jun 23, 2022
@crobibero crobibero added the stable backport Backport into the next stable release label Jun 23, 2022
@crobibero crobibero added this to Active PRs in Release 10.8.0 via automation Jun 23, 2022
thornbill pushed a commit that referenced this pull request Jun 29, 2022
Cleanup and standardise Fedora build (web)

(cherry picked from commit c20243c)
Signed-off-by: Bill Thornton <billt2006@gmail.com>
@jellyfin-bot jellyfin-bot removed the stable backport Backport into the next stable release label Jun 29, 2022
@nielsvanvelzen nielsvanvelzen moved this from Active PRs to Jellyfinished in Release 10.8.0 Jul 28, 2022
@nielsvanvelzen nielsvanvelzen moved this from Jellyfinished to Completed PRs in Release 10.8.0 Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build This PR or issue mainly concerns build tools
Projects
No open projects
Release 10.8.0
  
Completed PRs
Development

Successfully merging this pull request may close these issues.

None yet

5 participants