mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-22 08:41:02 -05:00
Seed arm-ttk directory
Signed-off-by: Brett Logan <lindluni@github.com>
This commit is contained in:
parent
b1386567ad
commit
fd42e54c17
1 changed files with 3 additions and 1 deletions
|
@ -10,8 +10,10 @@ url=$(curl -s \
|
||||||
-H "Accept: application/vnd.github+json" \
|
-H "Accept: application/vnd.github+json" \
|
||||||
-H "Authorization: Bearer ${GITHUB_TOKEN}" \
|
-H "Authorization: Bearer ${GITHUB_TOKEN}" \
|
||||||
https://api.github.com/repos/Azure/arm-ttk/releases/latest | jq -r '.tarball_url')
|
https://api.github.com/repos/Azure/arm-ttk/releases/latest | jq -r '.tarball_url')
|
||||||
|
mkdir -p /usr/lib/microsoft
|
||||||
curl --retry 5 --retry-delay 5 -sL \
|
curl --retry 5 --retry-delay 5 -sL \
|
||||||
-H "Accept: application/vnd.github+json" \
|
-H "Accept: application/vnd.github+json" \
|
||||||
-H "Authorization: Bearer ${GITHUB_TOKEN}" \
|
-H "Authorization: Bearer ${GITHUB_TOKEN}" \
|
||||||
"${url}" | tar -xz -C /usr/lib/microsoft
|
"${url}" | tar -xz -C /usr/lib/microsoft
|
||||||
ln -sTf /usr/lib/microsoft/arm-ttk-master/arm-ttk/arm-ttk.psd1 /usr/bin/arm-ttk
|
chmod a+x /usr/lib/microsoft/*/arm-ttk/arm-ttk.psd1
|
||||||
|
ln -sTf /usr/lib/microsoft/*/arm-ttk/arm-ttk.psd1 /usr/bin/arm-ttk
|
||||||
|
|
Loading…
Reference in a new issue