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

Implementation of Azure Pipelines for building *.WGT files and releasing them to Github #17

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Addition of Jellyfin web to package.json dependencies and update of t…
…he pipeline

yarn.lock should be committed too.
  • Loading branch information
robinkruyt committed Apr 20, 2020
commit fe4ee17f371f1aecffe372ecc7b3ef422cae10aa
15 changes: 1 addition & 14 deletions .ci/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,34 +16,21 @@ jobs:
displayName: Setup directories and variables
inputs:
script: |
echo "##vso[task.setvariable variable=JELLYFIN_WEB_DIR]$(Agent.TempDirectory)/jellyfin-web"
echo "##vso[task.setvariable variable=TIZEN_HOME_DIR]$(Agent.TempDirectory)/tizen"
echo "##vso[task.setvariable variable=CERTIFICATE_DIR]$(Agent.TempDirectory)/certificates"
failOnStderr: false

- task: CmdLine@2
displayName: Check out Jellyfin Web
inputs:
script: |
git clone --single-branch --branch master --depth=1 https://github.com/jellyfin/jellyfin-web.git $JELLYFIN_WEB_DIR
- task: UseNode@1
displayName: Install Node
inputs:
version: '12.x'
- task: CmdLine@2
displayName: Install Jellyfin Web
inputs:
script: |
yarn install
workingDirectory: $(JELLYFIN_WEB_DIR)
failOnStderr: false

- task: CmdLine@2
displayName: Install Jellyfin Tizen
inputs:
script: |
yarn install
JELLYFIN_WEB_DIR=$JELLYFIN_WEB_DIR/dist yarn build
JELLYFIN_WEB_DIR=./node_modules/jellyfin-web/dist yarn build
failOnStderr: false

- task: CmdLine@2
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"del": "^5.1.0",
"gulp": "^4.0.2",
"gulp-dom": "^1.0.0",
"gulp-if": "^3.0.0"
"gulp-if": "^3.0.0",
"jellyfin-web": "https://github.com/jellyfin/jellyfin-web.git#v10.5.4"
}
}
Loading