Skip to content

Commit 6051ab6

Browse files
committed
(tasks) Add defaults to install_build_artifact_linux.sh
For the PT_package and PT_artifacts_source variables. These defaults are provided by Bolt when the task is run by Bolt. However they need to come form somewhere when the script is executing on its own, as it is in the GHA pr_testing_install_build_artifact.yaml workflow. So the question becomes whether to duplicate defaults in the script or the gha workflow, and I chose the script.
1 parent ad38d27 commit 6051ab6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tasks/install_build_artifact_linux.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ installdir=$PT__installdir
88
# shellcheck disable=SC2154
99
version=${PT_version}
1010
# shellcheck disable=SC2154
11-
package=${PT_package}
11+
package=${PT_package:-'openvox-agent'}
1212
# shellcheck disable=SC2154
13-
artifacts_source=${PT_artifacts_source}
13+
artifacts_source=${PT_artifacts_source:-'https://s3.osuosl.org/openvox-artifacts'}
1414

1515
# shellcheck source=files/common.sh
1616
source "${installdir}/openvox_bootstrap/files/common.sh"

0 commit comments

Comments
 (0)