This repository was archived by the owner on Jan 30, 2023. It is now read-only.
Commit 595be9c 1 parent 15f3ae7 commit 595be9c Copy full SHA for 595be9c
File tree 9 files changed +16
-10
lines changed
9 files changed +16
-10
lines changed Original file line number Diff line number Diff line change 1
- #! /bin/bash
1
+ #! /bin/sh
2
2
3
3
# This script gets called from CI to build several flavours of docker images
4
4
# which contain Sage.
12
12
# (at your option) any later version.
13
13
# http://www.gnu.org/licenses/
14
14
# ****************************************************************************
15
+
15
16
set -ex
16
17
17
18
[[ -z " $DOCKER_TAG " ]] && DOCKER_TAG=none
Original file line number Diff line number Diff line change 1
- #! /bin/bash
1
+ #! /bin/sh
2
2
3
3
# This script protects all environment variables that start with "SECRET_".
4
4
# It puts them in a temporary file. The name of the variable contains the path
Original file line number Diff line number Diff line change 1
- #! /bin/bash
1
+ #! /bin/sh
2
2
3
3
# This script gets called from CI to pull the Sage docker images that were
4
4
# built during the "build" phase to pull all the connected docker daemon
Original file line number Diff line number Diff line change 1
- #! /bin/bash
1
+ #! /bin/sh
2
2
3
3
# This script gets called from CI to push our docker images to
4
4
# $DOCKER_USER/sagemath* on the Docker Hub.
Original file line number Diff line number Diff line change 1
- #! /bin/bash
2
- set -ex
1
+ #! /bin/sh
3
2
4
3
# This script gets called from CI to push our docker images to registry
5
4
# configured in GitLab. (Mostly, so we can pull them again to push them to the
@@ -17,6 +16,8 @@ set -ex
17
16
# http://www.gnu.org/licenses/
18
17
# ****************************************************************************
19
18
19
+ set -ex
20
+
20
21
[[ -z " $DOCKER_TAG " ]] && (echo " Can not push untagged build." ; exit 0)
21
22
[[ " $DOCKER_TAG " = " master" ]] && DOCKER_TAG=latest
22
23
Original file line number Diff line number Diff line change 1
- #! /bin/bash
1
+ #! /bin/sh
2
2
3
3
# ****************************************************************************
4
4
# Copyright (C) 2018 Julian Rüth <[email protected] >
9
9
# (at your option) any later version.
10
10
# http://www.gnu.org/licenses/
11
11
# ****************************************************************************
12
+
12
13
set -ex
13
14
14
15
# Determine the number of threads that can run simultaneously on this system
Original file line number Diff line number Diff line change 1
- #! /bin/bash
1
+ #! /bin/sh
2
2
3
3
# This script gets called from CI to run minimal tests on the sagemath image.
4
4
13
13
# (at your option) any later version.
14
14
# http://www.gnu.org/licenses/
15
15
# ****************************************************************************
16
+
16
17
set -exo pipefail
17
18
18
19
echo " Checking that Sage starts and can calculate 1+1…"
Original file line number Diff line number Diff line change 1
- #! /bin/bash
1
+ #! /bin/sh
2
2
3
3
# This script gets called from CI to run minimal tests on the sagemath-dev image.
4
4
# This script expects a single argument, the full name of the docker image to
13
13
# (at your option) any later version.
14
14
# http://www.gnu.org/licenses/
15
15
# ****************************************************************************
16
+
16
17
set -exo pipefail
17
18
18
19
IMAGE=" $1 "
Original file line number Diff line number Diff line change 1
- #! /bin/bash
1
+ #! /bin/sh
2
2
3
3
# This script gets called from CI to run minimal tests on the sagemath-jupyter
4
4
# image.
14
14
# (at your option) any later version.
15
15
# http://www.gnu.org/licenses/
16
16
# ****************************************************************************
17
+
17
18
set -ex
18
19
19
20
docker run --name sage-jupyter -p 8888:8888 -d " $1 " " sage -n jupyter --no-browser --ip='*' --port=8888"
You can’t perform that action at this time.
0 commit comments