File tree Expand file tree Collapse file tree 4 files changed +49
-2
lines changed Expand file tree Collapse file tree 4 files changed +49
-2
lines changed Original file line number Diff line number Diff line change 1717 - name : Install ShellCheck
1818 run : sudo apt-get install shellcheck
1919 - name : Run ShellCheck
20- run : shellcheck -x tasks/*.sh
20+ run : shellcheck -x tasks/*.sh files/*.sh
2121
2222 test-install-task-on-ubuntu :
2323 strategy :
Original file line number Diff line number Diff line change 2727 "requirements" : [" shell" ],
2828 "files" : [
2929 " facts/tasks/bash.sh" ,
30- " openvox_bootstrap/ files/common.sh"
30+ " files/common.sh"
3131 ]
3232 }
3333 ]
Original file line number Diff line number Diff line change 1+ {
2+ "description" : " Downloads and installs a package directly from openvox build artifact server." ,
3+ "parameters" : {
4+ "version" : {
5+ "description" : " The version of the package to install." ,
6+ "type" : " String[1]"
7+ },
8+ "package" : {
9+ "description" : " The name of the package to install." ,
10+ "type" : " String[1]" ,
11+ "default" : " openvox-agent"
12+ },
13+ "artifacts_source" : {
14+ "description" : " URL to the build artifacts server." ,
15+ "type" : " String[1]" ,
16+ "default" : " https://s3.osuosl.org/openvox-artifacts"
17+ }
18+ },
19+ "implementations" : [
20+ {
21+ "name" : " install_linux.sh" ,
22+ "requirements" : [" shell" ],
23+ "files" : [
24+ " facts/tasks/bash.sh" ,
25+ " openvox_bootstrap/files/common.sh"
26+ ]
27+ }
28+ ]
29+ }
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ set -e
4+
5+ # PT_* variables are set by Bolt.
6+ # shellcheck disable=SC2154
7+ installdir=$PT__installdir
8+ # shellcheck disable=SC2154
9+ version=${PT_version}
10+ # shellcheck disable=SC2154
11+ package=${PT_package}
12+ # shellcheck disable=SC2154
13+ artifacts_source=${PT_artifacts_source}
14+
15+ # shellcheck source=files/common.sh
16+ source " ${installdir} /openvox_bootstrap/files/common.sh"
17+
18+
You can’t perform that action at this time.
0 commit comments