ci: set proxy env differently

This commit is contained in:
Anton Iakimov 2024-08-15 16:55:10 +02:00 committed by Anthony Laibe
parent 11efcd8923
commit 81099ec998
4 changed files with 4 additions and 20 deletions

View File

@ -42,11 +42,6 @@ pipeline {
description: 'Decides whether the mocked status-keycard-go library is built.',
defaultValue: false
)
string(
name: 'STATUS_BUILD_PROXY_STAGE_NAME',
description: 'Defines the stage used to choose the correct Proxy API URL',
defaultValue: utils.isReleaseBuild() ? 'prod' : 'test'
)
}
options {
@ -79,6 +74,7 @@ pipeline {
/* Control output the filename */
STATUS_CLIENT_APPIMAGE = "pkg/${utils.pkgFilename(ext: 'AppImage', arch: getArch())}"
STATUS_CLIENT_TARBALL = "pkg/${utils.pkgFilename(ext: 'tar.gz', arch: getArch())}"
STATUS_BUILD_PROXY_STAGE_NAME = "${utils.isReleaseBuild() ? 'prod' : 'test'}"
}
stages {

View File

@ -34,11 +34,6 @@ pipeline {
description: 'Decides whether the mocked status-keycard-go library is built.',
defaultValue: false
)
string(
name: 'STATUS_BUILD_PROXY_STAGE_NAME',
description: 'Defines the stage used to choose the correct Proxy API URL',
defaultValue: utils.isReleaseBuild() ? 'prod' : 'test'
)
}
options {
@ -68,6 +63,7 @@ pipeline {
/* Control output the filename */
STATUS_CLIENT_APPIMAGE = "pkg/${utils.pkgFilename(ext: 'AppImage', arch: getArch())}"
STATUS_CLIENT_TARBALL = "pkg/${utils.pkgFilename(ext: 'tar.gz', arch: getArch())}"
STATUS_BUILD_PROXY_STAGE_NAME = "${utils.isReleaseBuild() ? 'prod' : 'test'}"
}
stages {

View File

@ -41,11 +41,6 @@ pipeline {
description: 'Select app entitlements. Squish requires extra entitlements.',
choices: ['resources/Entitlements.plist', 'resources/Entitlements_squish.plist']
)
string(
name: 'STATUS_BUILD_PROXY_STAGE_NAME',
description: 'Defines the stage used to choose the correct Proxy API URL',
defaultValue: utils.isReleaseBuild() ? 'prod' : 'test'
)
}
options {
@ -80,6 +75,7 @@ pipeline {
STATUS_CLIENT_DMG = "pkg/${utils.pkgFilename(ext: 'dmg', arch: getArch())}"
/* Apple Team ID for Notarization */
MACOS_NOTARIZE_TEAM_ID = "8B5X2M6H2Y"
STATUS_BUILD_PROXY_STAGE_NAME = "${utils.isReleaseBuild() ? 'prod' : 'test'}"
}
stages {

View File

@ -33,11 +33,6 @@ pipeline {
description: 'Decides whether the mocked status-keycard-go library is built.',
defaultValue: false
)
string(
name: 'STATUS_BUILD_PROXY_STAGE_NAME',
description: 'Defines the stage used to choose the correct Proxy API URL',
defaultValue: utils.isReleaseBuild() ? 'prod' : 'test'
)
}
options {
@ -73,6 +68,7 @@ pipeline {
STATUS_CLIENT_7Z = "pkg/${utils.pkgFilename(ext: '7z', arch: getArch())}"
/* RFC 3161 timestamping URL for DigiCert */
WINDOWS_CODESIGN_TIMESTAMP_URL = 'http://timestamp.digicert.com'
STATUS_BUILD_PROXY_STAGE_NAME = "${utils.isReleaseBuild() ? 'prod' : 'test'}"
}
stages {