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
Prev Previous commit
Update pipeline based on feedback
  • Loading branch information
robinkruyt committed Apr 21, 2020
commit f75ea79c28ff3c6461559f4a0780ff208321b5ea
17 changes: 11 additions & 6 deletions .ci/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,19 +70,24 @@ jobs:
inputs:
script: |
export PATH=$TIZEN_HOME_DIR/tizen-studio/tools:$TIZEN_HOME_DIR/tizen-studio/tools/ide/bin:$PATH

mkdir -p $CERTIFICATE_DIR

echo $(CERTIFICATE) | base64 --decode > $CERTIFICATE_DIR/certificate.p12
tizen security-profiles add -n DebugProfile -a $CERTIFICATE_DIR/certificate.p12 -p $CERTIFICATE_PASSWORD
tizen security-profiles add -n DebugProfile -a $CERTIFICATE_DIR/certificate.p12 -p $(CERTIFICATE_PASSWORD)
tizen cli-config "profiles.path=$TIZEN_HOME_DIR/tizen-studio-data/profile/profiles.xml"

- task: CmdLine@2
displayName: Package build
displayName: Build Tizen web
inputs:
script: |
export PATH=$TIZEN_HOME_DIR/tizen-studio/tools:$TIZEN_HOME_DIR/tizen-studio/tools/ide/bin:$PATH
tizen build-web -e ".*" -e gulpfile.js -e README.md -e "node_modules/*" -e "jellyfin-web/*" -e "package*.json" -e "yarn.lock"
tizen package -t wgt -s DebugProfile -- .buildResult

- task: CmdLine@2
displayName: Package build
inputs:
script: |
export PATH=$TIZEN_HOME_DIR/tizen-studio/tools:$TIZEN_HOME_DIR/tizen-studio/tools/ide/bin:$PATH
tizen package -t wgt -s debug -- .buildResult

- task: CopyFiles@2
displayName: Staging artifacts
Expand All @@ -95,7 +100,7 @@ jobs:
- task: PublishPipelineArtifact@1
displayName: 'Publish Release'
inputs:
targetPath: '$(Build.ArtifactStagingDirectory)/*.wgt'
targetPath: '$(Build.ArtifactStagingDirectory)/Jellyfin.wgt'
artifactName: 'jellyfin-tizen-debug'

- job: deploy
Expand Down