Files
kata-containers/.ci/run.sh
Jose Carlos Venegas Munoz 2590f2b91e format: use shfmt to format sh files.
Use shfmt to format all the sh file.

https://github.com/mvdan/sh

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2018-08-16 16:45:35 -05:00

22 lines
340 B
Bash
Executable File

#!/bin/bash
#
# Copyright (c) 2017-2018 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
set -o errexit
set -o nounset
set -o pipefail
cidir=$(dirname "$0")
source "${cidir}/lib.sh"
source /etc/os-release
# This script will execute packaging tests suite
if [ "$ID" == ubuntu ]; then
echo "Building snap image"
make snap
fi