-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathjenkins-vars.yml
More file actions
36 lines (35 loc) · 1.27 KB
/
jenkins-vars.yml
File metadata and controls
36 lines (35 loc) · 1.27 KB
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-yaak
external_type: na
custom_version_command: "curl -sX GET https://api.github.com/repos/mountain-loop/yaak/releases | jq -r '.[] | select(.prerelease != true) | select(.tag_name | contains(\"yaak-cli\") | not) | .tag_name' | sort -rV | head -1"
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/mountain-loop/yaak/releases/tags/${EXT_RELEASE}" | jq -r '.assets[].browser_download_url')
if grep -q "arm64.deb$" <<< "${assets}" && grep -q "amd64.deb$" <<< "${assets}"; then
artifacts_found="true"
else
artifacts_found="false"
fi
repo_vars:
- BUILD_VERSION_ARG = 'YAAK_RELEASE'
- LS_USER = 'linuxserver'
- LS_REPO = 'docker-yaak'
- CONTAINER_NAME = 'yaak'
- DOCKERHUB_IMAGE = 'linuxserver/yaak'
- DEV_DOCKERHUB_IMAGE = 'lsiodev/yaak'
- PR_DOCKERHUB_IMAGE = 'lspipepr/yaak'
- DIST_IMAGE = 'ubuntu'
- MULTIARCH = 'true'
- CI = 'true'
- CI_WEB = 'true'
- CI_PORT = '3001'
- CI_SSL = 'true'
- CI_DELAY = '120'
- CI_DOCKERENV = ''
- CI_AUTH = ''
- CI_WEBPATH = ''
sponsor_links:
- { name: "gschier", url: "https://github.com/sponsors/gschier" }