mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
fix tofu installation tests (#1695)
Signed-off-by: ollevche <ollevche@gmail.com>
This commit is contained in:
parent
9138470a67
commit
ab9c995064
21
.github/workflows/checks.yml
vendored
21
.github/workflows/checks.yml
vendored
@ -257,13 +257,14 @@ jobs:
|
||||
with:
|
||||
path: ".licensei.cache"
|
||||
key: licensei-cache-${{ hashFiles('go.sum') }}
|
||||
# installation-instructions:
|
||||
# name: "Test Installation Instructions"
|
||||
# runs-on: ubuntu-latest
|
||||
#
|
||||
# steps:
|
||||
# - name: "Fetch source code"
|
||||
# uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
|
||||
#
|
||||
# - name: "Run Installation Instructions Test"
|
||||
# run: make test-linux-install-instructions
|
||||
|
||||
installation-instructions:
|
||||
name: "Test Installation Instructions"
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: "Fetch source code"
|
||||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
|
||||
|
||||
- name: "Run Installation Instructions Test"
|
||||
run: make test-linux-install-instructions
|
||||
|
@ -11,4 +11,4 @@ chmod +x install-opentofu.sh
|
||||
./install-opentofu.sh --install-method apk
|
||||
|
||||
# Remove the installer:
|
||||
rm install-opentofu.sh
|
||||
rm -f install-opentofu.sh
|
@ -11,4 +11,4 @@ chmod +x install-opentofu.sh
|
||||
./install-opentofu.sh --install-method deb
|
||||
|
||||
# Remove the installer:
|
||||
rm install-opentofu.sh
|
||||
rm -f install-opentofu.sh
|
@ -11,4 +11,4 @@ chmod +x install-opentofu.sh
|
||||
./install-opentofu.sh --install-method rpm
|
||||
|
||||
# Remove the installer:
|
||||
rm install-opentofu.sh
|
||||
rm -f install-opentofu.sh
|
@ -11,4 +11,4 @@ chmod +x install-opentofu.sh
|
||||
./install-opentofu.sh --install-method standalone
|
||||
|
||||
# Remove the installer:
|
||||
rm install-opentofu.sh
|
||||
rm -f install-opentofu.sh
|
@ -28,7 +28,7 @@ for SERVICE in $SERVICES; do
|
||||
echo -e "::group::\033[0;32m✅ ${SERVICE}\033[0m"
|
||||
else
|
||||
echo -e "::group::\033[0;31m❌ ${SERVICE}\033[0m"
|
||||
FAILED=$(("${FAILED}"+1))
|
||||
FAILED=$((${FAILED}+1))
|
||||
fi
|
||||
cat $TEMPFILE | grep -a -E "^[a-zA-Z]+-${SERVICE}-1\s+\| " | sed -E "s/^[a-zA-Z]+-${SERVICE}-1\s+\| //"
|
||||
echo "::endgroup::"
|
||||
|
Loading…
Reference in New Issue
Block a user