Skip to content

Commit

Permalink
Fix: Fix integration tests with the new sasl-build script
Browse files Browse the repository at this point in the history
  • Loading branch information
bokysan committed Oct 27, 2023
1 parent bb5a9f3 commit b3c6faf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 13 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ jobs:
needs:
- Unit_Tests
- Integration_Tests
- Helm_chart_Tests
steps:
# Checkout
- name: Checkout
Expand Down Expand Up @@ -111,7 +110,6 @@ jobs:
needs:
- Unit_Tests
- Integration_Tests
- Helm_chart_Tests
steps:
# Checkout
- name: Checkout
Expand Down Expand Up @@ -156,7 +154,6 @@ jobs:
needs:
- Unit_Tests
- Integration_Tests
- Helm_chart_Tests
steps:
# Checkout
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion build-scripts/postfix-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ do_alpine() {

do_ubuntu() {
RELEASE_SPECIFIC_PACKAGES="netcat"
if [ "${ID}" -eq "debian" ]; then
if [ "${ID}" = "debian" ]; then
RELEASE_SPECIFIC_PACKAGES="netcat-openbsd"
fi
export DEBIAN_FRONTEND=noninteractive
Expand Down
13 changes: 4 additions & 9 deletions build-scripts/sasl-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,16 @@
set -e

build_pandoc() {
CAN_INSTALL=1
if [ -f /etc/alpine-release ]; then
if ! apk add --upgrade pandoc; then
CAN_INSTALL=0
if apk add --upgrade pandoc; then
return
fi
else
if ! apt-get install -y --no-install-recommends; then
CAN_INSTALL=0
if apt-get install -y --no-install-recommends pandoc; then
return
fi
fi

if [ "${CAN_INSTALL}" -eq "1" ; then
return
fi

if [ -f /etc/alpine-release ]; then
apk add --upgrade cabal curl llvm
else
Expand Down

0 comments on commit b3c6faf

Please sign in to comment.