Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions infra/image/build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/bash -eu
#!/usr/bin/env bash

set -eu

BASEDIR="$(readlink -f "$(dirname "$0")")"
TOPDIR="$(readlink -f "${BASEDIR}/../..")"
Expand Down Expand Up @@ -119,7 +121,7 @@ then
deployed=true
fi
echo

container_stop "${name}"

$deployed || die "Deployment failed"
Expand Down
4 changes: 3 additions & 1 deletion infra/image/start.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/bash -eu
#!/usr/bin/env bash

set -eu

BASEDIR="$(readlink -f "$(dirname "$0")")"
TOPDIR="$(readlink -f "${BASEDIR}/../..")"
Expand Down
4 changes: 3 additions & 1 deletion tests/group/groups.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/bash -eu
#!/usr/bin/env bash

set -eu

NUM=${1-1000}
FILE="groups.json"
Expand Down
4 changes: 3 additions & 1 deletion tests/sanity/sanity.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/bash -eu
#!/usr/bin/env bash

set -eu

TOPDIR=$(readlink -f "$(dirname "$0")/../..")
pushd "${TOPDIR}" >/dev/null || exit 1
Expand Down
4 changes: 3 additions & 1 deletion utils/build-collection.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#!/bin/bash -eu
#!/usr/bin/env bash
#
# Build Ansible Collection from ansible-freeipa repo
#

set -eu

prog=$(basename "$0")
pwd=$(pwd)

Expand Down
4 changes: 3 additions & 1 deletion utils/gen_modules_docs.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/bash -eu
#!/usr/bin/env bash

set -eu

for i in roles/ipa*/*/*.py; do
python utils/gen_module_docs.py "$i"
Expand Down
4 changes: 3 additions & 1 deletion utils/lint_check.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/bash -eu
#!/usr/bin/env bash

set -eu

INFO="\033[37;1m"
WARN="\033[33;1m"
Expand Down
3 changes: 2 additions & 1 deletion utils/new_module
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eu
#!/usr/bin/env bash
# -*- coding: utf-8 -*-

# Authors:
Expand All @@ -20,6 +20,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

set -eu

prog="$(basename "$0")"
topdir="$(dirname "$0")"
Expand Down
6 changes: 4 additions & 2 deletions utils/run-tests.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/bash -eu
#!/usr/bin/env bash

set -eu

SCRIPTDIR="$(readlink -f "$(dirname "$0")")"
TOPDIR="$(readlink -f "${SCRIPTDIR}/..")"
Expand Down Expand Up @@ -81,7 +83,7 @@ do
[ -n "${ANSIBLE_VERSION:-""}" ] && die "Can't use -A with '-a'"
SKIP_ANSIBLE="YES"
;;
a)
a)
[ "${SKIP_ANSIBLE:-"no"}" == "YES" ] && die "Can't use -A with '-a'"
ANSIBLE_VERSION="${OPTARG}"
;;
Expand Down
6 changes: 4 additions & 2 deletions utils/setup_test_container.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/bash -eu
#!/usr/bin/env bash

set -eu

SCRIPTDIR="$(readlink -f "$(dirname "$0")")"

Expand Down Expand Up @@ -72,7 +74,7 @@ done
export IPA_HOSTNAME MEMORY IMAGE_TAG scenario

shift $((OPTIND - 1))
[ $# == 1 ] || die -u "You must provide the name for a single container."
[ $# == 1 ] || die -u "You must provide the name for a single container."
scenario="${1}"
shift

Expand Down
Loading