File tree Expand file tree Collapse file tree 3 files changed +32
-18
lines changed Expand file tree Collapse file tree 3 files changed +32
-18
lines changed Original file line number Diff line number Diff line change 3
3
set -e
4
4
set -u
5
5
6
+ CI=" ${CI:- true} "
6
7
if [ $# -eq 0 ]; then
7
8
tag_to_use=" ci-test-main"
8
9
else
25
26
docker buildx create --name container --driver=docker-container
26
27
27
28
pushd JeMPI_AsyncReceiver
28
- CI=true TAG=$tag_to_use ./build.sh || exit 1
29
+ CI=$CI TAG=$tag_to_use ./build.sh || exit 1
29
30
popd
30
31
pushd JeMPI_ETL
31
- CI=true TAG=$tag_to_use ./build.sh || exit 1
32
+ CI=$CI TAG=$tag_to_use ./build.sh || exit 1
32
33
popd
33
34
pushd JeMPI_Controller
34
- CI=true TAG=$tag_to_use ./build.sh || exit 1
35
+ CI=$CI TAG=$tag_to_use ./build.sh || exit 1
35
36
popd
36
37
pushd JeMPI_EM_Scala
37
- CI=true TAG=$tag_to_use ./build.sh || exit 1
38
+ CI=$CI TAG=$tag_to_use ./build.sh || exit 1
38
39
popd
39
40
pushd JeMPI_Linker
40
- CI=true TAG=$tag_to_use ./build.sh || exit 1
41
+ CI=$CI TAG=$tag_to_use ./build.sh || exit 1
41
42
popd
42
43
pushd JeMPI_API
43
- CI=true TAG=$tag_to_use ./build.sh || exit 1
44
+ CI=$CI TAG=$tag_to_use ./build.sh || exit 1
44
45
popd
45
46
pushd JeMPI_API_KC
46
- CI=true TAG=$tag_to_use ./build.sh || exit 1
47
+ CI=$CI TAG=$tag_to_use ./build.sh || exit 1
47
48
popd
48
49
pushd JeMPI_Bootstrapper
49
- CI=true TAG=$tag_to_use ./build.sh || exit 1
50
+ CI=$CI TAG=$tag_to_use ./build.sh || exit 1
50
51
popd
51
52
pushd JeMPI_UI
52
- CI=true TAG=$tag_to_use ./build-image.sh || exit 1
53
+ CI=$CI TAG=$tag_to_use ./build-image.sh || exit 1
53
54
popd
Original file line number Diff line number Diff line change 6
6
cp -L -f ./JeMPI_Configuration/config-api.json ./JeMPI_API/src/main/resources/config-api.json
7
7
cp -L -f ./JeMPI_Configuration/config-api.json ./JeMPI_API_KC/src/main/resources/config-api.json
8
8
9
+ CI=" ${CI:- false} "
10
+ if [ $# -eq 0 ]; then
11
+ tag_to_use=" ci-test-main"
12
+ else
13
+ tag_to_use=$1
14
+ fi
9
15
mvn clean package
10
16
pushd JeMPI_EM_Scala
11
17
sbt clean assembly
12
18
popd
13
19
14
20
pushd JeMPI_AsyncReceiver
15
- ./build.sh || exit 1
21
+ CI= $CI TAG= $tag_to_use ./build.sh || exit 1
16
22
popd
17
23
pushd JeMPI_ETL
18
- ./build.sh || exit 1
24
+ CI= $CI TAG= $tag_to_use ./build.sh || exit 1
19
25
popd
20
26
pushd JeMPI_Controller
21
- ./build.sh || exit 1
27
+ CI= $CI TAG= $tag_to_use ./build.sh || exit 1
22
28
popd
23
29
pushd JeMPI_EM_Scala
24
- ./build.sh || exit 1
30
+ CI= $CI TAG= $tag_to_use ./build.sh || exit 1
25
31
popd
26
32
pushd JeMPI_Linker
27
- ./build.sh || exit 1
33
+ CI= $CI TAG= $tag_to_use ./build.sh || exit 1
28
34
popd
29
35
pushd JeMPI_API
30
- ./build.sh || exit 1
36
+ CI= $CI TAG= $tag_to_use ./build.sh || exit 1
31
37
popd
32
38
pushd JeMPI_API_KC
33
- ./build.sh || exit 1
39
+ CI= $CI TAG= $tag_to_use ./build.sh || exit 1
34
40
popd
35
41
pushd JeMPI_Bootstrapper
36
- ./build.sh || exit 1
42
+ CI= $CI TAG= $tag_to_use ./build.sh || exit 1
37
43
popd
38
44
pushd JeMPI_AsyncReceiver
39
45
./push.sh
Original file line number Diff line number Diff line change 3
3
set -e
4
4
set -u
5
5
6
+ CI=" ${CI:- false} "
7
+ if [ $# -eq 0 ]; then
8
+ tag_to_use=" ci-test-main"
9
+ else
10
+ tag_to_use=$1
11
+ fi
12
+
6
13
pushd JeMPI_UI
7
- ./build-image.sh || exit 1
14
+ CI= $CI TAG= $tag_to_use ./build-image.sh || exit 1
8
15
popd
9
16
10
17
pushd JeMPI_UI
You can’t perform that action at this time.
0 commit comments