-
-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy pathjenkins-vars.yml
36 lines (35 loc) · 1.13 KB
/
jenkins-vars.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
# jenkins variables
project_name: docker-emby
external_type: github_stable
release_type: stable
release_tag: latest
ls_branch: master
external_artifact_check: |
assets=$(curl -u "${{ '{{' }} secrets.CR_USER {{ '}}' }}:${{ '{{' }} secrets.CR_PAT {{ '}}' }}" -sX GET "https://api.github.com/repos/MediaBrowser/Emby.Releases/releases/tags/${EXT_RELEASE}" | jq -r '.assets[].browser_download_url')
if grep -q "emby-server-deb_${EXT_RELEASE}_arm64.deb$" <<< "${assets}" && grep -q "emby-server-deb_${EXT_RELEASE}_amd64.deb$" <<< "${assets}"; then
artifacts_found="true"
else
artifacts_found="false"
fi
repo_vars:
- EXT_GIT_BRANCH = 'master'
- EXT_USER = 'MediaBrowser'
- EXT_REPO = 'Emby.Releases'
- BUILD_VERSION_ARG = 'EMBY_RELEASE'
- LS_USER = 'linuxserver'
- LS_REPO = 'docker-emby'
- CONTAINER_NAME = 'emby'
- DOCKERHUB_IMAGE = 'linuxserver/emby'
- DEV_DOCKERHUB_IMAGE = 'lsiodev/emby'
- PR_DOCKERHUB_IMAGE = 'lspipepr/emby'
- DIST_IMAGE = 'ubuntu'
- MULTIARCH='true'
- CI='true'
- CI_WEB='true'
- CI_PORT='8096'
- CI_SSL='false'
- CI_DELAY='120'
- CI_DOCKERENV=''
- CI_AUTH=''
- CI_WEBPATH=''