mirror of
https://github.com/aljazceru/recon-pipeline.git
synced 2025-12-20 15:54:25 +01:00
* removed tool_dict dependency * updated tests * updated go version * added defaults for failing iteration during tool installation * Update pythonapp.yml * updated docs
12 lines
591 B
YAML
12 lines
591 B
YAML
bashrc: &bashrc !join_path [!get_default "{home}", .bashrc]
|
|
path: &gotool !join_path [!get_default "{goroot}", go/bin/go]
|
|
dlpath: &dlpath !join_empty ["https://dl.google.com/go/go1.14.7.linux-", !get_default "{arch}", ".tar.gz"]
|
|
|
|
install_commands:
|
|
- !join ["wget -q", *dlpath, "-O /tmp/go.tar.gz"]
|
|
- !join [tar -C, !get_default "{goroot}", -xvf /tmp/go.tar.gz]
|
|
- !join ["bash -c 'if [ ! $(grep $(dirname", *gotool, ")", *bashrc, ") ]; then echo PATH=${PATH}:$(dirname", *gotool, ") >>", *bashrc, "; fi'"]
|
|
|
|
uninstall_commands:
|
|
- !join [sudo, rm, -r, !join_path [!get_default "{goroot}", go]]
|