mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Build: stop build when a step in web UI build fails
https://fedorahosted.org/freeipa/ticket/6418 Reviewed-By: Martin Basti <mbasti@redhat.com> Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
committed by
Martin Babinsky
parent
021a52d680
commit
f95098b2b6
@@ -20,6 +20,7 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
# Build script for FreeIPA Web UI
|
||||
set -o errexit
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
|
||||
@@ -18,6 +18,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 -o errexit
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
RDIR=$DIR/../release
|
||||
@@ -139,4 +140,4 @@ pushd $DIR/../js
|
||||
git update-index --no-assume-unchanged ./dojo
|
||||
git update-index --no-assume-unchanged ./freeipa
|
||||
fi
|
||||
popd
|
||||
popd
|
||||
|
||||
@@ -18,9 +18,10 @@
|
||||
#
|
||||
# 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 -o errexit
|
||||
|
||||
# Clean after build
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
rm -rf $DIR/../release
|
||||
rm -rf $DIR/../release
|
||||
|
||||
@@ -18,6 +18,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 -o errexit
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
RDIR=$DIR/../release
|
||||
|
||||
@@ -18,6 +18,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 -o errexit
|
||||
|
||||
# Build DOJO builder, overwrites util/build/build.js. Cleans after itself.
|
||||
|
||||
@@ -47,4 +48,4 @@ $DIR/clean.sh
|
||||
|
||||
# Delete DOJO symbolic links
|
||||
rm -f $DIR/../src/dojo
|
||||
rm -f $DIR/../src/build
|
||||
rm -f $DIR/../src/build
|
||||
|
||||
@@ -18,6 +18,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 -o errexit
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
|
||||
@@ -18,6 +18,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 -o errexit
|
||||
|
||||
# Build script for Dojo library
|
||||
|
||||
@@ -35,4 +36,4 @@ if [[ $? != 0 ]] ; then
|
||||
fi
|
||||
|
||||
$DIR/compile.sh --release dojo --layer dojo/dojo --output $DIR/../build/dojo/dojo.js
|
||||
$DIR/clean.sh
|
||||
$DIR/clean.sh
|
||||
|
||||
@@ -18,6 +18,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 -o errexit
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
|
||||
@@ -18,6 +18,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 -o errexit
|
||||
|
||||
# Build script for FreeIPA Web UI
|
||||
|
||||
|
||||
@@ -18,6 +18,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 -o errexit
|
||||
|
||||
#
|
||||
# This script prepares working enviroment to use dojo toolkit.
|
||||
@@ -202,4 +203,4 @@ if [[ $UTIL = $YES ]] ; then
|
||||
fi
|
||||
fi
|
||||
|
||||
popd # $DOJO_DIR
|
||||
popd # $DOJO_DIR
|
||||
|
||||
@@ -18,6 +18,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 -o errexit
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
RDIR=$DIR/../release
|
||||
@@ -357,4 +358,4 @@ if [[ $RESTART ]] ; then
|
||||
echo "Restarting httpd: $HOST"
|
||||
ssh $HOST "systemctl restart httpd.service"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user