forked from akhikhl/gretty
-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathdocker_integration_tests.sh
71 lines (62 loc) · 2.18 KB
/
docker_integration_tests.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#!/usr/bin/env bash
set -e
export common_gradle_args="--console=plain --no-daemon -Porg.gradle.java.installations.auto-download=false -PgeckoDriverPlatform=linux64"
#ci.yml plugin build step
./docker_gradlew.sh \
--java 11 \
--gradle 7 \
--gradle-home .docker-gradle \
$common_gradle_args \
publishToPrivateRepo
#ci.yml matrix case #1
./docker_gradlew.sh \
--java 11 \
--gradle 7 \
--gradle-home .docker-gradle \
--working-dir integrationTests \
$common_gradle_args \
testAll
#ci.yml matrix case #2
./docker_gradlew.sh \
--java 17 \
--gradle 7 \
--gradle-home .docker-gradle \
--working-dir integrationTests \
$common_gradle_args \
testAll
#ci.yml matrix case #3
./docker_gradlew.sh \
--java 17 \
--gradle 8 \
--gradle-home .docker-gradle \
--working-dir integrationTests \
$common_gradle_args \
testAll
# a set of tests with java toolchain:
#ci.yml matrix case #1 + toolchain java v17
./docker_gradlew.sh \
--java 17 --java 11 \
--gradle 7 \
--gradle-home .docker-gradle \
--working-dir integrationTests \
$common_gradle_args \
-PtoolchainJavaVersion=17 \
testAllJavaToolchain
#ci.yml matrix case #2 + toolchain java v21
./docker_gradlew.sh \
--java 21 --java 17 \
--gradle 7 \
--gradle-home .docker-gradle \
--working-dir integrationTests \
$common_gradle_args \
-PtoolchainJavaVersion=21 \
testAllJavaToolchain
#ci.yml matrix case #3 + toolchain java v21
./docker_gradlew.sh \
--java 21 --java 17 \
--gradle 8 \
--gradle-home .docker-gradle \
--working-dir integrationTests \
$common_gradle_args \
-PtoolchainJavaVersion=21 \
testAllJavaToolchain