-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d7116e4
commit 0afce66
Showing
7 changed files
with
59 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
dgoss | ||
goss | ||
snyk | ||
snyk | ||
preflight |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
dgoss | ||
goss | ||
snyk | ||
snyk | ||
preflight |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,13 @@ | ||
#! /bin/bash | ||
|
||
curl -L https://github.com/wagoodman/dive/releases/download/v0.9.2/dive_0.9.2_linux_amd64.deb -o dive_0.9.2_linux_amd64.deb | ||
sudo apt install ./dive_0.9.2_linux_amd64.deb | ||
# Dive Debian package installation. MacOSX installs Dive via `brew install dive`. | ||
|
||
rm dive_0.9.2_linux_amd64.deb | ||
export CHECKSUM=$(curl -L https://github.com/wagoodman/dive/releases/download/v0.10.0/dive_0.10.0_checksums.txt | grep linux_amd64.deb) | ||
|
||
curl -L https://github.com/wagoodman/dive/releases/download/v0.10.0/dive_0.10.0_linux_amd64.deb -o dive_0.10.0_linux_amd64.deb | ||
|
||
./preflight check sha256=$CHECKSUM dive_0.10.0_linux_amd64.deb | ||
|
||
sudo apt install ./dive_0.10.0_linux_amd64.deb | ||
|
||
rm dive_0.10.0_linux_amd64.deb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,21 @@ | ||
#! /bin/bash | ||
|
||
curl -L https://raw.githubusercontent.com/aelsabbahy/goss/master/extras/dgoss/dgoss -o dgoss | ||
chmod +rx dgoss | ||
# Goss Binary installation to $PWD | ||
|
||
export GOSS_CHECKSUM=$(curl -L https://github.com/aelsabbahy/goss/releases/latest/download/goss-linux-amd64.sha256 | head -n1 | cut -d " " -f1 ) | ||
|
||
curl -L https://github.com/aelsabbahy/goss/releases/latest/download/goss-linux-amd64 -o goss | ||
|
||
./preflight check sha256=$GOSS_CHECKSUM goss | ||
|
||
chmod +rx goss | ||
|
||
# DGoss Binary installation to $PWD | ||
|
||
export DGOSS_CHECKSUM=$(curl -L https://github.com/aelsabbahy/goss/releases/latest/download/dgoss.sha256 | head -n1 | cut -d " " -f1 ) | ||
|
||
curl -L https://github.com/aelsabbahy/goss/releases/latest/download/dgoss -o dgoss | ||
|
||
./preflight check sha256=$DGOSS_CHECKSUM dgoss | ||
|
||
chmod +rx dgoss |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#! /bin/bash | ||
|
||
# Preflight binary installation to $PWD | ||
|
||
mkdir .tmp_preflight | ||
|
||
curl -L https://github.com/SpectralOps/preflight/releases/download/v1.1.4/preflight_1.1.4_Linux_arm64.tar.gz -o .tmp_preflight/preflight_1.1.4_Linux_x86_64.tar.gz | ||
|
||
cd .tmp_preflight/ | ||
tar -xvf preflight_1.1.4_Linux_x86_64.tar.gz | ||
cd .. | ||
|
||
cp ./.tmp_preflight/preflight preflight | ||
|
||
ls .tmp_preflight | ||
|
||
rm -rf .tmp_preflight/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
#! /bin/bash | ||
|
||
# Snyk binary installation to $PWD | ||
|
||
export CHECKSUM=$(curl -L https://github.com/snyk/snyk/releases/latest/download/snyk-linux.sha256 | head -n1 | cut -d " " -f1) | ||
|
||
curl -L https://github.com/snyk/snyk/releases/latest/download/snyk-linux -o snyk | ||
|
||
./preflight check sha256=$CHECKSUM snyk | ||
|
||
chmod +rx snyk |