airshipui/tools/install_linter
Schiefelbein, Andrew 8246e6781d This adds a plugin for OpenStack to the Airship UI
Fixes #24
Fixes #22

It introduces gophercloud for OpenStack components
This also brings the argoui plugin up to the current latest
version of the plugin structure

Change-Id: Ie5e7e2434970f0775701c9b0d851817ef476d7e4
2020-03-26 13:27:52 -05:00

12 lines
324 B
Bash
Executable File

#!/bin/bash
set -x
tools_bin_dir="${BASH_SOURCE%/*}"
download_url=https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh
version=v1.24.0
if ! curl -sfL "$download_url" | sh -s -- -b "$tools_bin_dir/bin" "$version"; then
printf "Something went wrong while installing golangci-lint\n" 1>&2
exit 1
fi