-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
jenkins-vars.yml
37 lines (36 loc) · 1.17 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
37
---
# jenkins variables
project_name: docker-shotcut
external_type: github_stable
release_type: stable
release_tag: latest
ls_branch: main
external_artifact_check: |
assets=$(curl -u "${{ '{{' }} secrets.CR_USER {{ '}}' }}:${{ '{{' }} secrets.CR_PAT {{ '}}' }}" -sX GET "https://api.github.com/repos/mltframework/shotcut/releases/tags/${EXT_RELEASE}" | jq -r '.assets[].browser_download_url')
SHOTCUT_SHORT_VER=$(echo ${EXT_RELEASE} | sed 's|[v.]||g')
if grep -q "shotcut-linux-x86_64-${SHOTCUT_SHORT_VER}.txz$" <<< "${assets}"; then
artifacts_found="true"
else
artifacts_found="false"
fi
repo_vars:
- EXT_GIT_BRANCH = 'master'
- EXT_USER = 'mltframework'
- EXT_REPO = 'shotcut'
- BUILD_VERSION_ARG = 'SHOTCUT_RELEASE'
- LS_USER = 'linuxserver'
- LS_REPO = 'docker-shotcut'
- CONTAINER_NAME = 'shotcut'
- DOCKERHUB_IMAGE = 'linuxserver/shotcut'
- DEV_DOCKERHUB_IMAGE = 'lsiodev/shotcut'
- PR_DOCKERHUB_IMAGE = 'lspipepr/shotcut'
- DIST_IMAGE = 'ubuntu'
- MULTIARCH = 'false'
- CI = 'true'
- CI_WEB = 'true'
- CI_PORT = '3000'
- CI_SSL = 'false'
- CI_DELAY = '120'
- CI_DOCKERENV = 'TZ=US/Pacific'
- CI_AUTH = 'user:password'
- CI_WEBPATH = ''