Skip to content

Commit 4b7dc97

Browse files
committed
add set commands
1 parent 8b1bad2 commit 4b7dc97

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

ci/envs/docker.env

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
# ==============================================================================
1515
# This file contains all the docker specifc envs that are needed by the
1616
# ci/utilities/run_docker_container.sh script.
17-
1817
source ci/default.env
1918
os=$(uname -s | awk '{print tolower($0)}')
2019
arch=$(uname -m)

ci/utilities/run_docker_container.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,15 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
# ==============================================================================
16-
#
1716
# Set up the Docker container and start it for JAX CI jobs.
17+
#
18+
# -e: abort script if one command fails
19+
# -u: error if undefined variable used
20+
# -x: log all commands
21+
# -o history: record shell history
22+
# -o allexport: export all functions and variables to be available to subscripts
23+
set -exu -o history -o allexport
24+
1825
source ci/envs/docker_images.env
1926

2027
# Keep the existing "jax" container if it's already present.

0 commit comments

Comments
 (0)